WebServiceHost
An optional override for the web service host such as webservices.na1.netsuite.com.
Data Type
string
Default Value
""
Remarks
This is an override for the web services host if for some reason the host cannot be dynamically resolved. It should not normally need to be specified.
In most cases the web service host will be dynamically determined by using the NetSuite web service request that retrieves the correct web service host for your Account. This will result in one extra request each time you create and establish a new connection. If you would like to avoid this extra request or are having difficulty getting the service host to be resolved, you can instead set the WebServiceHost to override it.
The web service host should be in the format. Note that any '_' in the account id should be replaced with a '-'. The account id should be in all lowercase: [accountId].suitetalk.api.netsuite.com
The web service host may be obtained by logging into NetSuite as an administrator and navigating to Setup --> Company --> Company Information. Under the Company URLs tab, find the url listed under the SuiteTalk url.