这是我的代码(尝试使用SAP Webservice)
$options = array(
'exceptions'=>true,
'trace'=>1,
'encoding' => 'UTF-8',
"login" => $this->ws_username,
"pass" => $this->ws_password
);
$this->client = new SoapClient($uri,$options);
print_r($this->soap_result);
这是结果(地址不是真实的,而是相同的结构)
Array
(
[message] =System error
[soap_exception] =SOAP-ERROR: Parsing WSDL: Couldn't load from 'http://subdomain.sap.domain.com:50000/dir/wsdl?p=sa/Fca45c5131bb33eb0a4v5f1977ca80b92&WSDL' : failed to load external entity "http://subdomain.sap.domain.com:50000/dir/wsdl?p=sa/Fca45c5131bb33eb0a4v5f1977ca80b92&WSDL"
)
关于可能出现的问题的任何想法?
我认为你应该使用"密码"而不是"pass"