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.
Please note that on Saturday, April 11, 2026, at 8:00 PM Pacific time, our Case Management System will undergo a scheduled maintenance for approximately 30 minutes. During this time, case creation via SuiteAnswers will be unavailable and inbound calls will be routed to Customer Service.
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;
0