我在控制台应用程序中使用以下代码:
NetSuiteService service = new NetSuiteService();
Passport passport = new Passport();
passport.account = "TSTDRV976513";
passport.email = "hamzeh.soboh@para-solutions.com";
passport.password = "*******";
RecordRef role = new RecordRef();
role.internalId = "3";
passport.role = role;
Status status = service.login(passport).status;
我收到以下错误:
The request failed with the error message:
<html><head><title>302 Moved Temporarily</title></head>
--
--
</html>
我错过了什么吗?