Closed samuelcampos closed 11 years ago
could you pass me your $.soap call? When I do:
$.soap({
params: null,
...
});
I don't get any errors
For example, give the following call:
$.soap({
method: 'getMessages',
SOAPAction: this.namespaceURL + '/getMessages',
params: {
language: null,
codes: "code1:code2"
},
success: function(soapResponse) {
...
}
});
When a parameter is NULL, the parameter should be translated to something like:
<language nil="true" />
But I get the error mentioned above.
Ah, now I understand. I will look into it...
Thank you. I am keep testing it but I think it works just fine now :)
cool! you're welcome!
When we try to send NULL parameters trough a SOAP request it fails.
The error shown in FireBug is the following:
This page shows how to handle NULL parameters: http://technet.microsoft.com/en-us/library/ms190796%28v=sql.105%29.aspx