SoapDataSink
The SoapDataSink
is used to send an XML document as a SOAP message to some web service.
Configuration
Name | Type, usage constraints, defaults | Description |
---|---|---|
service | required: paraVal default: none type: SoapConnectionPool | Defines the web service to use. |
body | optional: paraList default: none type: list of strings | Defines the body of the SOAP request that is sent to the web service. The strings of the list are concatenated and parsed into an XML document that is appended to the SOAP message's body. |
soapAction | optional: paraVal default: unused type: string | Specifies the value of the SOAPAction header. |
Example
<dataSink type="SoapDataSink">
<dp:paraVal name="service" value="${inst.soapService}" />
<dp:paraVal name="soapAction" value="createPerson" />
<dp:paraList name="body">
<value><![CDATA[
<msgns:createPerson xmlns:msgns="http://example/ws/data">
<person>
<name>Hans Muster</name>
<email>[email protected]</email>
</person>
</msgns:createPerson>]]>
</value>
</dp:paraList>
</dataSink>