Discussions
Join us for complimentary one-day events around the world and step into a future fueled by AI and limitless potential. Explore new breakthroughs, sharpen your skills, and connect with experts who are shaping what’s next. Experience bold keynotes, interactive learning, and connections that span the global NetSuite community. Discover what's next at SuiteConnect Tour 2026.
Emloyee Update - Error in outbound webservices
This is part of my code where login happens!
----------------------------------------
passport.setAccount(properties.getProperty("login.acct"));
StatusDetail[] status = (port.login(passport)).getStatus();
if (status.length == 0) {
isAuthenticated = true;
System.out.println("Successful Login");
------------------------------------------
And, this is the following code which sets the employee record to be disabled!
boolean giveAccess = true;
String iid = "2230";
Employee exitEmpl = new Employee();
exitEmpl.setInternalId(iid);
exitEmpl.setIsInactive(giveAccess);
WriteResponse response=port.update(exitEmpl);
I am using the netsuite production wsdl 2009 v1 proxy classes and using netsuite sandbox wsdl 2009 v1 in my code.
I could see the message the it got logged in without any problem but it's failing at the port.update operation!