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.
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!
How to register NetSuite SOAP API using Groovy Script?
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
Tagged:
0