Perhaps these previous discussions might help ?

http://cxf.547215.n5.nabble.com/WSDL-Service-Creation-Exception-td5711590.html#a5711615

http://markmail.org/thread/ckxexe6sdx7k7g4e#query:localize%20wsdl%20streit+page:1+mid:k2jbplg47dz4gzbj+state:results


"Localizing"  WSDL (and any referenced XSDs if they exist) into a JAR with
the generated proxy code (that came from such WSDL/XSD) can often help
avoid such errors.  The generated code can usually contain the WSDL
reference at a location such as /META-INF/wsdl of the packaged JAR ... this
way, at runtime, it is located on the classpath.  Glen Mazza also has notes
on this in the tutorial here as well

http://www.jroller.com/gmazza/entry/soap_client_tutorial

Mark

On Friday, December 13, 2013, Daniel Kulp wrote:

>
> This is having problems downloading the WSDL.   Try a wireshark or
> something to see if the WSDL is being returned OK.   You can also grab the
> wsdl, store it locally, and point the Service object at the local copy.
>
>
> Dan
>
>
> On Dec 13, 2013, at 6:31 AM, Shailendra Singh <[email protected]>
> wrote:
>
> > Hi,
> >
> > Could you please suggest on the below error cause and resolution, you
> might have seen/faced this issue.
> >
> > Scenario/Case: web service call from a CXF based WebService client
> (deployed on WAS6.1/JBoss5.1) to a WebService server deployed on WAS 7.
> >
> > [12/9/13 13:10:11:165 IST] 000000e6 SystemErr     R
> javax.wsdl.WSDLException: WSDLException: faultCode=PARSER_ERROR:
> com.ctc.wstx.exc.WstxEOFException: Unexpected EOF in prolog
> > at [row,col,system-id]: [1,0,"http://ipaddress:port
> /xyz/stusUpdateService?wsdl"]
> >                at
> org.apache.cxf.wsdl11.WSDLManagerImpl.loadDefinition(WSDLManagerImpl.java:228)
> >                at
> org.apache.cxf.wsdl11.WSDLManagerImpl.getDefinition(WSDLManagerImpl.java:179)
> >                at
> org.apache.cxf.wsdl11.WSDLServiceFactory.<init>(WSDLServiceFactory.java:91)
> >                at
> org.apache.cxf.jaxws.ServiceImpl.initializePorts(ServiceImpl.java:207)
> >                at
> org.apache.cxf.jaxws.ServiceImpl.<init>(ServiceImpl.java:150)
> >                at
> org.apache.cxf.jaxws.spi.ProviderImpl.createServiceDelegate(ProviderImpl.java:63)
> >                at javax.xml.ws.Service.<init>(Service.java:36)
> >                at
> com.pb.engageone.ws.delivery.statusupdate.RequestStatusUpdateService_Service.<init>(RequestStatusUpdateService_Service.java:36)
> >                at
> com.g1.emessaging.eo.EOOutboundMessageNotifier.notifyEvent(EOOutboundMessageNotifier.java:72)
> >                at
> com.g1.emessaging.eo.EOOutboundMessageNotifier.notifyEvent(EOOutboundMessageNotifier.java:27)
> >                at
> com.g1.emessaging.service.notification.impl.OutboundMessageNotificationHandler.doHandle(OutboundMessageNotificationHandler.java:25)
> >                at
> com.g1.emessaging.service.ems.impl.AbstractMessageHandler.onHandle(AbstractMessageHandler.java:27)
> >                at
> com.g1.emessaging.service.ems.impl.InMemoryQueueMessageSender$EmsMessageThread.run(InMemoryQueueMessageSender.java:66)
> >                at
> java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:665)
> >                at
> java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:690)
> >                at java.lang.Thread.run(Thread.java:810)
> > Caused by: com.ctc.wstx.exc.WstxEOFException: Unexpected EOF in prolog
> > at [row,col,system-id]: [1,0," http://ipaddress:port
> /xyz/stusUpdateService?wsdl<
> http://vm32i-w3r2:9086/EngageOneWS/RequestStatusUpdateService?wsdl>"]
> >                at
> com.ctc.wstx.sr.StreamScanner.throwUnexpectedEOF(StreamScanner.java:686)
> >                at
> com.ctc.wstx.sr.BasicStreamReader.handleEOF(BasicStreamReader.java:2134)
> >                at
> com.ctc.wstx.sr.BasicStreamReader.nextFromProlog(BasicStreamReader.java:2040)
> >                at
> com.ctc.wstx.sr.BasicStreamReader.next(BasicStreamReader.java:1069)
> >                at
> org.apache.cxf.staxutils.StaxUtils.readDocElements(StaxUtils.java:951)
> >                at
> org.apache.cxf.staxutils.StaxUtils.read(StaxUtils.java:798)
> >                at
> org.apache.cxf.wsdl11.WSDLManagerImpl.loadDefinition(WSDLManagerImpl.ja--
> Daniel Kulp
> [email protected] - http://dankulp.com/blog
> Talend Community Coder - http://coders.talend.com
>
>

Reply via email to