thinkphp内使用soap把下载的soap解压放到ThinkPHP\Extend\Vendor目录下名字是soap调用方法:functiontest($url,$method,$data){vendor('soap.class#nusoap');//从soap目录导class.nusoap.php类文件$client=newnusoap_client($url."?WSDL","wsdl");$client->soap_defencoding='utf-8';$client->decode_utf8=false;$