Download of php-wsdl-2.3-ajax-proxy.zip (php-wsdl-2.3-ajax-proxy.zip ( external link: SF.net): 15,253 bytes) will begin shortly. If not so, click link on the left.

檔案信息

檔案大小
15,253 bytes
MD5
308721f942186363048351517274bdf8

專案描述

Example usage

The fastest usage (ever? ;):

require_once ( 'class.phpwsdl.php' );
PhpWsdl::RunQuickMode ( );

This will run the PHP SoapServer and determine all the configuration, if your webservice handler class is within the same file or in a file named 'class.webservice.php'.

If the webservice handler class is in another file:

require_once ( 'class.phpwsdl.php' );
PhpWsdl::RunQuickMode ( 'class.yourwebservice.php' );

If your webservice needs more files:

require_once ( 'class.phpwsdl.php' );
PhpWsdl::RunQuickMode ( Array ( 'class.yourwebservice.php', 'class.yourcomplextype.php' ) );

Quick, isn't it?

But PhpWsdl can do a lot more for you. See the demos in the downloads for some examples.
Features

parsing of WSDL definitions from comment blocks
creating WSDL even without definitions in comments
caching of the generated WSDL for more performance
support for complex types and arrays
create optimized or human readable WSDL
creat