JavaXT
|
|
SoapResponse ClassUsed to encapsulate an XML/SOAP message returned from a WebService.
ConstructorsThere are no public constructors.Public MethodsgetHeaders( ) returns java.util.Map<String, java.util.List<String>> 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. getBody( ) returns String Returns the body of the HTTP response returned from the server. The body contains the raw XML/SOAP document. toXML( ) returns Document Converts the raw response found in the body of the SOAP message into an xml document. 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. |