| Author |
Consume web service in javascript
|
forums UseR
Ranch Hand
Joined: Feb 24, 2009
Posts: 169
|
|
Hello,
Can anybody let me know how to consume web service in javascript...
The output of the webservice is another XML file. I am new to XPath. Can you also let me know how to use XPath to get the data out from the web service output, and show it in a simple table with 3 columns...
Here is the output from the web service:
Code:
Thanks
Srinivas
|
 |
Eric Pascarello
author
Rancher
Joined: Nov 08, 2001
Posts: 15357
|
|
Reason you want to do this with JavaScript is?
Eric
|
 |
forums UseR
Ranch Hand
Joined: Feb 24, 2009
Posts: 169
|
|
Eric Pascarello wrote:Reason you want to do this with JavaScript is?
Eric
Thanks for your reply!
The reason is I am working on Yahoo widget, where the only option is to use Javascript.
Unless, if you have better thoughts of using a different language underneath the widget...
Srinivas.
|
 |
salvin francis
Ranch Hand
Joined: Jan 12, 2009
Posts: 915
|
|
http://www.w3schools.com/Xml/xml_parser.asp
http://www.hiteshagrawal.com/javascript/javascript-parsing-xml-in-javascript
|
My Website: [Salvin.in] Cool your mind:[Salvin.in/painting] My Sally:[Salvin.in/sally]
|
 |
forums UseR
Ranch Hand
Joined: Feb 24, 2009
Posts: 169
|
|
Hello,
I am using this blog to script the webservice call...,
I get a "window is not defined" error, in the "prototype.js" library at line 399.
Here is the code am using
Is there a problem with my code above.
thanks
Srinivas
|
 |
 |
|
|
subject: Consume web service in javascript
|
|
|