Downloading Sample Applications
To familiarize yourself with NetSuite web services, we encourage you to download our sample Java application. This command-line application demonstrates some of the key platform features.
The Java sample application require version 1.4 or higher of the Apache Axis framework and a NetSuite patch for cookie management (please see the NetSuite Help Center for details).
SOAP web services developers can download sample applications from the link:
Download Java -Apache Axis sample application
PHP Toolkit
The PHP toolkit simplifies the process of developing integrations that use PHP 5.6 or later. The toolkit enables auto-completion in major IDEs such as Eclipse for records, fields, operations, and arguments. This makes PHP programming with SuiteTalk faster and less error prone. The toolkit supports all SOAP web services operations. The toolkit also includes a sample application modeled after a typical e-commerce integration.
-
Download the toolkit PHP_Toolkit_2025_1 file.
-
Unzip the file and save the toolkit files to the project folder in your IDE.
-
Start using the toolkit by adding a
require_once
statement. For example:require_once 'PHPToolkit/NetSuiteService.php';
-
Configure the connection parameters such as server, email, and password by modifying the defaults in the NSconfig.php file.
-
In the php.ini configuration file, in the section [Dynamic Extensions], add the following lines, if they do not already exist:
extension=php_soap.dll
extension=php_openss.dll
If you are configuring the PHP Toolkit to run on a Unix-based platform, change the Windows .dll
extension to a .so
extension.
For a Windows installation of PHP, change the caching directory to something similar to: soap.wsdl_cache_dir="c:/Windows/Temp"
SOAP messages are logged in the PHPToolkit/nslog directory. If you do not want the messages logged, delete the directory.
For more information about the PHP toolkit, see SOAP Web Services PHP Toolkit.
Sample Files for REST Web Services
To familiarize yourself with REST web services, you can download a Postman environment template and a Postman sample request collection. These resources show you how to set up your NetSuite integration and send REST requests.
For information about downloading and using the Postman environment template and samples, see Using Postman with REST Web Services.