我试图通过PHP和SoapClient简单地将RAW xml发送到web服务.问题是当我对XML进行编码时,它会改变转换为关联数组的XML中元素的顺序.
// Initialize the Soap Client:
$this->_transactionServicesClient = new SoapClient($soapWSDLUrl);
将以下XML作为字符串发送到我的SoapClient的最佳方式是什么或者是什么?
3.0.7
TRANS_SERVICES
Pizza4
1
10.00
112001
1
03:21:05.050505
1
001
xxx
xxx
xxx Rd
xx
xx
xx
None
None
None
1
Update/Resolution: Here is the code I used to extend the SOAP Client and send my raw Soap Envelope: 07000