几天来,我一直在努力为具有以下格式的 SOAP Web 服务在 PHP 中创建 xml:
<?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>
<GetPaynetReference xmlns="http://www.test.com.mx/">
<issuerCod>408ddf42-6426-45bf-b684-be6c864ed4d2</issuerCod>
<description>test</description>
<params>
<Parameter>
<Name>Reference</Name>
<Value>123< Value/>
</Parameter>
<Parameter>
<Name>Amount</Name>
<Value>10.0< Value/>
</Parameter>
<Parameter>
<Name>DueDate</Name>
<Value>31/08/2013< Value/>
</Parameter>
</params>
</GetPaynetReference>
谁能指出我正确的方向或提供有关如何完成此操作的代码示例?