Orchestrator Workflow Action to Add a SOAP Host

by Simon Sparks · 1 May 2013

The following is the script to create a new SOAP Host

var arrAuthenticationParams = ["Shared Session", "admin", strPassword, "", ""];

var objAuthenticationSOAP = SOAPAuthenticationManager.createAuthentication("Basic", arrAuthenticationParams);

var objSOAPHost = new SOAPHost();
objSOAPHost.name = "CloudLTM-LocalLB.VirtualServer";
objSOAPHost.wsdlLocal = false;
objSOAPHost.wsdlUri = "https://fqdn/WebService.aspx?wsdl";
objSOAPHost.connectionTimeout = 30.0;
objSOAPHost.requestTimeout = 60.0;
objSOAPHost.authentication = objAuthenticationSOAP;

var objNewSOAPHost = SOAPHostManager.addHost(objSOAPHost); <== This is the line where it errors at.

System.log("The New SOAP Host ID = " + objNewSOAPHost.id);

Discover more from Cloud Build Tools

Subscribe to get the latest posts sent to your email.

You may also like