Created
November 2, 2015 18:54
-
-
Save qetr1ck-op/e0efd1cb0d63ba2b1350 to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
$.soap({ | |
url: 'http://my.server.com/soapservices/', | |
method: 'helloWorld', | |
data: { | |
name: 'Remy Blom', | |
msg: 'Hi!' | |
}, | |
success: function (soapResponse) { | |
// do stuff with soapResponse | |
// if you want to have the response as JSON use soapResponse.toJSON(); | |
// or soapResponse.toString() to get XML string | |
// or soapResponse.toXML() to get XML DOM | |
}, | |
error: function (SOAPResponse) { | |
// show error | |
} | |
}) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment