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!
XML Cross Domain Posting Question
Hello,
Does anyone know whether Suitelet Script support calling webservice from another domain?
I've tried to post an xml from my suitelet script to another domain, and I hope to have the response shown in my browser.
I'm wondering why I couldn't receive anything in the response body.
Below is my code, I'll be appreciated if somebody help me out.
Thanks.
function etest(){
var sWSDL="http://www.echosign.com/services/EchoSignDocumentService7";
var sPort="";
var posturl="";
var apiKey = "cn5y387gxr";
var echoSignXmlmessage = "";
var echoSignXmlmessage1 = "";
var postdata=null;
var testHttpResponse = null;
var strHttpRes1 = "";
var strHttpRes2 = "";
var strBody = new Array();
var strErr = null;