You are viewing a plain text version of this content. The canonical link for it is here.
Posted to soap-user@ws.apache.org by Damon <da...@cornerstone.net> on 2002/02/08 19:10:11 UTC

Http Status code

Hello all,
    I am using Apache SOAP 2.2 to consume MS web services.  Occasionally IIS
returns an HTML status other than 200 OK such as 404,403, etc.  My
application of course needs to catch this rather than try to parse the
response as XML.
  Using SOAPHttpConnection, is there a way to check what that status code
is?  I've tried calling getHeaders() on the Response SOAP context and it
does not work.  Am I missing something?  Thank you for any suggestions.


Damon Payne
Cornerstone Consulting
damon.payne@cornerstone.net
www.cornerstone.net