Closed mustafizurrohman closed 8 years ago
My guess is you should set the method correctly, it should match a valid service operation name.
https://github.com/doedje/jquery.soap/blob/master/doc/options.md#method
This was an example. I changed it to a real method name but unfortunately the problem is still there.
Than my advice would be to use the WSDL of your service in the SoapUI application and see what the calls look like in there and try to recreate that with the jquery.soap demo page...
Example code like the one you provided is not helping me in seeing what might be wrong. The method suggestion was merely based on the // optional
remark behind it.... =]
The // optional
and the error message about a missing rootnode.... What does your outgoing XML look like?
Thank you for your kind reply. Here is my outgoing XML.
Hmm, might be needing a namespace for the resetAccount node.... Please try with WSDL and SoapUI... That shows you what the calls should look like..
You are right. Absolutely right. It should be as follows :
Kindly let me know who can I set it. Thank you very much.
add the following:
namespaceURL: "http://tempuri.org",
By the way, to add xml or code to your comments on github you can use the following markdown: fenced code blocks Saves you the trouble of making screenshots ;)
Thank you very much. It still does not work, unfortunately.
try soapui, it really is great for debugging soap...
Thank you. I will. Have a nice day!
you too, good luck and let me know when you do or don't succeed... One last suggestion I would like to give you is looking at the serverside.... Missing the root element might suggest the server is not receiving anything.... Or is looking for the soap message in the wrong place...
(can I close this issue? are you doing fine?)
Sorry for my late response .. Unfortunately I could not get it to work and decided to use something else. Kindly close the issue. Thank you. Have a nice weekend!
Hello, I am facing a problem while calling my asmx SOAP service. My javascript/ajax code is as follows:
For this code I always get the following fail message:
It would be nice if anyone could kindly shed some light on the error. I have been trying to fix this for the last few hours without success. Thank you. Cheers.
Mustafizur