use Think\Action;
class AdbServiceApiAction extends Action {
用tp框架开发soap服务端反回数据时,有两个项目,
一个项目没有用命名空间,就成功返回数据,另一个顶目用了下面的命名空间,就报错looks like we got no xm
namespace Action\Api;
use Think\Action;
另外
soap 服务端用的是NON-WSDL模式,用命名空间时,new时有加了斜线,$soapServer=new \SoapServer(null,$parameter);
服务端SOAP 类底部是
$parameter=array(
'uri'=>'namespace',
'location'=>'http://localhost/'
);
$soapServer=new \SoapServer(null,$parameter);
$soapServer->setClass('AdbServiceApiAction');
$soapServer->handle();
TP用的是3.2版本,旧项目
最佳答案
