SoapResponse Class
Used to encapsulate an XML/SOAP message returned from a WebService.
Constructors
protected SoapResponse( javaxt.http.Response response, String resultsNode )
Methods
getBody( ) returns String
Returns the body of the HTTP response returned from the server. The body
contains the raw XML/SOAP document.
getHeaders( ) returns java.util.Map
Returns key/value map representing all the HTTP headers returned from
the server.
getURL( ) returns java.net.URL
Returns the url used to connect to the server. Note that this URL may
differ from the one used to instantiate the Request object.
toByteArray( ) returns byte[]
Converts the raw response found in the body of the SOAP message into a
byte array. Assumes that the response is Base64 encoded.
toImage( ) returns javaxt.io.Image
Converts the raw response found in the body of the SOAP message into an
image. Typically images are encoded in Base64.
toString( ) returns String
Returns the raw response found in the body of the SOAP message.
toXML( ) returns org.w3c.dom.Document
Converts the raw response found in the body of the SOAP message into an
xml document.