DOM Builder Reference > QDoc-Specific API Methods > createSOAPMessage
  
createSOAPMessage
This method creates a SOAP 1.0 envelope with a valid QDoc SOAP header, and wraps the designated QDoc into the SOAP body. It is useful for packaging a QDoc in the form that would be required for a Web service request or response.The following table lists parameters of createSOAPMessage.
 
Parameter Name
Type
Description
I/O
Req
senderURL
Char
URL that identifies the sending party or application.
I
N
receiverURL
Char
URL that identifies the receiving party or application.
I
N
senderDocumentId
Char
Locally unique identifier for the QDoc SOAP message being generated.
I
N
documentStandard
Char
Identifies the standard or specification to which the QDoc content conforms. Normally set to qdoc.
I
N
documentType
Char
Identifies the type of QDoc being created. Normally set to the QDoc root element name.
I
N
documentVersion
Char
Identifies the version of the QDoc being created. Normally set to the QDoc version attribute.
I
N
confirmationLevel
Char
Indicates whether or when a response to the created QDoc-based message is required at some later time, for confirmation purposes. Normally set to all, error, or none.
I
N
senderDocumentRef
Char
Reference to a business or data object in the sending application.
I
N
receiverDocumentRef
Char
Reference to a business or data object in the receiving application.
I
N
timeZone
Char
Time zone of the system creating the request, in the format of the QAD Enterprise Applications Time Zone field (tzo_mstr.tzo_label) maintained in Multiple Time Zones Maintenance (36.16.22.1) or the Time Zone field (qqc_ctrl.qqc_timezone) maintained in Q/LinQ Control (36.8.24).
I
N
requestRootNode
Handle
X-NODEREF object pointing to the root element node of the QDoc to be included in the SOAP message.
I
Y