View Full Version : Accessing WSDL webservice in Javascript

10-01-2008, 12:14 PM
I am trying to connect to the following web service in JavaScript:

I wanna request the 'login' operation within the webservice which takes two parameters; username and password. I am not sure how to do this and have googled frantically!Initially ive done this:
xmlhttp = new XMLHttpRequest();
xmlhttp.open("GET", "https://vula.uct.ac.za/sakai-axis/SakaiLogin.jws?wsdl",false);
but from there I dont know how to acces the 'login' operation.i tried xmlhttp.send("login","usrname","password") but no luck there either.

I also tried something like:
xmlhttp.open("POST", "https://vula.uct.ac.za/sakai-axis/SakaiLogin.login?wsdl", false, "username","password");

But that doesnt work either.
Would REALLY appreciate some insight into this.

EZ Archive Ads Plugin for vBulletin Copyright 2006 Computer Help Forum