Jump to content

Couldnt overcome ' WebServiceError is not defined'


rathav

Recommended Posts

Hi all,I'm writing a script to communicate with the server(apache ODE server). I'm encountering an exception states,'WebServiceError is not defined' and couldnt get any output. I couldnt overcome this issue..Any help will be really usefull to me.Thanks.Ratha.Ps;This is my script,function getAllInstaces() { try{ instances_available = InstanceManagementService.listAllInstances(); return instances_available; } catch(err) { if (typeof err == "string") { alert("Exception Occurred " +err.toString()); } else { alert("Exception Occurred!" + err); } } x=instances_available.getElementsByTagName("iid"); for (i=0;i<x.length;i++) { document.write(x.childNodes[0].nodeValue); document.write("<br />"); } } getAllInstaces();

Link to comment
Share on other sites

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...