JavaXT
|
|
SoapRequest ClassUsed to execute a web service request using XML/SOAP over HTTP.
ConstructorsPublic MethodssetUseCache( boolean useCache ) returns void Sets the header associated with cache-control. If true, the protocol is allowed to use caching whenever it can. If false, the protocol must always try to get a fresh copy of the object. By default, the useCache variable is set to false. validateSSLCertificates( boolean validateCertificates ) returns void Used to enable/disable certificate validation for HTTPS Connections. Note that this is set to false by default. setNumRedirects( int maxRedirects ) returns void Sets the maximum number of redirects to follow. By default, this number is set to 5. setHeader( String key, String value ) returns void Used to set a Request Property in the HTTP header (e.g. "User-Agent"). addHeader( String key, String value ) returns void Used to add a Request Property to the HTTP header (e.g. "User-Agent"). getResponse( ) returns SoapResponse Used to execute the web service method specified in the constructor and returns a response from the server. |