Discussions
Stay up-to-date with the latest news from NetSuite. You’ll be in the know about how to connect with peers and take your business to new heights at our virtual, in-person, on demand events, and much more.
New AI Community Guidelines. Please review and follow them to ensure AI use stays safe, accurate, and compliant.
Using Axis 2
I am trying to move from Axis 1.4 to Axis 2. I have encountered a few issues.
(1) Axis provides several methods of generating clients. I have used ADB (Axis Data Binding). The generated code has over 650000 lines of code! but fortunately that compiles into a 4.7MB jar file, which is not so bad.
(2) The generated NetSuiteServiceStub.RecordRef class is missing a setType(RecordType rt) similar to the previous API. It has
(3) The generated API is not very elegant. For example to retrieve the status after a login requires 3 calls:
LoginResponse58 r1 = service.login(lg, null, null);
LoginResponse r2= r1.getLoginResponse();
SessionResponse r3=r2.getSessionResponse();
0