- 写了个soapServer
$server = new SoapServer('xxoo.wsdl');
$server->setClass('URClassName');
$server->handle();
$client = new SoapClient("xxoo.wsdl");
$client->__call($function_name,$arguments);
- server端返回“SOAP: looks like we got no XML document”
- 查看nginx error日志
PHP message: PHP Deprecated: Automatically populating $HTTP_RAW_POST_DATA is deprecated and will be removed in a future version. To avoid this warning set 'always_populate_raw_post_data' to '-1' in php.ini and use the php://input stream instead. in Unknown on line 0”
- 使用的是php56,按照报错信息提示设置php.ini
always_populate_raw_post_data = -1