ASAP: need help with nusoap server, client |
|
i'll try to explain, what i'm doing, what i need
i need to create web service: service.php, which will return 'unique' and 'all' statistics, in my provided server code it will return 0 for both values it looks that server works good, because i see such view: -------------------------------------------------------------------------------------- Service View the WSDL for the service. Click on an operation name to view it's details. * getStats -------------------------------------------------------------------------------------- and it generates wsdl file too but all the problems starts at client side: 1. execution is very long 2. execution stops at ... new soapclient(...) line and one more thing: if i'll write in my browser such row: http://localhost/makePhp/service.php/getStats what should happen ? it will execute getStats function or what ? for me it shows the same view like http://localhost/makePhp/service.php |
||||||||||||
|
Site Admin
|
you may want to check this post error-retrieving-data-from-nusoap-webservice-t3091.html
It works with complex types and returns them. I hope you'll manage to get your code to work easily too. |
||||||||||||
_________________ The PHP IDE team |
|
i changed my server in the same way, like it is shown in that post the code:
but it still crashes at client side on this line:
i tried to use web service with .NET 2005, it finds my method getStats, but it returns such errors: The document at the url http://localhost/makePhp/service.php?wsdl was not recognized as a known document type. The error message from each known type may help you fix the problem:
maybe thats the same reason, why it is not working with php client waiting for any ideas..... |
||||||||||||||||||
|
Site Admin
|
probably you have php_soap.dll enabled.
Unfortunately, php_soap developers used the same class names as were originally used in NuSoap and obviously it results in name conflict. I'd recommend you to download the latest nusoap from sf.net and change all classes in your code to "nu" prefixed ones. |
||||||||||||
_________________ The PHP IDE team |
|
4 or 5 days ago I downloaded latest version of nuSoap
and yes, then i had soap.dll enabled, but it returned me an error, that classes names are the same so I disabled soap.dll and there was no problem of such type but after that all the time I have problems with client, the code looks good, but still something is buggy if i'll find source of problem, i'll post it here |
||||||||||||
|
ASAP: need help with nusoap server, client |
|
||
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