问题描述
我想通过使用soapclient请求给soap服务器 我尝试以下代码:
$wsdl = 'http://myurl/para/sdsd?wsdl';
$soap = new SoapClient($wsdl,array('trace' => 1,'Username' => "myusername",'Password' => "mypassword"));
$xml = array('getCustomerRequest' => array('customerNumber' => '00014' ));
$data = $soap->getCustomer($xml);
return dd($data);
但我仍然遇到错误
A security error was encountered when verifying the message Caused by: An error was discovered processing the <wsse:Security> header in file ....
请问有什么解决办法。
解决方法
暂无找到可以解决该程序问题的有效方法,小编努力寻找整理中!
如果你已经找到好的解决方法,欢迎将解决方案带上本链接一起发送给小编。
小编邮箱:dio#foxmail.com (将#修改为@)