Hi.
I have wsdl file that describes my webservice (all types, and all webservice methods). I use it to build my server like this:
$server = new nusoap_server('ws.wsdl'); |
so I don't have to use addComplexType method. It's quite complicated to use.
But how can I register my own methods. Any use of register ends with error:
$server->register('helloworld'); |
error: You cannot bind to an external WSDL file, and register methods outside of it! Please choose either WSDL or no WSDL.
How can I map PHP functions to methods described in wsdl file?