SOAPMessageV2 - setEccParameter(String name, String value)

Override a value from the database by writing to the SOAP message payload.

This method only applies to SOAP messages sent through a MID Server. Use this method when a value from the SOAP message in the database is invalid, such as when the endpoint URL is longer than the maximum SOAP endpoint field length.

These are valid values for the name parameter.
  • source: the endpoint URL.
  • name: the SOAP message function to run.
Table 1. Parameters
Name Type Description
name String The name of the ECC parameter.
value String The value to assign to the specified ECC parameter.
Table 2. Returns
Type Description
void
var sm = new sn_ws.SOAPMessageV2("StockQuote","GetQuote"); //Might throw exception if message doesn't exist or not visible due to scope.
sm.setEccParameter("source","http://very.long.endpoint");