cxf-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Alexandros Karypidis <akary...@yahoo.gr>
Subject Re: New volunteer needs help setting up
Date Mon, 09 Nov 2009 14:42:08 GMT
Hi Benson,

It is a test case in my test project.

The src/main/java contains the JAX-WS service from 
http://cxf.apache.org/docs/a-simple-jax-ws-service.html

The src/test/java contains a junit test I wrote that:

1) Publishes the service in a @Before as described in 
http://cxf.apache.org/docs/a-simple-jax-ws-service.html#AsimpleJAX-WSservice-Publishingyourservice
2) Accesses the service in a @Test as described in 
http://cxf.apache.org/docs/a-simple-jax-ws-service.html#AsimpleJAX-WSservice-Accessingyourservice

I do not create a Bus myself and there is no "cxf-beans.xml" that I 
wrote for Spring.

Benson Margulies wrote:
> DId you make your own project for this test case, or is this a test case
> added to an existing project? It sounds like you are missing a Spring
> 'import' statement for the transport. Do you have a Spring config?
>
>
> On Mon, Nov 9, 2009 at 5:25 AM, Alexandros Karypidis <akarypid@yahoo.gr>wrote:
>
>   
>> Hi,
>>
>> I'd like to contribute to CXF. I'm in the process of setting up my working
>> environment and I need some help / guidance. My status is:
>>
>> - checked out and built CXF trunk using Sun JDK 1.6.0_16 and maven 2.0.9
>> - installed latest Eclipse, PMD and Checkstyle
>> - created a workspace with -Psetup.eclipse and imported CXF modules into it
>> - configured "eclipse.workspace[.dir]" in my active profile so that mvn
>> eclipse:eclipse links new projects against the CXF modules in my eclipse
>> project
>> - created a new test project referencing the jax-ws frontend module in my
>> workspace
>> - modified org.apache.cxf.jaxws.JaxWsServerFactoryBean to print some silly
>> messages
>> - ran my test project to see the silly messages and verify I'm ready to go
>>
>> So, being able to modify the trunk in my workspace and run projects that
>> link against the modified version means I'm ready to go.
>>
>> However, I noticed one irritiating kludge: when I run "mvn test" for my
>> project at the command line, the junit test I've written fails to run.
>>
>> The underlying reason is that the SOAP/HTTP transport seems to be missing.
>> Caused by: org.apache.cxf.BusException: No DestinationFactory was found for
>> the namespace http://schemas.xmlsoap.org/soap/http.
>> at
>> org.apache.cxf.transport.DestinationFactoryManagerImpl.getDestinationFactory(DestinationFactoryManagerImpl.java:127)
>>
>> I do not know why this would happen as:
>>
>> 1) I have a dependency to cxf-rt-transports-http, cxf-rt-bindings-http and
>> cxf-rt-bindings-soap in my project's pom.xml
>> 2) The same test runs fine within eclipse with "Run As -> JUnit Test"
>>
>> Any help would be appreciated.
>>
>> The surefire report is:
>>
>> <?xml version="1.0" encoding="UTF-8" ?>
>> <testsuite failures="0" time="1.328" errors="1" skipped="0" tests="1"
>> name="test.HelloWorldTest">
>> <properties>
>> <property name="java.runtime.name" value="Java(TM) SE Runtime
>> Environment"/>
>> <property name="sun.boot.library.path"
>> value="D:\cxf-dev\runtime\jdk1.6.0_16\jre\bin"/>
>> <property name="java.vm.version" value="14.2-b01"/>
>> <property name="java.vm.vendor" value="Sun Microsystems Inc."/>
>> <property name="java.vendor.url" value="http://java.sun.com/"/>
>> <property name="path.separator" value=";"/>
>> <property name="java.vm.name" value="Java HotSpot(TM) Client VM"/>
>> <property name="file.encoding.pkg" value="sun.io"/>
>> <property name="user.country" value="GR"/>
>> <property name="sun.java.launcher" value="SUN_STANDARD"/>
>> <property name="sun.os.patch.level" value="Service Pack 3, v.3093"/>
>> <property name="java.vm.specification.name" value="Java Virtual Machine
>> Specification"/>
>> <property name="user.dir"
>> value="D:\cxf-dev\projects\akarypid\test-jaxws-webapp"/>
>> <property name="java.runtime.version" value="1.6.0_16-b01"/>
>> <property name="java.awt.graphicsenv"
>> value="sun.awt.Win32GraphicsEnvironment"/>
>> <property name="basedir"
>> value="D:\cxf-dev\projects\akarypid\test-jaxws-webapp"/>
>> <property name="java.endorsed.dirs"
>> value="D:\cxf-dev\runtime\jdk1.6.0_16\jre\lib\endorsed"/>
>> <property name="os.arch" value="x86"/>
>> <property name="surefire.real.class.path"
>> value="C:\DOCUME~1\ALEXAN~1.KAR\LOCALS~1\Temp\surefirebooter502591240075183015.jar"/>
>> <property name="java.io.tmpdir"
>> value="C:\DOCUME~1\ALEXAN~1.KAR\LOCALS~1\Temp\"/>
>> <property name="line.separator" value="
>> "/>
>> <property name="java.vm.specification.vendor" value="Sun Microsystems
>> Inc."/>
>> <property name="user.variant" value=""/>
>> <property name="os.name" value="Windows XP"/>
>> <property name="sun.jnu.encoding" value="Cp1253"/>
>> <property name="java.library.path"
>> value="D:\cxf-dev\runtime\jdk1.6.0_16\jre\bin;.;C:\WINDOWS\Sun\Java\bin;C:\WINDOWS\system32;C:\WINDOWS;D:\cxf-dev\bin;D:\cxf-dev\runtime\jdk1.6.0_16\bin;D:\cxf-dev\tools\apache-maven-2.2.1\bin;D:\cxf-dev\tools\eclipse\plugins\org.apache.ant_1.7.1.v20090120-1145\bin;D:\cxf-dev\tools\svn;D:\eessi\cn\devRuntime\oraxe\app\oracle\product\10.2.0\server\bin;C:\WINDOWS\system32;C:\WINDOWS;C:\WINDOWS\System32\Wbem;D:\Programs\bin;C:\Program
>> Files\GTK2-Runtime\lib;D:\Programs\WinSCP\;D:\Programs\IBM\RationalSDLC\common;C:\Program
>> Files\Common Files\DivX Shared\;C:\Program Files\TortoiseSVN\bin;C:\Program
>> Files\OpenVPN\bin"/>
>> <property name="surefire.test.class.path"
>> value="D:\cxf-dev\projects\akarypid\test-jaxws-webapp\target\test-classes;D:\cxf-dev\projects\akarypid\test-jaxws-webapp\target\classes;d:\cxf-dev\mvn-repos\junit\junit\4.7\junit-4.7.jar;d:\cxf-dev\mvn-repos\org\apache\cxf\cxf-api\2.3.0-SNAPSHOT\cxf-api-2.3.0-SNAPSHOT.jar;d:\cxf-dev\mvn-repos\org\apache\geronimo\specs\geronimo-activation_1.1_spec\1.0.2\geronimo-activation_1.1_spec-1.0.2.jar;d:\cxf-dev\mvn-repos\org\apache\cxf\cxf-common-utilities\2.3.0-SNAPSHOT\cxf-common-utilities-2.3.0-SNAPSHOT.jar;d:\cxf-dev\mvn-repos\org\springframework\spring-core\2.5.5\spring-core-2.5.5.jar;d:\cxf-dev\mvn-repos\commons-logging\commons-logging\1.1.1\commons-logging-1.1.1.jar;d:\cxf-dev\mvn-repos\org\springframework\spring-beans\2.5.5\spring-beans-2.5.5.jar;d:\cxf-dev\mvn-repos\org\springframework\spring-context\2.5.5\spring-context-2.5.5.jar;d:\cxf-dev\mvn-repos\aopalliance\aopalliance\1.0\aopalliance-1.0.jar;d:\cxf-dev\mvn-repos\org\apache\geronimo\specs\geronimo-annotation_1.0_spec\1.1.1\geronimo-annotation_1.0_spec-1.1.1.jar;d:\cxf-dev\mvn-repos\javax\xml\bind\jaxb-api\2.1\jaxb-api-2.1.jar;d:\cxf-dev\mvn-repos\org\apache\geronimo\specs\geronimo-stax-api_1.0_spec\1.0.1\geronimo-stax-api_1.0_spec-1.0.1.jar;d:\cxf-dev\mvn-repos\wsdl4j\wsdl4j\1.6.2\wsdl4j-1.6.2.jar;d:\cxf-dev\mvn-repos\org\apache\ws\commons\schema\XmlSchema\1.4.5\XmlSchema-1.4.5.jar;d:\cxf-dev\mvn-repos\commons-lang\commons-lang\2.4\commons-lang-2.4.jar;d:\cxf-dev\mvn-repos\org\codehaus\woodstox\woodstox-core-asl\4.0.5\woodstox-core-asl-4.0.5.jar;d:\cxf-dev\mvn-repos\org\codehaus\woodstox\stax2-api\3.0.1\stax2-api-3.0.1.jar;d:\cxf-dev\mvn-repos\org\apache\neethi\neethi\2.0.4\neethi-2.0.4.jar;d:\cxf-dev\mvn-repos\org\apache\cxf\cxf-common-schemas\2.3.0-SNAPSHOT\cxf-common-schemas-2.3.0-SNAPSHOT.jar;d:\cxf-dev\mvn-repos\org\apache\cxf\cxf-rt-bindings-http\2.3.0-SNAPSHOT\cxf-rt-bindings-http-2.3.0-SNAPSHOT.jar;d:\cxf-dev\mvn-repos\org\codehaus\jra\jra\1.0-alpha-4\jra-1.0-alpha-4.jar;d:\cxf-dev\mvn-repos\org\apache\cxf\cxf-rt-bindings-xml\2.3.0-SNAPSHOT\cxf-rt-bindings-xml-2.3.0-SNAPSHOT.jar;d:\cxf-dev\mvn-repos\org\apache\cxf\cxf-rt-databinding-jaxb\2.3.0-SNAPSHOT\cxf-rt-databinding-jaxb-2.3.0-SNAPSHOT.jar;d:\cxf-dev\mvn-repos\org\apache\cxf\cxf-rt-core\2.3.0-SNAPSHOT\cxf-rt-core-2.3.0-SNAPSHOT.jar;d:\cxf-dev\mvn-repos\com\sun\xml\bind\jaxb-impl\2.1.12\jaxb-impl-2.1.12.jar;d:\cxf-dev\mvn-repos\org\apache\geronimo\specs\geronimo-javamail_1.4_spec\1.6\geronimo-javamail_1.4_spec-1.6.jar;d:\cxf-dev\mvn-repos\com\sun\xml\bind\jaxb-xjc\2.1.12\jaxb-xjc-2.1.12.jar;d:\cxf-dev\mvn-repos\org\apache\cxf\cxf-rt-transports-http\2.3.0-SNAPSHOT\cxf-rt-transports-http-2.3.0-SNAPSHOT.jar;d:\cxf-dev\mvn-repos\org\springframework\spring-web\2.5.5\spring-web-2.5.5.jar;d:\cxf-dev\mvn-repos\org\apache\cxf\cxf-rt-frontend-jaxws\2.3.0-SNAPSHOT\cxf-rt-frontend-jaxws-2.3.0-SNAPSHOT.jar;d:\cxf-dev\mvn-repos\xml-resolver\xml-resolver\1.2\xml-resolver-1.2.jar;d:\cxf-dev\mvn-repos\org\apache\geronimo\specs\geronimo-jaxws_2.1_spec\1.0\geronimo-jaxws_2.1_spec-1.0.jar;d:\cxf-dev\mvn-repos\org\apache\geronimo\specs\geronimo-ws-metadata_2.0_spec\1.1.2\geronimo-ws-metadata_2.0_spec-1.1.2.jar;d:\cxf-dev\mvn-repos\asm\asm\2.2.3\asm-2.2.3.jar;d:\cxf-dev\mvn-repos\org\apache\cxf\cxf-rt-bindings-soap\2.3.0-SNAPSHOT\cxf-rt-bindings-soap-2.3.0-SNAPSHOT.jar;d:\cxf-dev\mvn-repos\org\apache\cxf\cxf-tools-common\2.3.0-SNAPSHOT\cxf-tools-common-2.3.0-SNAPSHOT.jar;d:\cxf-dev\mvn-repos\javax\xml\soap\saaj-api\1.3\saaj-api-1.3.jar;d:\cxf-dev\mvn-repos\org\apache\mina\mina-core\2.0.0-M6\mina-core-2.0.0-M6.jar;d:\cxf-dev\mvn-repos\org\slf4j\slf4j-api\1.5.2\slf4j-api-1.5.2.jar;d:\cxf-dev\mvn-repos\org\apache\cxf\cxf-rt-frontend-simple\2.3.0-SNAPSHOT\cxf-rt-frontend-simple-2.3.0-SNAPSHOT.jar;d:\cxf-dev\mvn-repos\org\apache\cxf\cxf-rt-ws-addr\2.3.0-SNAPSHOT\cxf-rt-ws-addr-2.3.0-SNAPSHOT.jar;d:\cxf-dev\mvn-repos\com\sun\xml\messaging\saaj\saaj-impl\1.3.2\saaj-impl-1.3.2.jar;d:\cxf-dev\mvn-repos\org\apache\velocity\velocity\1.6.2\velocity-1.6.2.jar;d:\cxf-dev\mvn-repos\commons-collections\commons-collections\3.2.1\commons-collections-3.2.1.jar;d:\cxf-dev\mvn-repos\oro\oro\2.0.8\oro-2.0.8.jar;"/>
>> <property name="java.specification.name" value="Java Platform API
>> Specification"/>
>> <property name="java.class.version" value="50.0"/>
>> <property name="sun.management.compiler" value="HotSpot Client Compiler"/>
>> <property name="os.version" value="5.1"/>
>> <property name="user.home" value="D:"/>
>> <property name="user.timezone" value="Europe/Athens"/>
>> <property name="java.awt.printerjob" value="sun.awt.windows.WPrinterJob"/>
>> <property name="java.specification.version" value="1.6"/>
>> <property name="file.encoding" value="Cp1253"/>
>> <property name="user.name" value="alexandros.karypidis"/>
>> <property name="java.class.path"
>> value="D:\cxf-dev\projects\akarypid\test-jaxws-webapp\target\test-classes;D:\cxf-dev\projects\akarypid\test-jaxws-webapp\target\classes;d:\cxf-dev\mvn-repos\junit\junit\4.7\junit-4.7.jar;d:\cxf-dev\mvn-repos\org\apache\cxf\cxf-api\2.3.0-SNAPSHOT\cxf-api-2.3.0-SNAPSHOT.jar;d:\cxf-dev\mvn-repos\org\apache\geronimo\specs\geronimo-activation_1.1_spec\1.0.2\geronimo-activation_1.1_spec-1.0.2.jar;d:\cxf-dev\mvn-repos\org\apache\cxf\cxf-common-utilities\2.3.0-SNAPSHOT\cxf-common-utilities-2.3.0-SNAPSHOT.jar;d:\cxf-dev\mvn-repos\org\springframework\spring-core\2.5.5\spring-core-2.5.5.jar;d:\cxf-dev\mvn-repos\commons-logging\commons-logging\1.1.1\commons-logging-1.1.1.jar;d:\cxf-dev\mvn-repos\org\springframework\spring-beans\2.5.5\spring-beans-2.5.5.jar;d:\cxf-dev\mvn-repos\org\springframework\spring-context\2.5.5\spring-context-2.5.5.jar;d:\cxf-dev\mvn-repos\aopalliance\aopalliance\1.0\aopalliance-1.0.jar;d:\cxf-dev\mvn-repos\org\apache\geronimo\specs\geronimo-annotation_1.0_spec\1.1.1\geronimo-annotation_1.0_spec-1.1.1.jar;d:\cxf-dev\mvn-repos\javax\xml\bind\jaxb-api\2.1\jaxb-api-2.1.jar;d:\cxf-dev\mvn-repos\org\apache\geronimo\specs\geronimo-stax-api_1.0_spec\1.0.1\geronimo-stax-api_1.0_spec-1.0.1.jar;d:\cxf-dev\mvn-repos\wsdl4j\wsdl4j\1.6.2\wsdl4j-1.6.2.jar;d:\cxf-dev\mvn-repos\org\apache\ws\commons\schema\XmlSchema\1.4.5\XmlSchema-1.4.5.jar;d:\cxf-dev\mvn-repos\commons-lang\commons-lang\2.4\commons-lang-2.4.jar;d:\cxf-dev\mvn-repos\org\codehaus\woodstox\woodstox-core-asl\4.0.5\woodstox-core-asl-4.0.5.jar;d:\cxf-dev\mvn-repos\org\codehaus\woodstox\stax2-api\3.0.1\stax2-api-3.0.1.jar;d:\cxf-dev\mvn-repos\org\apache\neethi\neethi\2.0.4\neethi-2.0.4.jar;d:\cxf-dev\mvn-repos\org\apache\cxf\cxf-common-schemas\2.3.0-SNAPSHOT\cxf-common-schemas-2.3.0-SNAPSHOT.jar;d:\cxf-dev\mvn-repos\org\apache\cxf\cxf-rt-bindings-http\2.3.0-SNAPSHOT\cxf-rt-bindings-http-2.3.0-SNAPSHOT.jar;d:\cxf-dev\mvn-repos\org\codehaus\jra\jra\1.0-alpha-4\jra-1.0-alpha-4.jar;d:\cxf-dev\mvn-repos\org\apache\cxf\cxf-rt-bindings-xml\2.3.0-SNAPSHOT\cxf-rt-bindings-xml-2.3.0-SNAPSHOT.jar;d:\cxf-dev\mvn-repos\org\apache\cxf\cxf-rt-databinding-jaxb\2.3.0-SNAPSHOT\cxf-rt-databinding-jaxb-2.3.0-SNAPSHOT.jar;d:\cxf-dev\mvn-repos\org\apache\cxf\cxf-rt-core\2.3.0-SNAPSHOT\cxf-rt-core-2.3.0-SNAPSHOT.jar;d:\cxf-dev\mvn-repos\com\sun\xml\bind\jaxb-impl\2.1.12\jaxb-impl-2.1.12.jar;d:\cxf-dev\mvn-repos\org\apache\geronimo\specs\geronimo-javamail_1.4_spec\1.6\geronimo-javamail_1.4_spec-1.6.jar;d:\cxf-dev\mvn-repos\com\sun\xml\bind\jaxb-xjc\2.1.12\jaxb-xjc-2.1.12.jar;d:\cxf-dev\mvn-repos\org\apache\cxf\cxf-rt-transports-http\2.3.0-SNAPSHOT\cxf-rt-transports-http-2.3.0-SNAPSHOT.jar;d:\cxf-dev\mvn-repos\org\springframework\spring-web\2.5.5\spring-web-2.5.5.jar;d:\cxf-dev\mvn-repos\org\apache\cxf\cxf-rt-frontend-jaxws\2.3.0-SNAPSHOT\cxf-rt-frontend-jaxws-2.3.0-SNAPSHOT.jar;d:\cxf-dev\mvn-repos\xml-resolver\xml-resolver\1.2\xml-resolver-1.2.jar;d:\cxf-dev\mvn-repos\org\apache\geronimo\specs\geronimo-jaxws_2.1_spec\1.0\geronimo-jaxws_2.1_spec-1.0.jar;d:\cxf-dev\mvn-repos\org\apache\geronimo\specs\geronimo-ws-metadata_2.0_spec\1.1.2\geronimo-ws-metadata_2.0_spec-1.1.2.jar;d:\cxf-dev\mvn-repos\asm\asm\2.2.3\asm-2.2.3.jar;d:\cxf-dev\mvn-repos\org\apache\cxf\cxf-rt-bindings-soap\2.3.0-SNAPSHOT\cxf-rt-bindings-soap-2.3.0-SNAPSHOT.jar;d:\cxf-dev\mvn-repos\org\apache\cxf\cxf-tools-common\2.3.0-SNAPSHOT\cxf-tools-common-2.3.0-SNAPSHOT.jar;d:\cxf-dev\mvn-repos\javax\xml\soap\saaj-api\1.3\saaj-api-1.3.jar;d:\cxf-dev\mvn-repos\org\apache\mina\mina-core\2.0.0-M6\mina-core-2.0.0-M6.jar;d:\cxf-dev\mvn-repos\org\slf4j\slf4j-api\1.5.2\slf4j-api-1.5.2.jar;d:\cxf-dev\mvn-repos\org\apache\cxf\cxf-rt-frontend-simple\2.3.0-SNAPSHOT\cxf-rt-frontend-simple-2.3.0-SNAPSHOT.jar;d:\cxf-dev\mvn-repos\org\apache\cxf\cxf-rt-ws-addr\2.3.0-SNAPSHOT\cxf-rt-ws-addr-2.3.0-SNAPSHOT.jar;d:\cxf-dev\mvn-repos\com\sun\xml\messaging\saaj\saaj-impl\1.3.2\saaj-impl-1.3.2.jar;d:\cxf-dev\mvn-repos\org\apache\velocity\velocity\1.6.2\velocity-1.6.2.jar;d:\cxf-dev\mvn-repos\commons-collections\commons-collections\3.2.1\commons-collections-3.2.1.jar;d:\cxf-dev\mvn-repos\oro\oro\2.0.8\oro-2.0.8.jar;"/>
>> <property name="java.vm.specification.version" value="1.0"/>
>> <property name="sun.arch.data.model" value="32"/>
>> <property name="java.home" value="D:\cxf-dev\runtime\jdk1.6.0_16\jre"/>
>> <property name="java.specification.vendor" value="Sun Microsystems Inc."/>
>> <property name="user.language" value="el"/>
>> <property name="awt.toolkit" value="sun.awt.windows.WToolkit"/>
>> <property name="java.vm.info" value="mixed mode"/>
>> <property name="java.version" value="1.6.0_16"/>
>> <property name="java.ext.dirs"
>> value="D:\cxf-dev\runtime\jdk1.6.0_16\jre\lib\ext;C:\WINDOWS\Sun\Java\lib\ext"/>
>> <property name="sun.boot.class.path"
>> value="D:\cxf-dev\runtime\jdk1.6.0_16\jre\lib\resources.jar;D:\cxf-dev\runtime\jdk1.6.0_16\jre\lib\rt.jar;D:\cxf-dev\runtime\jdk1.6.0_16\jre\lib\sunrsasign.jar;D:\cxf-dev\runtime\jdk1.6.0_16\jre\lib\jsse.jar;D:\cxf-dev\runtime\jdk1.6.0_16\jre\lib\jce.jar;D:\cxf-dev\runtime\jdk1.6.0_16\jre\lib\charsets.jar;D:\cxf-dev\runtime\jdk1.6.0_16\jre\classes"/>
>> <property name="java.vendor" value="Sun Microsystems Inc."/>
>> <property name="localRepository" value="d:\cxf-dev\mvn-repos"/>
>> <property name="file.separator" value="\"/>
>> <property name="java.vendor.url.bug" value="
>> http://java.sun.com/cgi-bin/bugreport.cgi"/>
>> <property name="sun.cpu.endian" value="little"/>
>> <property name="sun.io.unicode.encoding" value="UnicodeLittle"/>
>> <property name="sun.desktop" value="windows"/>
>> <property name="sun.cpu.isalist" value="pentium_pro+mmx pentium_pro
>> pentium+mmx pentium i486 i386 i86"/>
>> </properties>
>> <testcase time="1.297" classname="test.HelloWorldTest" name="callHello">
>> <error
>> type="org.apache.cxf.service.factory.ServiceConstructionException">org.apache.cxf.service.factory.ServiceConstructionException
>> at
>> org.apache.cxf.frontend.ServerFactoryBean.create(ServerFactoryBean.java:126)
>> at
>> org.apache.cxf.jaxws.JaxWsServerFactoryBean.create(JaxWsServerFactoryBean.java:171)
>> at test.HelloWorldTest.prepareTest(HelloWorldTest.java:27)
>> at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
>> at
>> sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
>> at
>> sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
>> at java.lang.reflect.Method.invoke(Method.java:597)
>> at
>> org.junit.runners.model.FrameworkMethod$1.runReflectiveCall(FrameworkMethod.java:44)
>> at
>> org.junit.internal.runners.model.ReflectiveCallable.run(ReflectiveCallable.java:15)
>> at
>> org.junit.runners.model.FrameworkMethod.invokeExplosively(FrameworkMethod.java:41)
>> at
>> org.junit.internal.runners.statements.RunBefores.evaluate(RunBefores.java:27)
>> at
>> org.junit.runners.BlockJUnit4ClassRunner.runChild(BlockJUnit4ClassRunner.java:76)
>> at
>> org.junit.runners.BlockJUnit4ClassRunner.runChild(BlockJUnit4ClassRunner.java:50)
>> at org.junit.runners.ParentRunner$3.run(ParentRunner.java:193)
>> at org.junit.runners.ParentRunner$1.schedule(ParentRunner.java:52)
>> at org.junit.runners.ParentRunner.runChildren(ParentRunner.java:191)
>> at org.junit.runners.ParentRunner.access$000(ParentRunner.java:42)
>> at org.junit.runners.ParentRunner$2.evaluate(ParentRunner.java:184)
>> at org.junit.runners.ParentRunner.run(ParentRunner.java:236)
>> at
>> org.apache.maven.surefire.junit4.JUnit4TestSet.execute(JUnit4TestSet.java:62)
>> at
>> org.apache.maven.surefire.suite.AbstractDirectoryTestSuite.executeTestSet(AbstractDirectoryTestSuite.java:140)
>> at
>> org.apache.maven.surefire.suite.AbstractDirectoryTestSuite.execute(AbstractDirectoryTestSuite.java:127)
>> at org.apache.maven.surefire.Surefire.run(Surefire.java:177)
>> at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
>> at
>> sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
>> at
>> sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
>> at java.lang.reflect.Method.invoke(Method.java:597)
>> at
>> org.apache.maven.surefire.booter.SurefireBooter.runSuitesInProcess(SurefireBooter.java:345)
>> at
>> org.apache.maven.surefire.booter.SurefireBooter.main(SurefireBooter.java:1009)
>> Caused by: org.apache.cxf.BusException: No DestinationFactory was found for
>> the namespace http://schemas.xmlsoap.org/soap/http.
>> at
>> org.apache.cxf.transport.DestinationFactoryManagerImpl.getDestinationFactory(DestinationFactoryManagerImpl.java:127)
>> at org.apache.cxf.endpoint.ServerImpl.initDestination(ServerImpl.java:85)
>> at org.apache.cxf.endpoint.ServerImpl.&lt;init&gt;(ServerImpl.java:69)
>> at
>> org.apache.cxf.frontend.ServerFactoryBean.create(ServerFactoryBean.java:110)
>> ... 28 more
>> </error>
>> <system-err>9 Νοε 2009 11:48:03 πμ
>> org.springframework.context.support.AbstractApplicationContext
>> prepareRefresh
>> INFO: Refreshing org.apache.cxf.bus.spring.BusApplicationContext@1a99561:
>> display name [org.apache.cxf.bus.spring.BusApplicationContext@1a99561];
>> startup date [Mon Nov 09 11:48:03 EET 2009]; root of context hierarchy
>> 9 Νοε 2009 11:48:03 πμ
>> org.springframework.beans.factory.xml.XmlBeanDefinitionReader
>> loadBeanDefinitions
>> INFO: Loading XML bean definitions from class path resource
>> [META-INF/cxf/cxf.xml]
>> 9 Νοε 2009 11:48:03 πμ
>> org.springframework.beans.factory.xml.XmlBeanDefinitionReader
>> loadBeanDefinitions
>> INFO: Loading XML bean definitions from class path resource
>> [META-INF/cxf/cxf-extension-http-binding.xml]
>> 9 Νοε 2009 11:48:03 πμ
>> org.springframework.beans.factory.xml.XmlBeanDefinitionReader
>> loadBeanDefinitions
>> INFO: Loading XML bean definitions from class path resource
>> [META-INF/cxf/cxf-extension-xml.xml]
>> 9 Νοε 2009 11:48:03 πμ
>> org.springframework.beans.factory.xml.XmlBeanDefinitionReader
>> loadBeanDefinitions
>> INFO: Loading XML bean definitions from class path resource
>> [META-INF/cxf/cxf-extension-http.xml]
>> 9 Νοε 2009 11:48:03 πμ
>> org.springframework.beans.factory.xml.XmlBeanDefinitionReader
>> loadBeanDefinitions
>> INFO: Loading XML bean definitions from class path resource
>> [META-INF/cxf/cxf-extension-jaxws.xml]
>> 9 Νοε 2009 11:48:03 πμ
>> org.springframework.beans.factory.xml.XmlBeanDefinitionReader
>> loadBeanDefinitions
>> INFO: Loading XML bean definitions from class path resource
>> [META-INF/cxf/cxf-extension-soap.xml]
>> 9 Νοε 2009 11:48:03 πμ
>> org.springframework.beans.factory.xml.XmlBeanDefinitionReader
>> loadBeanDefinitions
>> INFO: Loading XML bean definitions from class path resource
>> [META-INF/cxf/cxf-extension-addr.xml]
>> 9 Νοε 2009 11:48:03 πμ
>> org.springframework.context.support.AbstractApplicationContext
>> obtainFreshBeanFactory
>> INFO: Bean factory for application context
>> [org.apache.cxf.bus.spring.BusApplicationContext@1a99561]:
>> org.springframework.beans.factory.support.DefaultListableBeanFactory@22ab57
>> 9 Νοε 2009 11:48:04 πμ
>> org.springframework.beans.factory.support.DefaultListableBeanFactory
>> preInstantiateSingletons
>> INFO: Pre-instantiating singletons in
>> org.springframework.beans.factory.support.DefaultListableBeanFactory@22ab57:
>> defining beans
>> [cxf,org.apache.cxf.bus.spring.BusApplicationListener,org.apache.cxf.bus.spring.BusWiringBeanFactoryPostProcessor,org.apache.cxf.bus.spring.Jsr250BeanPostProcessor,org.apache.cxf.bus.spring.BusExtensionPostProcessor,org.apache.cxf.resource.ResourceManager,org.apache.cxf.configuration.Configurer,org.apache.cxf.binding.BindingFactoryManager,org.apache.cxf.transport.DestinationFactoryManager,org.apache.cxf.transport.ConduitInitiatorManager,org.apache.cxf.wsdl.WSDLManager,org.apache.cxf.phase.PhaseManager,org.apache.cxf.workqueue.WorkQueueManager,org.apache.cxf.buslifecycle.BusLifeCycleManager,org.apache.cxf.endpoint.ServerRegistry,org.apache.cxf.endpoint.ServerLifeCycleManager,org.apache.cxf.endpoint.ClientLifeCycleManager,org.apache.cxf.transports.http.QueryHandlerRegistry,org.apache.cxf.endpoint.EndpointResolverRegistry,org.apache.cxf.headers.HeaderManager,org.apache.cxf.catalog.OASISCatalogManager,org.apache.cxf.service.factory.FactoryBeanListenerManager,org.apache.cxf.endpoint.ServiceContractResolverRegistry,org.apache.cxf.binding.http.HttpBindingFactory,org.apache.cxf.binding.xml.XMLBindingFactory,org.apache.cxf.transport.http.policy.HTTPClientAssertionBuilder,org.apache.cxf.transport.http.policy.HTTPServerAssertionBuilder,org.apache.cxf.transport.http.policy.NoOpPolicyInterceptorProvider,org.apache.cxf.transport.http.ClientOnlyHTTPTransportFactory,org.apache.cxf.jaxws.context.WebServiceContextResourceResolver,org.apache.cxf.jaxws.context.WebServiceContextImpl,org.apache.cxf.binding.soap.SoapBindingFactory,org.apache.cxf.binding.soap.SoapTransportFactory,org.apache.cxf.binding.soap.customEditorConfigurer,org.apache.cxf.ws.addressing.policy.AddressingAssertionBuilder,org.apache.cxf.ws.addressing.policy.AddressingPolicyInterceptorProvider,org.apache.cxf.ws.addressing.policy.UsingAddressingAssertionBuilder];
>> root of factory hierarchy
>> 9 Νοε 2009 11:48:04 πμ
>> org.apache.cxf.service.factory.ReflectionServiceFactoryBean
>> buildServiceFromClass
>> INFO: Creating Service {http://service/}HelloWorldService<http://service/%7DHelloWorldService>from
class service.HelloWorld
>> </system-err>
>> </testcase>
>> </testsuite>
>>
>>
>>
>>     
>
>   



Mime
View raw message