Hi,My requirement is to call an ipl file from a java script function using Call Server and the ipl calls back another function in the java script.IWDatacapture.callServer("http://"+server+"/httpd/iw-bin/foo.ipl");This piece of code is not functioning and am not able to call the ipl file.The ipl in return does not call the other function in the java script.Thanks in advance.
ya checked it too..var server = window.location.hostname;alert gives the correct value of the server variable.
I tried it this way also.. i tried passing parameters but didnt work. IWDatacapture.callServer("http://"+server+"/httpd/iw-bin/foo.ipl", param ,true);
IWDatacapture.callServer("http://"+server+"/iw-bin/foo.ipl", param ,true);
After removing /httpd the call is as "http://"+server+"/iw-bin/foo.ipl" but does not call the the other function in the js from ipl.
After removing the /httpd,an internal server error occurs when the alert value is put within the browser.After removing /httpd the call is as "http://"+server+"/iw-bin/foo.ipl" but does not call the the other function in the js from ipl.
IWDatacapture.callServer("/iw-bin/foo.ipl", param, true);
print "Content-type: text/html\n\n";
Hi Neelima, plz try it first on the browser by just putting the following URL:-http://+ serverIP +/iw-bin/foo.ipl.if it gets error, then there is problem in your ipl. otherwise this URL even work with your code of Js.
I have tried it with several other correct ipl files. It shows as server error for all ipl files that are opened in the browserERROR MESSAGE:Internal Server ErrorThe server encountered an internal error or misconfiguration and was unable to complete your request.Please contact the server administrator, you@yourdomain.com and inform them of the time the error occurred, and anything you might have done that may have caused the error.More information about this error may be available in the server error log.