Development Considerations Overview

Before you begin writing SOAP web services applications, you should be aware that SOAP web services adhere to the same role-based permission structure enforced in the NetSuite UI. Because a SOAP web services application needs a pair of sign-in credentials to login, its permission to various operations and records is subjected to the role it uses, like it would when it is used for a browser session. For example, a SOAP web services application that logs in with the Accountant role will receive the same permissions as it will logging in to the browser interface using the same role.

Note:

See Roles and Permissions in SOAP Web Services for additional details.

Another characteristic of SOAP web services is that its behavior is similar to that of the NetSuite UI. The workflow of a SOAP web services application and its underlying SOAP exchange with NetSuite tightly mimics the browser interface. For example:

The combination of permission adherence and similar behavioral patterns between SOAP web services and the NetSuite UI provides a consistent and predictable platform for developers.

Important:

When you are unsure of how to achieve something with SOAP web services, try observing how it is done in the UI, then replicate it programmatically.

Note:

A SOAP web services application should use the response object to handle any errors, if any, generated by a Web service operation.

Important:

SOAP web services use the HTTP protocol, therefore service interruptions can occur from time to time. If you receive an HTTP 503 error (Service Unavailable), try sending your SOAP web services request later.

Related Topics

General Notices