NuSphere Forums Forum Index
NuSphere Forums
Reply to topic
You cannot bind to an external WSDL file, and register metho


Joined: 21 Jan 2008
Posts: 19
Reply with quote
Hi.

I have wsdl file that describes my webservice (all types, and all webservice methods). I use it to build my server like this:
Code:
$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:
Code:
$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?
View user's profileFind all posts by wenihalSend private message
I have the same doubt


Joined: 14 Oct 2008
Posts: 1
Reply with quote
Does any one can post an example on how to use nusoap_server using a previously defined wsdl?
View user's profileFind all posts by AirenSend private message
You cannot bind to an external WSDL file, and register metho
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
All times are GMT - 5 Hours  
Page 1 of 1  

  
  
 Reply to topic