?? readme.txt
字號:
NuSOAP - Web Services Toolkit for PHPCopyright (c) 2002 NuSphere CorporationThis library is free software; you can redistribute it and/ormodify it under the terms of the GNU Lesser General PublicLicense as published by the Free Software Foundation; eitherversion 2.1 of the License, or (at your option) any later version.This library is distributed in the hope that it will be useful,but WITHOUT ANY WARRANTY; without even the implied warranty ofMERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNULesser General Public License for more details.You should have received a copy of the GNU Lesser General PublicLicense along with this library; if not, write to the Free SoftwareFoundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USAIf you have any questions or comments, please email or visit the website:This toolkit is delivered as part of PHPEd IDE by NuSphere and isdistributed with PHPEd and via the nusphere website. For productinformation please see: http://nusphere.com/products/phpadv.htmfor a white paper that provides more detailed information see:http://nusphere.com/products/tech_library.htm.For support, email:support@nusphere.comMore information is also available at:http://dietrich.ganx4.com/nusoapVersion: 0.6.1 - bugfix releaseWHAT IS NuSOAP?NuSOAP is a set of classes that allow users to send and receiveSOAP messages. Also included are utility classes for parsing WSDLfiles and XML Schemas.INSTALLATIONEnter this line at the top of your script:include('/path/to/nusoap.php');USAGE EXAMPLES:BASIC SERVER EXAMPLE<?phprequire_once('nusoap.php');$s = new soap_server;$s->register('hello');function hello($name){ // optionally catch an error and return a fault if($name == ''){ return new soap_fault('Client','','Must supply a valid name.'); } return "hello $name!";}$s->service($HTTP_RAW_POST_DATA);?>BASIC CLIENT USAGE EXAMPLE<?phprequire_once('nusoap.php');$parameters = array('name'=>'dietrich');$soapclient = new soapclient('http://someSOAPServer.com/hello.php');echo $soapclient->call('hello',$parameters);?>WSDL CLIENT USAGE EXAMPLE<?phprequire_once('nusoap.php');$parameters = array('dietrich');$soapclient = new soapclient('http://someSOAPServer.com/hello.wsdl','wsdl');echo $soapclient->call('hello',$parameters);?>PROXY CLIENT USAGE EXAMPLE (only works w/ wsdl)<?phprequire_once('nusoap.php');$soapclient = new soapclient('http://someSOAPServer.com/hello.wsdl','wsdl');$soap_proxy = $soapclient->getProxy();echo $soap_proxy->hello('dietrich');?>
?? 快捷鍵說明
復(fù)制代碼
Ctrl + C
搜索代碼
Ctrl + F
全屏模式
F11
切換主題
Ctrl + Shift + D
顯示快捷鍵
?
增大字號
Ctrl + =
減小字號
Ctrl + -