Example 8: Using INGOMX Directives for defining SOAP Data
The following is an example that demonstrates the use of a SOAPAction header.
server = 'www.mywebservice.com'
port = 80
path = '"/stockprice.asmx"'
data =,
'<Ingomx_Directives>'||,
,
'<Ingomx_SoapAction>'||,
'SOAPAction: "http://www.mywebservice.com/GetPrice"'||,
'</Ingomx_SoapAction>'||,
,
'<Ingomx_SOAP_Body>'||,
,
' <GetPrice xmlns="http://www.mywebservice.com/">'||,
' <symbol>IBM</symbol>'||,
' </GetPrice>'||,
,
'</Ingomx_SOAP_Body>'||,
,
'</Ingomx_Directives>'
address NetVAsIs 'PIPE VAR DATA | COLLECT'
'|NETV INGOMX SOAP SERVER='server 'PORT='port,
'PATH='path 'DATA=* TYPE=NONE PROTOCOL=HTTP',
'|CONSOLE ONLY'