Win a copy of Kotlin in Action this week in the Kotlin forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic

Information required regarding SOAPExceptions  RSS feed

Ketan KC Chachad
Ranch Hand
Posts: 77
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I have written a client-server application that uses SOAP for transferring data. Initially the application was executing the transfer in a sequential fashion i.e. first it used to send data to the server and then receive data from the server. This was later changed by me to enable execution of both the send and receive processes simultaneously using Threads. Lately the application has started throwing either of the following exceptions from time to time:
1. [SOAPException: faultCode=SOAP-ENV:Client; msg=Error parsing HTTP status line "": java.util.NoSuchElementException; targetException=java.lang.IllegalArgumentException: Error parsing HTTP status line "": java.util.NoSuchElementException]
2. [SOAPException: faultCode=SOAP-ENV:Client; msg=Connection reset by peer: socket write error; Connection reset by peer: socket write error]
The second exception is more often thrown. Both these exception occur when the invoke() method is called on an org.apache.soap.rpc.Call object. Can anyone help me in finding why these exceptions are being thrown?
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!