Discussions

Check out Oracle NetSuite upcoming events and conferences here
Now is the time to ask your NetSuite-savvy friends and colleagues to join the NetSuite Support Community! Refer now! Click here to watch and learn more!
Update your Profile with your Support type to get your Support Type badge.
Expand your NetSuite knowledge by joining our Ask A Guru Live sessions. RSVP on this event now.
Community Poll: What sort of content would you like to see more of?

How to register NetSuite SOAP API using Groovy Script?

edited Dec 23, 2022 10:46PM in Ask A Guru 3 comments

Dear All

I'm trying to register NetSuite SOAP API in Oracle Engagement Cloud Application Composer and invoke the API using groovy script.

get is one of the methods from the web service that is available to be selected from the groovy script from the registration. This method has the parameters passport, tokenPassport, applicationInfo, partnerInfo, preferences and baseRef, which are all maps.

When I try to pass the baseRef map with attributes externalId and type, I get the below error message:

Error

Client received SOAP Fault from server : org.xml.sax.SAXException: {urn:core_2017_1.platform.webservices.netsuite.com}BaseRef is an abstract type and cannot be instantiated

Howdy, Stranger!

Log In

To view full details, sign in.

Register

Don't have an account? Click here to get started!

Leaderboard

Community Whiz

Quarter 2 (Apr-Jun 2024)

This Week's Leaders

This Month's Leaders

All Time Leaders