私はこれについてしっかりした答えを探しましたが、見つけられませんでした。
私はSOAPも初めてですが、PHPには非常に精通しています。
CURL を使用して SOAP リクエストを送信すると、レスポンスは次のように返されます。
<?xml version="1.0" encoding="utf-8"?>
<soap:Envelope xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:soap="http://schemas.xmlsoap.org/soap/envelope/">
<soap:Body>
<GetFeatureResponse xmlns="http://www.supportsite.com/webservices/">
<GetFeatureResult>**string**</GetFeatureResult>
</GetFeatureResponse>
</soap:Body>
</soap:Envelope>
->GetFeatureResult 'string' を XML なしで MySQL データベースに保存する必要があります。私が試みるすべては空白を返します。これが私が今使っているものです:
$result = curl_exec($curl);
curl_close ($curl);
$resultXML = simplexml_load_string($result);
$item = $resultXML->GetFeatureResponse->GetFeatureResult;