We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
I have to pass soapAction which includes colon. In my case it must bee urn:getSubscriber, so that's why i have changed your var soapaction.
xmlHttp.open("POST", url, async); var soapaction = "urn:" + method; //must be urn:getSubscriber xmlHttp.setRequestHeader("SOAPAction", soapaction); xmlHttp.setRequestHeader("Content-Type", "text/xml; charset=utf-8");
When i do so my callback always crashes. If i try same action without colon everything works fine.
//Create Callback var soapCallback = function(e){ //Error Uncaught TypeError: Cannot read property 'constructor' of null if(e.constructor.toString().indexOf("function Error()") != -1){ deferred.reject("An error has occurred."); } else { deferred.resolve(e); } } SOAPClient.invoke(url, action, soapParams, true, soapCallback); return deferred.promise; }, setCredentials: function(username, password){ SOAPClient.username = username; SOAPClient.password = password; }
error: Uncaught TypeError: Cannot read property 'constructor' of null
I hope you can help. If you need any additional info. please let me know.
Regards
The text was updated successfully, but these errors were encountered:
No branches or pull requests
I have to pass soapAction which includes colon.
In my case it must bee urn:getSubscriber, so that's why i have changed your var soapaction.
When i do so my callback always crashes. If i try same action without colon everything works fine.
error: Uncaught TypeError: Cannot read property 'constructor' of null
I hope you can help. If you need any additional info. please let me know.
Regards
The text was updated successfully, but these errors were encountered: