SOAPMessageV2 - setEndpoint(String endpoint)

Set the endpoint for the SOAP message.

By default, the SOAP message uses the endpoint specified in the SOAP message record. Use this method to override the default. You must call this method when using the SOAPMessageV2() constructor with no parameters.

Table 1. Parameters
Name Type Description
endpoint String The URL of the SOAP web service provider you want to interface with.
Table 2. Returns
Type Description
var sm = new sn_ws.SOAPMessageV2();