axis-java-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Thilina Gunarathne" <cset...@gmail.com>
Subject Re: I got a exception when I run a client to access web service
Date Fri, 22 Dec 2006 13:30:42 GMT
Will it be possible for you to post the message snapshots taken from
your home machine and from your office machine...

You can use http://ws.apache.org/commons/tcpmon/ for message tracing..

Thanx,
Thilina

On 12/22/06, Yong Yang <y.yang@querix.com> wrote:
> Hi, I have a problem when I run a client on my home machine to access web service. I
got a exception as follows. But the program is perferct if I rum it on my office machine.
>
> My home machine environment is as follows:
> OS: windows XP Pro SP 2
> Java: 1.5.0_09
> Axis2: 1.1
>
> My office machine environment is as follows:
> OS: windows 2000 SP 4
> Java: 1.5.0_08
> Axis2: 1.1
>
> I searched from the web and maillist, but can't find any useful infomation. I would appreciate
it if any one give me a hand.
>
>
> Exception in thread "main" org.apache.axis2.AxisFault:
> com.ctc.wstx.exc.WstxEOFException: Unexpected EOF in prolog
>  at [row,col {unknown-source}]: [1,0]; nested exception is:
>         org.apache.axiom.om.OMException:
> com.ctc.wstx.exc.WstxEOFException: Unexpected EOF in prolog
>  at [row,col {unknown-source}]: [1,0]
>         at
> org.apache.axis2.transport.TransportUtils.createSOAPMessage(TransportUtils.java:126)
>         at
> org.apache.axis2.transport.TransportUtils.createSOAPMessage(TransportUtils.java:67)
>         at
> org.apache.axis2.description.OutInAxisOperationClient.send(OutInAxisOperation.java:381)
>         at
> org.apache.axis2.description.OutInAxisOperationClient.execute(OutInAxisOperation.java:295)
>         at
> org.apache.axis2.client.ServiceClient.sendReceive(ServiceClient.java:579)
>         at
> org.apache.axis2.client.ServiceClient.sendReceive(ServiceClient.java:508)
>         at TCPClient.main(TCPClient.java:52)
> Caused by: org.apache.axiom.om.OMException:
> com.ctc.wstx.exc.WstxEOFException: Unexpected EOF in prolog
>  at [row,col {unknown-source}]: [1,0]
>         at
> org.apache.axiom.om.impl.builder.StAXOMBuilder.next(StAXOMBuilder.java:199)
>         at
> org.apache.axiom.soap.impl.builder.StAXSOAPModelBuilder.getSOAPEnvelope(StAXSOAPModelBuilder.java:155)
>         at
> org.apache.axiom.soap.impl.builder.StAXSOAPModelBuilder.identifySOAPVersion(StAXSOAPModelBuilder.java:131)
>         at
> org.apache.axiom.soap.impl.builder.StAXSOAPModelBuilder.<init>(StAXSOAPModelBuilder.java:106)
>         at
> org.apache.axis2.transport.TransportUtils.createSOAPMessage(TransportUtils.java:120)
>         ... 6 more
> Caused by: com.ctc.wstx.exc.WstxEOFException: Unexpected EOF in prolog
>  at [row,col {unknown-source}]: [1,0]
>         at
> com.ctc.wstx.sr.StreamScanner.throwUnexpectedEOF(StreamScanner.java:628)
>         at
> com.ctc.wstx.sr.BasicStreamReader.handleEOF(BasicStreamReader.java:2021)
>         at
> com.ctc.wstx.sr.BasicStreamReader.nextFromProlog(BasicStreamReader.java:1927)
>         at
> com.ctc.wstx.sr.BasicStreamReader.next(BasicStreamReader.java:1054)
>         at
> org.apache.axiom.om.impl.builder.StAXOMBuilder.next(StAXOMBuilder.java:116)
>         ... 10 more
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: axis-user-unsubscribe@ws.apache.org
> For additional commands, e-mail: axis-user-help@ws.apache.org
>
>


-- 
Thilina Gunarathne
WSO2, Inc.; http://www.wso2.com/
Home page: http://webservices.apache.org/~thilina/
Blog: http://thilinag.blogspot.com/

---------------------------------------------------------------------
To unsubscribe, e-mail: axis-user-unsubscribe@ws.apache.org
For additional commands, e-mail: axis-user-help@ws.apache.org


Mime
View raw message