Search code examples
jqueryweb-serviceswsdl

access webservice wsdl from jquery


Are there any examples that i can find to know access wsdl operations from the jquery? i got an wsdl with 3 operations on it. (add , update , delete) how can i pass the parameters for these operations from the jquery? is there any specific way to do that? Appreciate your guidance. Thank you all in advance.


Solution

  • If the web service is not running on the same origin (host:port) as your site it won't work due to same-origin-policy. You can use a serverside script (PHP, Python, etc.) to proxy the requests though.

    If the origins are the same, have a look at Simplest SOAP example