php soapClient-不生成任何XML,_getFunctions()为空-无错误
我正在运行php-5.3.3-27.el6_5.1.x86_64 具有 php-soap-5.3.3-27.el6_5.1.x86_64 php-xml-5.3.3-27.el6_5.1.x86_64 libxml2-2.7.6-14.el6_5.2.x86_64 我正在尝试访问affilinet Web服务(我也尝试了其他Web服务,结果相同) $soap\u client->\u\u getFunctions()不返回任何内容 发送的SOAP请求仅包含用户名、密码、WebServiceType三个值,没有XML结构php soapClient-不生成任何XML,_getFunctions()为空-无错误,php,soap,soap-client,Php,Soap,Soap Client,我正在运行php-5.3.3-27.el6_5.1.x86_64 具有 php-soap-5.3.3-27.el6_5.1.x86_64 php-xml-5.3.3-27.el6_5.1.x86_64 libxml2-2.7.6-14.el6_5.2.x86_64 我正在尝试访问affilinet Web服务(我也尝试了其他Web服务,结果相同) $soap\u client->\u\u getFunctions()不返回任何内容 发送的SOAP请求仅包含用户名、密码、WebServiceTyp
$soap_client = new SoapClient($this->wsdl, array('trace'=>true, 'encoding'=>'UTF-8'));
var_dump($soap_client->__getFunctions());
$params->Username = $this->id;
$params->Password = $this->password;
$params->WebServiceType = "Product";
try {
$result = $soap_client->Logon($params);
//new SoapParam($this->id,"Username"),
//new SoapParam($this->password,"Password"),
//new SoapParam("Product","WebServiceType"));
} catch(Exception $ex) {
}
好的,在写下问题的时候我想出来了: 安装32位的libxml2包(libxml2-2.7.6-14.el6_5.2.i686)解决了这个问题