我是 SOAP API 的新手,我得到了 Web 服务的响应。但我无法将其转换为数组以获取密钥。
<soap:Envelope xmlns:soap="http://schemas.xmlsoap.org/soap/envelope/">
<soap:Body>
<ns2:setTransactionResponse xmlns:ns2="http://soap.api.controller.web.payjar.com/">
<return>
<merchantReference>mercRef_1395758213</merchantReference>
<payUReference>17613281409117</payUReference>
<successful>true</successful>
</return>
</ns2:setTransactionResponse>
</soap:Body>
</soap:Envelope>
慕桂英546537