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!
Calling JSON service in Scheduled script
Hello Friends,
I have a requirement to call the JSON web service that i have deployed on a remote server and to pull the data into NS script for further processing. I am using JayRock library to create the JSON service.
The normal way to consume this type of services in client application is to call load the proxy script for the service(this is done at runtime) and the call the method on the proxy object.i.e.
document.write("<script type=\"text/javascript\" src=\"myservice.ashx?proxy\"></script>");
window.onload = function()
{
var a = new myservice();
0