Closed julienwetzel closed 11 years ago
Sorry I reply to you this late. I am really busy at the moment and therefore had not had any time to look into your problem. I am still coping with some heavy deadlines... Are you still having the problem?
No problem. Yes, always
I am sorry it took me so long to respond.... I played around a bit with the plugin in trying to do what you want and I got my server to send me the right response when I did not specify the namespaceQualifier and namespaceURL...
example:
$.soap({
url: 'http://my.server.com/soapservices/',
method: 'helloWorld',
params: {
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
}
});
It then makes a soap request like so:
<soap:Envelope xmlns:soap="http://schemas.xmlsoap.org/soap/envelope/">
<soap:Body>
<helloWorld>
<name>Remy Blom</name>
<msg>Hi!</msg>
</helloWorld>
</soap:Body>
</soap:Envelope>
My server was okay with that... Hope yours will be too! Please let me know...
Hey Guy, I don't speak good English ^^ Sorry
In the README you write output format for the last version:
`<soap:Envelope xmlns:soap="http://schemas.xmlsoap.org/soap/envelope/" xmlns:myns="urn://service.my.server.com">