WebServiceHost
Specifies an optional override for the NetSuite web service host, such as webservices.na1.netsuite.com.
Data Type
string
Default Value
""
Remarks
This property should only be set if the web service host cannot be dynamically resolved. By default, the provider automatically retrieves the correct web service host for the NetSuite account, which requires an additional request when establishing a new connection.
Setting WebServiceHost manually can help:
- Avoid the extra request required to determine the host dynamically.
- Resolve connection issues if the service host is not being detected correctly.
Formatting Requirements
- The host URL should follow this format: [accountId].suitetalk.api.netsuite.com
- The account ID must be in lowercase, and any underscores (_) in the ID should be replaced with hyphens (-).
Finding the Web Service Host
- Log in to NetSuite as an administrator.
- Navigate to Setup > Company > Company Information.
- Under the Company URLs tab, locate the SuiteTalk URL.
This property applies only when Schema is set to SuiteTalk.