我有以下PHP示例代码:
$client = new SoapClient("http://example.com/example.wsdl");
$h = Array();
array_push($h, new SoapHeader("http://example2.com/example2/", "h", "v"));
$client->__setSoapHeaders($h);
$s = $client->__soapCall('Op', $data);
我的问题:soapyHeader()和\uu setSoapHeaders()部分的SOAPpy等价物是什么?在
下面是一个使用suds库(SOAPpy的替代品)的示例。它假定wsdl中没有定义自定义头。在
相关问题 更多 >
编程相关推荐