Webservice not return variables sent to it. |
Site Admin
|
Could you correct and test your function call according to the code below ?
If after all you still don't get the results, I'd recommend you step through the code with debugger. Also, don't forget to update to nusoap 0.6.3 that comes with phped. |
||||||||||||||
|
Site Admin
|
The problem is that according to your WSDL
literal means that you can pass literal parameter, not an array. I'd recommend you use
Have a look at your WSDL. Best regards, Dmitri. |
||||||||||||||||
|
|
Dmitri.
Thanks again for you thoughts. I discovered I could make it work by setting the array to: $params = array("<test xmlns='ns.www.astromatchmaker.com'><strFirstName>Robin</strFirstName><strLastName>Williams</strLastName></test>"); I suspect this has something to do with the "literatal" comment you made. I would be afraid to change the WSDL as you suggested because it is the default setting, and other clients using ASP, ASP.NET, and Javascript are consuming it without a problem. Hate to throw everyone for a loop unless you can give me a good reason for doing so. Remember, I am new at this, so if you have words of wisdom to share, please speak them! |
||||||||||||
|
Site Admin
|
Oh, well,
if you believe literals would add your software a bit more portability and interoperability, great, just go ahead and pass the parameters as you did in a plain text ... I think, we need to post it as a FAQ. Really not an obvious stuff , is it ? Good luck, Dmitri. |
||||||||||||
|
|
FAQ's??? I think we need to tell the world!!!
Maybe it is because I am new to NuSoap and Webservices, but I'll tell you this, I have never been stuck for so long on a problem, nor have I ever posted a problem to so many forums and received so little feedback. I hate to think of the number of people who will get tripped up by using NuSoap to connect to a .NET webservice. Anyways, while I did figure out a way to make it work, it was you who found the real answer. Kudos to the master; grasshopper will be forever thankful. |
||||||||||||
|
Webservice not return variables sent to it. |
|
||
Content © NuSphere Corp., PHP IDE team
Powered by phpBB © phpBB Group, Design by phpBBStyles.com | Styles Database.
Powered by
Powered by phpBB © phpBB Group, Design by phpBBStyles.com | Styles Database.
Powered by