I'm kind of a newbie to servicemix and I'm trying to write a service to
consume a web service.
I have deployed a war file, containing the CXF-based web service, into
servicemix using the
pax web extender.  I can successfully see the WSDL at
http://localhost:8181/xxxService?wsdl.
In addition, I can run a standalone CXF-based client to access the service.
Now, if I try to run virtually the same client deployed into servicemix as a
bundle to consume
the serivce then when I start the bundle I get:

javax.xml.ws.WebServiceException:
org.apache.cxf.service.factory.ServiceConstructionException: Failed to
create service.
        at org.apache.cxf.jaxws.ServiceImpl.<init>(ServiceImpl.java:149)
....
Caused by: javax.wsdl.WSDLException: WSDLException: faultCode=PARSER_ERROR:
com.ctc.wstx.exc.WstxEOFException: Unexpected EOF in prolog
 at [row,col,system-id]: [1,0,"http://localhost:8181/xxxService?wsdl";]
        at
org.apache.cxf.wsdl11.WSDLManagerImpl.loadDefinition(WSDLManagerImpl.java:256)

Any ideas what I am doing wrong?
Thanks in advance.



--
View this message in context: 
http://servicemix.396122.n5.nabble.com/Consuming-a-pax-deployed-web-service-tp5722049.html
Sent from the ServiceMix - User mailing list archive at Nabble.com.

Reply via email to