10.07.2015 Views

SuiteTalk (Web Services) Platform Guide - NetSuite

SuiteTalk (Web Services) Platform Guide - NetSuite

SuiteTalk (Web Services) Platform Guide - NetSuite

SHOW MORE
SHOW LESS

You also want an ePaper? Increase the reach of your titles

YUMPU automatically turns print PDFs into web optimized ePapers that Google loves.

Getting StartedQuick Start20All code samples in this section use the C# language, however these steps are similar for allother languages supported by Microsoft .NET. These languages include Visual Basic, Visual J#,and C++.To use Microsoft .NET with <strong>NetSuite</strong> <strong>Web</strong> services:1. Install the Microsoft .NET framework.Install Microsoft Visual Studio .NET, version 2003 or higher, which includes the .NETframework SDK (RECOMMENDED), or the Microsoft .NET Framework SDK version1.1 (NOT recommended).2. Use the .NET framework SDK to automatically generate the client proxy codeIf using Visual Studio .NET (RECOMMENDED):a. Start Microsoft Visual Studio .NET.b. Create a new project and choose a template, for example, Console Application.c. Once the project has been created, choose Add <strong>Web</strong> Reference.The Add <strong>Web</strong> Reference option may be available in the Project menu. If not, selectAdd Service Reference, click the Advanced button, and click the Add <strong>Web</strong>Reference button.d. In the Add <strong>Web</strong> Reference box, enter the <strong>SuiteTalk</strong> WSDL URL and click the Goicon.The URL for the latest <strong>SuiteTalk</strong> WSDL is: https://webservices.netsuite.com/wsdl/v2012_1_0/netsuite.wsdlNote: Although the material in this guide pertains to <strong>NetSuite</strong>’s latest WSDL, <strong>NetSuite</strong>continues to support endpoints released prior to this version. The 2011.2 endpointis still considered a beta product. Note that the URL to the <strong>SuiteTalk</strong> 2011.1 WSDLis: https://webservices.netsuite.com/wsdl/v2012_1_0/netsuite.wsdle. Visual Studio inspects the WSDL and displays a summary of the availableoperations. If security warnings are displayed, click Yes as many times asnecessary to continue this process.f. Once the summary is displayed, click the Add Reference button to generate theclasses.When this process is complete, com.netsuite.webservices is listed under <strong>Web</strong>References in the Solution Explorer.g. To view all generated proxy classes, do one of the following:• Enable the Show All Files option in the Project menu• (If the above option is not available), right-click the com.netsuite.webserviceslisting in the Solution Explorer and choose View in Object Browser.If using only the Microsoft .NET Framework SDK (NOT recommended):<strong>SuiteTalk</strong> <strong>Platform</strong> <strong>Guide</strong>

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!