Integration Server 10.11 | Built-In Services Reference Guide | SOAP Folder | Summary of Elements in this Folder | pub.soap.utils:createSoapData
 
pub.soap.utils:createSoapData
WmPublic. Creates a SOAP object consisting of SOAP envelope, body, and header entries.
Input Parameters
encoding
String Optional. Specifies the encoding method. Default value is UTF-8.
addEmptyHeader
String Optional. Specifies whether to create an empty header entry along with the SOAP envelope and body entries in the SOAP message. Set to:
*True to create an empty header entry in the SOAP message.
*False to create only the SOAP envelope and body entries.
This setting overrides the global watt.server.SOAP.addEmptyHeader setting of Integration Server.
Important:
There is no default value. If you do not specify a value for the addEmptyHeader parameter, the service adds an empty header entry, which is equivalent to setting addEmptyHeader to True.
soapProtocol
String Optional. Indicates the SOAP protocol that the SOAP object works with. The default value is read from the watt.server.SOAP.defaultProtocol property. Set to:
*SOAP 1.1 protocol to indicate the SOAP object works with SOAP 1.1.
*SOAP 1.2 protocol to indicate the SOAP object works with SOAP 1.2.
Output Parameters
soapData
Object SOAP object.
Usage Notes
The encoding parameter can support incoming SOAP messages in any encoding. Outgoing messages, however, are always encoded in UTF-8.
See Also
pub.soap.utils:addHeaderEntry
pub.soap.utils:addBodyEntry
pub.soap.utils:addTrailer