SOAPRequest¶
-
public class
SOAPRequest
¶ The SOAPRequest class represents a SOAP request. It is independent of which transport protocol it is using and contains the SOAP message of the original request.
Author: Hugo Y. K. Lam
Constructors¶
Methods¶
getBytes¶
-
public byte[]
getBytes
()¶ Gets the SOAP message as bytes.
Returns: the byte array of the SOAP message.
getHeaders¶
-
public MimeHeaders
getHeaders
()¶ Gets the mime headers of the request.
Returns: the mime headers of the request.
getMessage¶
-
public SOAPMessage
getMessage
()¶ Gets the SOAP message of this request.
Returns: the SOAP message of this request.
getSource¶
setBytes¶
-
void
setBytes
(byte[] bs)¶ Sets the bytes of the SOAP message.
Parameters: - bs – the byte array of the SOAP message.
setHeaders¶
-
void
setHeaders
(MimeHeaders headers)¶ Sets the mime headers of the request.
Parameters: - headers – the mime headers of the request.
setMessage¶
-
void
setMessage
(SOAPMessage message)¶ Sets the SOAP message of this request.
Parameters: - message – the SOAP message of this request.