try { NetSuiteServiceLocator service = new NetSuiteServiceLocator(); service.setMaintainSession( true ); NetSuitePortType port = service.getNetSuitePort(); RecordRef role = new RecordRef(); Passport passport = new Passport(); passport.setEmail( "**************" ); passport.setPassword( "************" ); role.setInternalId("3"); passport.setRole( role ); passport.setAccount( "**************" ); StatusDetail[] status = port.login( passport ).getStatus(); Customer cust = new Customer(); cust.setEntityId("Webservice Company"); cust.setCompanyName("Bla Bla"); cust.setInternalId("9000"); // Tried without this as well cust.setPhone("111111111111"); WriteResponse response = port.add( cust ); port.logout(); } catch (Exception e) { e.getMessage(); } I get no exceptions, and it must be logging in because if I change the username, password or account it will give me error messages. It runs without any warnings or errors, but it doesn't add a customer. Any ideas?