Discussions
Join the NetSuite community to innovate, connect, and discover what’s next.
SuiteWorld brings thousands of innovators, builders, and leaders together to learn, connect, and shape what’s next. This October, explore how to build a stronger foundation for growth through inspiring keynotes, major product reveals, hands-on sessions, and unforgettable moments—all in one place for our biggest event of the year. Register now
SuiteTalk WebServices Platform Guide fails right out the box
The code snippet on page 22 under "Getting started" doesn't even compile.
Passport passport = new Passport();
passport.account = "TSTDRV96";
passport.email = "username@netsuite.com";
RecordRef role = new RecordRef();
role.id = "3";
passport.role = role;
passport.password = "mypassword";
Status status = service.login( passport ).status;
On line#5, it isn't role.id. It's "role.internalId"
Then when I run it, I get "<html><head><title>302 Moved Temporarily</title></head>"
Come on, Netsuite. What a way to make your first impression! Is the rest of the "Guide" full of inaccuracies and outdated information? For crying out loud, it's an online PDF document which would take you very little time to update and reupload.