Php 有骨灰盒的soapAction是什么?

Php 有骨灰盒的soapAction是什么?,php,soap,soap-client,Php,Soap,Soap Client,我想知道什么是soapAction(url),如果它是这样给出的: <soap:operation soapAction="urn:technicalGetData" style="document"/> 你能给我们看一下你的代码吗?你想看哪个部分?客户端呼叫部分请看主要评论,我已经更新了。更新:(客户端调用部分)我可以帮助您使用soapclient,因为它非常简单且易于使用。如果开放使用soapclient,请提供wsdl url。 string(56) "<faultst

我想知道什么是soapAction(url),如果它是这样给出的:

<soap:operation soapAction="urn:technicalGetData" style="document"/>

你能给我们看一下你的代码吗?你想看哪个部分?客户端呼叫部分请看主要评论,我已经更新了。更新:(客户端调用部分)我可以帮助您使用soapclient,因为它非常简单且易于使用。如果开放使用soapclient,请提供wsdl url。
string(56) "<faultstring>Failed to submit the response</faultstring>"
curl_setopt($ch, CURLOPT_URL, 'http://blablabla/service');

curl_setopt($ch, CURLOPT_HEADER, 0);

curl_setopt($ch, CURLOPT_HTTPHEADER, array('Content-Type: text/xml; charset=utf-8','SOAPAction: technicalGetData'));

curl_setopt($ch, CURLOPT_RETURNTRANSFER, 1);

curl_setopt($ch, CURLOPT_VERBOSE, 1); // 1 = for debugging purpose & 0 = production

curl_setopt($ch, CURLOPT_POSTFIELDS, $soaprequest);

$output = curl_exec($ch);