Hi, This error indicate that when you start the service, you try to build service model from the wsdl, but the wsdl isn't published yet, you run into chicken-egg problem, as your service isn't up yet, you need use the local wsdl but not from the http://...8181/...wsdl one. ------------- Freeman(Yue) Fang
Red Hat, Inc. FuseSource is now part of Red Hat On 2014-12-28, at 上午2:15, Barry Hathaway wrote: > 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.
