Jump to content

Couldnt overcome ' WebServiceError is not defined'


rathav
 Share

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

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
 Share

×
×
  • Create New...