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.java:219)
>                ... 15 more
> 
> [12/9/13 13:10:11:165 IST] 000000e6 SystemErr     R           at 
> org.apache.cxf.wsdl11.WSDLManagerImpl.loadDefinition(WSDLManagerImpl.java:228)
> [12/9/13 13:10:11:165 IST] 000000e6 SystemErr     R           at 
> org.apache.cxf.wsdl11.WSDLManagerImpl.getDefinition(WSDLManagerImpl.java:179)
> [12/9/13 13:10:11:165 IST] 000000e6 SystemErr     R           at 
> org.apache.cxf.wsdl11.WSDLServiceFactory.<init>(WSDLServiceFactory.java:91)
> 
> 
> Thanks and Regards,
> Shailendra Singh
> 
> 
> 
> ________________________________
> 

-- 
Daniel Kulp
[email protected] - http://dankulp.com/blog
Talend Community Coder - http://coders.talend.com

Reply via email to