Discussions
Read on for the latest updates including:
• Agenda Builder launch
• SuiteWorld On Air registration
• New NetSuite Prompt Studio Contest
• And more!
Check out this thread to learn more!
SuiteScript 2.1 XML Parsing
I've written a small SuiteScript which calls a web service (SOAP). This works, it successfully calls the web service and returns the response. The issue now is parsing the xml. I've tried everything I can think of from using plain JavaScript, to jQuery, to the functions I've found in SuiteScript and none of it works. Below is the code (without the function that gets the body of the soap message.
When I try to call the function "xml.Parser.fromString" the debugger completely bombs, regardless of the try/catch. If I try to use the console to issue the command it tells me that "xml" is not defined. I've followed the example that is in the N/xml module documentation, but that has not helped.