You are viewing a plain text version of this content. The canonical link for it is here.
Posted to java-user@axis.apache.org by Kumuda Bhaskar <Ku...@symphonysv.com> on 2005/09/21 13:17:07 UTC

Please help me in solving this problem [axis 2 - .net]

Hi,

I am using TCP to call the .Net webservice. Can anyone tell me the
reason for this exception?? 

At the Axis client I am getting the following exception

java.net.SocketException: Connection reset

      at java.net.SocketInputStream.read(Unknown Source)

      at sun.nio.cs.StreamDecoder$CharsetSD.readBytes(Unknown Source)

      at sun.nio.cs.StreamDecoder$CharsetSD.implRead(Unknown Source)

      at sun.nio.cs.StreamDecoder.read(Unknown Source)

      at java.io.InputStreamReader.read(Unknown Source)

      at java.io.BufferedReader.fill(Unknown Source)

      at java.io.BufferedReader.read(Unknown Source)

      at com.bea.xml.stream.MXParser.checkForXMLDecl(MXParser.java:687)

      at com.bea.xml.stream.MXParser.setInput(MXParser.java:709)

      at
com.bea.xml.stream.MXParserFactory.createXMLStreamReader(MXParserFactory
.java:235)

      at
com.bea.xml.stream.MXParserFactory.createXMLStreamReader(MXParserFactory
.java:64)

      at
org.apache.axis2.transport.TransportUtils.createSOAPMessage(TransportUti
ls.java:88)

      at
org.apache.axis2.transport.TransportUtils.createSOAPMessage(TransportUti
ls.java:46)

      at
org.apache.axis2.clientapi.TwoWayTransportBasedSender.send(TwoWayTranspo
rtBasedSender.java:54)

      at
org.apache.axis2.clientapi.InOutMEPClient.invokeBlocking(InOutMEPClient.
java:174)Here : Connection reset

 

      at
com.hyperion.hfm.acistcptest.AxisClient.main(AxisClient.java:106)

org.apache.axis2.AxisFault: null; nested exception is: 

      javax.xml.stream.XMLStreamException

      at
org.apache.axis2.transport.TransportUtils.createSOAPMessage(TransportUti
ls.java:96)

      at
org.apache.axis2.transport.TransportUtils.createSOAPMessage(TransportUti
ls.java:46)

      at
org.apache.axis2.clientapi.TwoWayTransportBasedSender.send(TwoWayTranspo
rtBasedSender.java:54)

      at
org.apache.axis2.clientapi.InOutMEPClient.invokeBlocking(InOutMEPClient.
java:174)

      at
com.hyperion.hfm.acistcptest.AxisClient.main(AxisClient.java:106)

Caused by: javax.xml.stream.XMLStreamException

      at com.bea.xml.stream.MXParser.checkForXMLDecl(MXParser.java:700)

      at com.bea.xml.stream.MXParser.setInput(MXParser.java:709)

      at
com.bea.xml.stream.MXParserFactory.createXMLStreamReader(MXParserFactory
.java:235)

      at
com.bea.xml.stream.MXParserFactory.createXMLStreamReader(MXParserFactory
.java:64)

      at
org.apache.axis2.transport.TransportUtils.createSOAPMessage(TransportUti
ls.java:88)

      ... 4 more

 

Regards

KumudaRajarshi