Sorry, webservice newbie issue |
Site Admin
|
should be corrected to
|
||||||||||||||||
|
hmmmm I didnt use wsdl in my example though |
|
thankyou so much for looking at my problem! unfortunatly I didnt use wsdl in my example, that was what I was going to try as my next attempt at making this work. I tried your solution just for the heck of it though and got this error "operation echoString not present", which I sorta expected. I also corrected some syntactic errors in my code, first I forgot to declare an instance of the server object, which I did. and I removed a silly semicolon that creaped in to one of my if conditions. but the original error still persists "Response not of type text/xml". the link to it is
https://myserver/soap/client_example.php thankyou so much for your help:-) I aprecciate it!! |
||||||||||||
_________________ Adam |
Site Admin
|
Adam,
if you use nusoap, with https://myserver/soap/client_example.php you get a user-friendly _DESCIPTION_ on the service, which certainly is not an XML. Use https://myserver/soap/client_example.php?wsdl instead. |
||||||||||||
|
|
Hi thankyou for helping, I have solved the issue. It turns out that I was pointing th soapclient to the wrong file, (in fact I was pointing it to the function sort of, so what I should have is
$s = new soapclient('https://myserver/soap/server_examle.php'); This solved it, the problem was that it was pointing to a file that didnt exist (hence the 404 lol). As for the wsdl, I have done that as well today and that works fine to, the original example here would never work that way since I am using the other of the two service methods that does not use a wsdl. As you can see I dont register any complex types in my original example. but now I have both methods working just fine, once again thankyou so much for your help! Next time your in Vancouver, BC the beers are on me adam@webmedtechnology.com |
||||||||||||
_________________ Adam |
Sorry, webservice newbie issue |
|
||
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