CXF INBOUND RESOURCE ADAPTER MESSAGE DRIVEN BEAN DISPATCHING SAMPLE (WSDL)
guest Jan 26, 2010 5:28 AMHello everybody!!
I try to build and run inbound-mdb-dispatch-wsdl sample. I use README.txt to do it. When I try start greeterwithwsdlejb_jar application, I get the following:
0000002b ApplicationMg A WSVR0221I: Application started: greeterwithwsdlejb_jar
000001e7 BusApplicatio I java.lang.Throwable No cxf.xml configuration file detected, relying on defaults.
000001e7 ReflectionSer I Creating Service SOAPService from WSDL: wsdl/hello_world.wsdl
000001e7 SystemErr R Exception in thread "Default : 11" java.lang.RuntimeException: javax.resource.spi.work.WorkCompletedException: unexpected exception from work, error code: 0
000001e7 SystemErr R at com.ibm.ejs.j2c.work.WorkProxy.run(WorkProxy.java:590)
000001e7 SystemErr R at com.ibm.ws.util.ThreadPool$Worker.run(ThreadPool.java:1510)
000001e7 SystemErr R Caused by: javax.resource.spi.work.WorkCompletedException: unexpected exception from work, error code: 0 at com.ibm.ejs.j2c.work.WorkProxy.run(WorkProxy.java:512)
at com.ibm.ws.util.ThreadPool$Worker.run(ThreadPool.java:1510)
Caused by: org.apache.cxf.service.factory.ServiceConstructionException: Could not find portType named Greeter
at org.apache.cxf.service.factory.ReflectionServiceFactoryBean.getInterfaceInfo(ReflectionServiceFactoryBean.java:554)
at org.apache.cxf.service.factory.ReflectionServiceFactoryBean.initializeWSDLOperations(ReflectionServiceFactoryBean.java:562)
at org.apache.cxf.jaxws.support.JaxWsServiceFactoryBean.initializeWSDLOperations(JaxWsServiceFactoryBean.java:238)
at org.apache.cxf.service.factory.ReflectionServiceFactoryBean.buildServiceFromWSDL(ReflectionServiceFactoryBean.java:338)
at org.apache.cxf.service.factory.ReflectionServiceFactoryBean.initializeServiceModel(ReflectionServiceFactoryBean.java:442)
at org.apache.cxf.service.factory.ReflectionServiceFactoryBean.create(ReflectionServiceFactoryBean.java:195)
at org.apache.cxf.jaxws.support.JaxWsServiceFactoryBean.create(JaxWsServiceFactoryBean.java:163)
at org.apache.cxf.frontend.AbstractWSDLBasedEndpointFactory.createEndpoint(AbstractWSDLBasedEndpointFactory.java:100)
at org.apache.cxf.frontend.ServerFactoryBean.create(ServerFactoryBean.java:117)
at org.apache.cxf.jaxws.JaxWsServerFactoryBean.create(JaxWsServerFactoryBean.java:167)
at org.apache.cxf.jaxws.EndpointImpl.getServer(EndpointImpl.java:346)
at org.apache.cxf.jca.inbound.MDBActivationWork.createServerFromJaxwsEndpoint(MDBActivationWork.java:213)
at org.apache.cxf.jca.inbound.MDBActivationWork.createServer(MDBActivationWork.java:191)
at org.apache.cxf.jca.inbound.MDBActivationWork.activate(MDBActivationWork.java:130)
at org.apache.cxf.jca.inbound.MDBActivationWork.run(MDBActivationWork.java:88)
at com.ibm.ejs.j2c.work.WorkProxy.run(WorkProxy.java:497)
... 1 more
Your reply will be very much appreciated.
Thank you.
Pavel.