You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@cxf.apache.org by Shailendra Singh <sh...@pb.com> on 2013/12/13 12:31:12 UTC

FW: webservice call error - deplooyed on WAS6.1/JBOSS 5.1

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



________________________________


RE: webservice call error - deplooyed on WAS6.1/JBOSS 5.1

Posted by Shailendra Singh <sh...@pb.com>.
Hi All,

Please suggest, it seems like CXF bug, kindly help if somebody have got it working somehow.
Keeping the WSDL on local works fine updating the soap call on remote WAS system, now really issue in getting WSDL from remote WAS.

Thanks and Regards,
Shailendra Singh


-----Original Message-----
From: Shailendra Singh
Sent: Wednesday, December 18, 2013 3:45 PM
To: users@cxf.apache.org; dev@cxf.apache.org; issues@cxf.apache.org
Subject: RE: webservice call error - deplooyed on WAS6.1/JBOSS 5.1

Hi All,

Thanks to Dan!

Keeping the WSDL on local works fine updating the soap call on remote WAS system, now really issue in getting WSDL from remote WAS, please suggest what could be the reason behind this.

Thanks and Regards,
Shailendra Singh


-----Original Message-----
From: Daniel Kulp [mailto:dkulp@apache.org]
Sent: Saturday, December 14, 2013 3:32 AM
To: users@cxf.apache.org; Shailendra Singh
Subject: Re: webservice call error - deplooyed on WAS6.1/JBOSS 5.1


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 <sh...@pb.com> 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
dkulp@apache.org - http://dankulp.com/blog Talend Community Coder - http://coders.talend.com



________________________________


RE: webservice call error - deplooyed on WAS6.1/JBOSS 5.1

Posted by Shailendra Singh <sh...@pb.com>.
Hi All,

Please suggest, it seems like CXF bug, kindly help if somebody have got it working somehow.
Keeping the WSDL on local works fine updating the soap call on remote WAS system, now really issue in getting WSDL from remote WAS.

Thanks and Regards,
Shailendra Singh


-----Original Message-----
From: Shailendra Singh
Sent: Wednesday, December 18, 2013 3:45 PM
To: users@cxf.apache.org; dev@cxf.apache.org; issues@cxf.apache.org
Subject: RE: webservice call error - deplooyed on WAS6.1/JBOSS 5.1

Hi All,

Thanks to Dan!

Keeping the WSDL on local works fine updating the soap call on remote WAS system, now really issue in getting WSDL from remote WAS, please suggest what could be the reason behind this.

Thanks and Regards,
Shailendra Singh


-----Original Message-----
From: Daniel Kulp [mailto:dkulp@apache.org]
Sent: Saturday, December 14, 2013 3:32 AM
To: users@cxf.apache.org; Shailendra Singh
Subject: Re: webservice call error - deplooyed on WAS6.1/JBOSS 5.1


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 <sh...@pb.com> 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
dkulp@apache.org - http://dankulp.com/blog Talend Community Coder - http://coders.talend.com



________________________________


RE: webservice call error - deplooyed on WAS6.1/JBOSS 5.1

Posted by Shailendra Singh <sh...@pb.com>.
Hi All,

Thanks to Dan!

Keeping the WSDL on local works fine updating the soap call on remote WAS system, now really issue in getting WSDL from remote WAS, please suggest what could be the reason behind this.

Thanks and Regards,
Shailendra Singh


-----Original Message-----
From: Daniel Kulp [mailto:dkulp@apache.org]
Sent: Saturday, December 14, 2013 3:32 AM
To: users@cxf.apache.org; Shailendra Singh
Subject: Re: webservice call error - deplooyed on WAS6.1/JBOSS 5.1


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 <sh...@pb.com> 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
dkulp@apache.org - http://dankulp.com/blog Talend Community Coder - http://coders.talend.com



________________________________


RE: webservice call error - deplooyed on WAS6.1/JBOSS 5.1

Posted by Shailendra Singh <sh...@pb.com>.
Hi All,

Thanks to Dan!

Keeping the WSDL on local works fine updating the soap call on remote WAS system, now really issue in getting WSDL from remote WAS, please suggest what could be the reason behind this.

Thanks and Regards,
Shailendra Singh


-----Original Message-----
From: Daniel Kulp [mailto:dkulp@apache.org]
Sent: Saturday, December 14, 2013 3:32 AM
To: users@cxf.apache.org; Shailendra Singh
Subject: Re: webservice call error - deplooyed on WAS6.1/JBOSS 5.1


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 <sh...@pb.com> 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
dkulp@apache.org - http://dankulp.com/blog Talend Community Coder - http://coders.talend.com



________________________________


RE: webservice call error - deplooyed on WAS6.1/JBOSS 5.1

Posted by Shailendra Singh <sh...@pb.com>.
Hi All,

Thanks to Dan!

Keeping the WSDL on local works fine updating the soap call on remote WAS system, now really issue in getting WSDL from remote WAS, please suggest what could be the reason behind this.

Thanks and Regards,
Shailendra Singh


-----Original Message-----
From: Daniel Kulp [mailto:dkulp@apache.org]
Sent: Saturday, December 14, 2013 3:32 AM
To: users@cxf.apache.org; Shailendra Singh
Subject: Re: webservice call error - deplooyed on WAS6.1/JBOSS 5.1


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 <sh...@pb.com> 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
dkulp@apache.org - http://dankulp.com/blog Talend Community Coder - http://coders.talend.com



________________________________


Re: FW: webservice call error - deplooyed on WAS6.1/JBOSS 5.1

Posted by Mark Streit <mc...@gmail.com>.
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 <sh...@pb.com>
> 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
> dkulp@apache.org - http://dankulp.com/blog
> Talend Community Coder - http://coders.talend.com
>
>

RE: webservice call error - deplooyed on WAS6.1/JBOSS 5.1

Posted by Shailendra Singh <sh...@pb.com>.
Hi All,

Please suggest, it seems like CXF bug, kindly help if somebody have got it working somehow.
Keeping the WSDL on local works fine updating the soap call on remote WAS system, now really issue in getting WSDL from remote WAS.

Thanks and Regards,
Shailendra Singh


-----Original Message-----
From: Shailendra Singh
Sent: Wednesday, December 18, 2013 3:45 PM
To: users@cxf.apache.org; dev@cxf.apache.org; issues@cxf.apache.org
Subject: RE: webservice call error - deplooyed on WAS6.1/JBOSS 5.1

Hi All,

Thanks to Dan!

Keeping the WSDL on local works fine updating the soap call on remote WAS system, now really issue in getting WSDL from remote WAS, please suggest what could be the reason behind this.

Thanks and Regards,
Shailendra Singh


-----Original Message-----
From: Daniel Kulp [mailto:dkulp@apache.org]
Sent: Saturday, December 14, 2013 3:32 AM
To: users@cxf.apache.org; Shailendra Singh
Subject: Re: webservice call error - deplooyed on WAS6.1/JBOSS 5.1


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 <sh...@pb.com> 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
dkulp@apache.org - http://dankulp.com/blog Talend Community Coder - http://coders.talend.com



________________________________


Re: webservice call error - deplooyed on WAS6.1/JBOSS 5.1

Posted by Daniel Kulp <dk...@apache.org>.
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 <sh...@pb.com> 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
dkulp@apache.org - http://dankulp.com/blog
Talend Community Coder - http://coders.talend.com