This unfriendly behavior of HttpURLConnection seems to have been
        corrected, errr... changed, in J2SE 1.4.

        Dan
 
-----Original Message-----
From: K. Swaminathan [mailto:[EMAIL PROTECTED]]
Sent: Tuesday, June 04, 2002 10:05 PM
To: [EMAIL PROTECTED]
Subject: Handling SOAP Faults using HTTPURLConnection based client


Hi,

 I am trying to write a simple SOAP client using HttpUrlConnection. If the
server response
is a SOAP Fault, then The HttpURLConnection seems to throw a
FileNotFoundException, when
attempting to do a conn.getResponseCode(). How does one get access to the
fault information.
Some example that I saw on the web, suggested conn.getErrorStream(), but it
returns null.
Can someone point me to how you read in the fault info?

Thanks
Swami K.


Reply via email to