Cloud Application Integration (On-Premises) : Integration Server Built-In Services : SOAP 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
Examples
See the following in the WmSamples package in the certified samples area of the Knowledge Center on the Empower Product Support website at https://empower.softwareag.com:
sample.soap:buildMsg_sendHTTP
Copyright © 2015- 2016 Software AG, Darmstadt, Germany.

Product LogoContact Support   |   Community   |   Feedback