Call SOAP-XML Web Services With jQuery Ajax

if you would like to call a webservice which returns an XML format, why not have a read at this article:
http://openlandscape.net/2009/09/25/call-soap-xm-web-services-with-jquery-ajax/

function CallClientIDWebService() {
            var URL = "https://test.NJ.samole.com/apps/Service/SampleService/NRK/Employees";
            jQuery.ajax({
                type: "POST",
                url: URL,
                dataType: "xml",
                contentType: "application/xml; charset=utf-8",
                success: function (data) {
                    //edata = $(data).find("string").text();
                    debugger;
                    alert(data);
                }
            })
        }
Advertisements

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s