Results 1 to 1 of 1
- 04-07-2011, 04:09 PM #1
Member
- Join Date
- Apr 2011
- Posts
- 1
- Rep Power
- 0
SOAP|Java Response - IOException| Server response - a:System.Net.WebException
Hi,
I'm trying to invoke a web service which requires NTLM authentication and am receiving the following response when obtaining the InputStream object
java.io.IOException: Server returned HTTP response code: 500 for URL: http://XXXXXX:XXX/NAV/WS/Interfaces
at sun.net.http://www.protocol.http.HttpURLConn...tion.java:1308)
When I monitor the HTTP request/response I find that the server response is the below:
<s:Envelope xmlns:s="http://schemas.xmlsoap.org/soap/envelope/">
<s:Body>
<s:Fault>
<faultcode xmlns:a="urn:microsoft-dynamics-schemas/error">a:System.Net.WebException</faultcode>
<faultstring xml:lang="it-IT">Soap message is invalid!</faultstring>
<detail>
<string xmlns="http://schemas.microsoft.com/2003/10/Serialization/">Soap message is invalid!</string>
</detail>
</s:Fault>
</s:Body>
</s:Envelope>
Now I was wondering why I don't see this response instead of the IOException? I've tried checking the getErrorStream() method from HTTPUrlConnection but returns null.
Any help would me most appreciated.
Similar Threads
-
How can we create the soap in java and get the response in soap by java
By javastuden in forum New To JavaReplies: 1Last Post: 10-25-2010, 07:54 PM -
Reg:How to write xsl for an response soap object of webservice and then transver to h
By narayana@gmail.com in forum New To JavaReplies: 0Last Post: 03-02-2010, 09:07 AM -
Server returned HTTP response code: 500
By fuliangQ in forum JavaServer Pages (JSP) and JSTLReplies: 1Last Post: 04-09-2009, 04:55 AM -
SOAP Message Factory response error in an Applet
By Buglish in forum XMLReplies: 0Last Post: 06-30-2008, 10:42 PM -
java.io.Exception: Server returned HTTP response code: 403
By navishkumarb in forum Advanced JavaReplies: 1Last Post: 01-05-2008, 02:33 PM
Bookmarks