cxf-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Daniel Kulp <dk...@apache.org>
Subject Re: New volunteer needs help setting up
Date Mon, 09 Nov 2009 15:03:47 GMT

You also need an implementation of the cxf server side stuff.  You can either:
1) use cxf-rt-transport-http-jetty to get the jetty based stuff.    This is 
most likely what eclipse is pulling in (more in a sec).

2) use the servlet transport built into cxf-rt-transport-http.   If you do 
that, you would need something like httpunit or embedded jetty something to 
bring up the servlet.   

Eclipse projects don't differentiate between "test" resources and "runtime" 
resources like Maven does.   When maven creates the projects, all the 
resources are exported.  In your case, the jaxws frontend has a test scope dep 
on cxf-rt-transport-http-jetty.   Thus, in Eclipse, all the modules that 
depend on jaxws also get jetty.   However, in Maven, they don't.   They would 
explicitly need to also declare a test scope dep.

Dan



On Mon November 9 2009 5:25:30 am Alexandros Karypidis 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.getDestinationFactor
> y(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\surefirebooter502591240075183
> 015.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\b
> in;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\d
> evRuntime\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\co
> mmon;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\cx
> f-api\2.3.0-SNAPSHOT\cxf-api-2.3.0-SNAPSHOT.jar;d:\cxf-dev\mvn-repos\org\ap
> ache\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-repo
> s\org\springframework\spring-core\2.5.5\spring-core-2.5.5.jar;d:\cxf-dev\mv
> n-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-c
> ontext-2.5.5.jar;d:\cxf-dev\mvn-repos\aopalliance\aopalliance\1.0\aopallian
> ce-1.0.jar;d:\cxf-dev\mvn-repos\org\apache\geronimo\specs\geronimo-annotati
> on_1.0_spec\1.1.1\geronimo-annotation_1.0_spec-1.1.1.jar;d:\cxf-dev\mvn-rep
> os\javax\xml\bind\jaxb-api\2.1\jaxb-api-2.1.jar;d:\cxf-dev\mvn-repos\org\ap
> ache\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\wo
> odstox-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-sche
> mas\2.3.0-SNAPSHOT\cxf-common-schemas-2.3.0-SNAPSHOT.jar;d:\cxf-dev\mvn-rep
> os\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\jr
> a-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\o
> rg\apache\cxf\cxf-rt-databinding-jaxb\2.3.0-SNAPSHOT\cxf-rt-databinding-jax
> b-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\bi
> nd\jaxb-impl\2.1.12\jaxb-impl-2.1.12.jar;d:\cxf-dev\mvn-repos\org\apache\ge
> ronimo\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.j
> ar;d:\cxf-dev\mvn-repos\org\apache\cxf\cxf-rt-transports-http\2.3.0-SNAPSHO
> T\cxf-rt-transports-http-2.3.0-SNAPSHOT.jar;d:\cxf-dev\mvn-repos\org\spring
> framework\spring-web\2.5.5\spring-web-2.5.5.jar;d:\cxf-dev\mvn-repos\org\ap
> ache\cxf\cxf-rt-frontend-jaxws\2.3.0-SNAPSHOT\cxf-rt-frontend-jaxws-2.3.0-S
> NAPSHOT.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\ge
> ronimo\specs\geronimo-ws-metadata_2.0_spec\1.1.2\geronimo-ws-metadata_2.0_s
> pec-1.1.2.jar;d:\cxf-dev\mvn-repos\asm\asm\2.2.3\asm-2.2.3.jar;d:\cxf-dev\m
> vn-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-comm
> on\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\apach
> e\mina\mina-core\2.0.0-M6\mina-core-2.0.0-M6.jar;d:\cxf-dev\mvn-repos\org\s
> lf4j\slf4j-api\1.5.2\slf4j-api-1.5.2.jar;d:\cxf-dev\mvn-repos\org\apache\cx
> f\cxf-rt-frontend-simple\2.3.0-SNAPSHOT\cxf-rt-frontend-simple-2.3.0-SNAPSH
> OT.jar;d:\cxf-dev\mvn-repos\org\apache\cxf\cxf-rt-ws-addr\2.3.0-SNAPSHOT\cx
> f-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\ve
> locity\velocity\1.6.2\velocity-1.6.2.jar;d:\cxf-dev\mvn-repos\commons-colle
> ctions\commons-collections\3.2.1\commons-collections-3.2.1.jar;d:\cxf-dev\m
> vn-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\cx
> f-api\2.3.0-SNAPSHOT\cxf-api-2.3.0-SNAPSHOT.jar;d:\cxf-dev\mvn-repos\org\ap
> ache\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-repo
> s\org\springframework\spring-core\2.5.5\spring-core-2.5.5.jar;d:\cxf-dev\mv
> n-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-c
> ontext-2.5.5.jar;d:\cxf-dev\mvn-repos\aopalliance\aopalliance\1.0\aopallian
> ce-1.0.jar;d:\cxf-dev\mvn-repos\org\apache\geronimo\specs\geronimo-annotati
> on_1.0_spec\1.1.1\geronimo-annotation_1.0_spec-1.1.1.jar;d:\cxf-dev\mvn-rep
> os\javax\xml\bind\jaxb-api\2.1\jaxb-api-2.1.jar;d:\cxf-dev\mvn-repos\org\ap
> ache\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\wo
> odstox-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-sche
> mas\2.3.0-SNAPSHOT\cxf-common-schemas-2.3.0-SNAPSHOT.jar;d:\cxf-dev\mvn-rep
> os\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\jr
> a-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\o
> rg\apache\cxf\cxf-rt-databinding-jaxb\2.3.0-SNAPSHOT\cxf-rt-databinding-jax
> b-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\bi
> nd\jaxb-impl\2.1.12\jaxb-impl-2.1.12.jar;d:\cxf-dev\mvn-repos\org\apache\ge
> ronimo\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.j
> ar;d:\cxf-dev\mvn-repos\org\apache\cxf\cxf-rt-transports-http\2.3.0-SNAPSHO
> T\cxf-rt-transports-http-2.3.0-SNAPSHOT.jar;d:\cxf-dev\mvn-repos\org\spring
> framework\spring-web\2.5.5\spring-web-2.5.5.jar;d:\cxf-dev\mvn-repos\org\ap
> ache\cxf\cxf-rt-frontend-jaxws\2.3.0-SNAPSHOT\cxf-rt-frontend-jaxws-2.3.0-S
> NAPSHOT.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\ge
> ronimo\specs\geronimo-ws-metadata_2.0_spec\1.1.2\geronimo-ws-metadata_2.0_s
> pec-1.1.2.jar;d:\cxf-dev\mvn-repos\asm\asm\2.2.3\asm-2.2.3.jar;d:\cxf-dev\m
> vn-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-comm
> on\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\apach
> e\mina\mina-core\2.0.0-M6\mina-core-2.0.0-M6.jar;d:\cxf-dev\mvn-repos\org\s
> lf4j\slf4j-api\1.5.2\slf4j-api-1.5.2.jar;d:\cxf-dev\mvn-repos\org\apache\cx
> f\cxf-rt-frontend-simple\2.3.0-SNAPSHOT\cxf-rt-frontend-simple-2.3.0-SNAPSH
> OT.jar;d:\cxf-dev\mvn-repos\org\apache\cxf\cxf-rt-ws-addr\2.3.0-SNAPSHOT\cx
> f-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\ve
> locity\velocity\1.6.2\velocity-1.6.2.jar;d:\cxf-dev\mvn-repos\commons-colle
> ctions\commons-collections\3.2.1\commons-collections-3.2.1.jar;d:\cxf-dev\m
> vn-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\e
> xt"/> <property name="sun.boot.class.path"
> value="D:\cxf-dev\runtime\jdk1.6.0_16\jre\lib\resources.jar;D:\cxf-dev\runt
> ime\jdk1.6.0_16\jre\lib\rt.jar;D:\cxf-dev\runtime\jdk1.6.0_16\jre\lib\sunrs
> asign.jar;D:\cxf-dev\runtime\jdk1.6.0_16\jre\lib\jsse.jar;D:\cxf-dev\runtim
> e\jdk1.6.0_16\jre\lib\jce.jar;D:\cxf-dev\runtime\jdk1.6.0_16\jre\lib\charse
> ts.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.apac
> he.cxf.service.factory.ServiceConstructionException at
> org.apache.cxf.frontend.ServerFactoryBean.create(ServerFactoryBean.java:126
> ) at
> org.apache.cxf.jaxws.JaxWsServerFactoryBean.create(JaxWsServerFactoryBean.j
> ava:171) at test.HelloWorldTest.prepareTest(HelloWorldTest.java:27)
> at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
> at
> sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:3
> 9) at
> sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImp
> l.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.j
> ava:41) at
> org.junit.internal.runners.statements.RunBefores.evaluate(RunBefores.java:2
> 7) at
> org.junit.runners.BlockJUnit4ClassRunner.runChild(BlockJUnit4ClassRunner.ja
> va:76) at
> org.junit.runners.BlockJUnit4ClassRunner.runChild(BlockJUnit4ClassRunner.ja
> va: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:6
> 2) at
> org.apache.maven.surefire.suite.AbstractDirectoryTestSuite.executeTestSet(A
> bstractDirectoryTestSuite.java:140) at
> org.apache.maven.surefire.suite.AbstractDirectoryTestSuite.execute(Abstract
> DirectoryTestSuite.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:3
> 9) at
> sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImp
> l.java:25) at java.lang.reflect.Method.invoke(Method.java:597)
> at
> org.apache.maven.surefire.booter.SurefireBooter.runSuitesInProcess(Surefire
> Booter.java:345) at
> org.apache.maven.surefire.booter.SurefireBooter.main(SurefireBooter.java:10
> 09) 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.getDestinationFactor
> y(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.sp
> ring.BusWiringBeanFactoryPostProcessor,org.apache.cxf.bus.spring.Jsr250Bean
> PostProcessor,org.apache.cxf.bus.spring.BusExtensionPostProcessor,org.apach
> e.cxf.resource.ResourceManager,org.apache.cxf.configuration.Configurer,org.
> apache.cxf.binding.BindingFactoryManager,org.apache.cxf.transport.Destinati
> onFactoryManager,org.apache.cxf.transport.ConduitInitiatorManager,org.apach
> e.cxf.wsdl.WSDLManager,org.apache.cxf.phase.PhaseManager,org.apache.cxf.wor
> kqueue.WorkQueueManager,org.apache.cxf.buslifecycle.BusLifeCycleManager,org
> .apache.cxf.endpoint.ServerRegistry,org.apache.cxf.endpoint.ServerLifeCycle
> Manager,org.apache.cxf.endpoint.ClientLifeCycleManager,org.apache.cxf.trans
> ports.http.QueryHandlerRegistry,org.apache.cxf.endpoint.EndpointResolverReg
> istry,org.apache.cxf.headers.HeaderManager,org.apache.cxf.catalog.OASISCata
> logManager,org.apache.cxf.service.factory.FactoryBeanListenerManager,org.ap
> ache.cxf.endpoint.ServiceContractResolverRegistry,org.apache.cxf.binding.ht
> tp.HttpBindingFactory,org.apache.cxf.binding.xml.XMLBindingFactory,org.apac
> he.cxf.transport.http.policy.HTTPClientAssertionBuilder,org.apache.cxf.tran
> sport.http.policy.HTTPServerAssertionBuilder,org.apache.cxf.transport.http.
> policy.NoOpPolicyInterceptorProvider,org.apache.cxf.transport.http.ClientOn
> lyHTTPTransportFactory,org.apache.cxf.jaxws.context.WebServiceContextResour
> ceResolver,org.apache.cxf.jaxws.context.WebServiceContextImpl,org.apache.cx
> f.binding.soap.SoapBindingFactory,org.apache.cxf.binding.soap.SoapTransport
> Factory,org.apache.cxf.binding.soap.customEditorConfigurer,org.apache.cxf.w
> s.addressing.policy.AddressingAssertionBuilder,org.apache.cxf.ws.addressing
> .policy.AddressingPolicyInterceptorProvider,org.apache.cxf.ws.addressing.po
> licy.UsingAddressingAssertionBuilder]; root of factory hierarchy
> 9 Νοε 2009 11:48:04 πμ
> org.apache.cxf.service.factory.ReflectionServiceFactoryBean
> buildServiceFromClass
> INFO: Creating Service {http://service/}HelloWorldService from class
> service.HelloWorld
> </system-err>
> </testcase>
> </testsuite>
> 

-- 
Daniel Kulp
dkulp@apache.org
http://www.dankulp.com/blog

Mime
View raw message