The following is the script to create a new SOAP Host
var arrAuthenticationParams; arrAuthenticationParams = ["Shared Session", "admin", strPassword, "", ""]; var objAuthenticationSOAP; objAuthenticationSOAP = SOAPAuthenticationManager.createAuthentication("Basic", arrAuthenticationParams); var objSOAPHost; 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; objNewSOAPHost = SOAPHostManager.addHost(objSOAPHost); <== This is the line where it errors at. System.log("The New SOAP Host ID = " + objNewSOAPHost.id);