Direct SOAPMessageV2 example

Direct SOAPMessageV2 example

Direct SOAPMessageV2 example

You can send a SOAP message directly to the endpoint.

In this example, the script sends a SOAP message requesting a stock quote and waits for a
response. If there is no response from the web service provider, or if the specified SOAP
message record is unavailable, the script throws an error, handled in this example by the
try-catch block.