Can I use a local WSDL file |
|
It appeared that I should be able to use the nusoap_base function wsdl() to set a local wsdl file.
I get undefined function wsdl() when I use $soapclient->wsdl("http://localhost/myservice,wsdl"); This is after call new soapclient and the URL being used has been verified. What am I doing wrong? |
||||||||||||
|
Site Admin
|
Suppose you have your nusoap server side script accessible as
http://yourserver/path/script.php?WSDL in this case you may open this link in your client browser and see WSDL file content. If you open http://yourserver/path/script.php (without WSDL argument) you'll see "auto" generated help and list of functions and their arguments. If you have too many functions and are afraid of the performance, instead of implementing custom caching, you should use a php cache. There are many cache products available on the market. |
||||||||||||
|
|
I've also learned that I can create my soapclient using the local WSDL and then in the WSDL define the service with a SOAP Address: of the remote service.
I'm trying to get that working but each alternative leads me to new questions and unknowns - oh the fun of learning new things |
||||||||||||
|
Site Admin
|
Yep.
BTW I think the easiest way to learn a long php script is to step through it with a debugger |
||||||||||||
|
Can I use a local WSDL file |
|
||
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