开发者

How to Convert below nested xml into array? [duplicate]

开发者 https://www.devze.com 2023-03-17 02:15 出处:网络
This question already has answers here: Closed 11 years ago. I need to convert this xml into array and then i have to pass that array as a parameter in _soapCall(\"OTA_HotelAvailRQ\",array);
This question already has answers here: Closed 11 years ago.

I need to convert this xml into array and then i have to pass that array as a parameter in _soapCall("OTA_HotelAvailRQ",array); But i don't know how to convert this xml into array. Please help me.

开发者_开发知识库 EUR EN


__soapCall() is a low level function. You are not calling it directly, right? If you do call it directly keep in mind that:

  • The arguments in the array must have the same order that the SOAP endpoint expects
  • The array of arguments should be a flat one (no nested arrays)
0

精彩评论

暂无评论...
验证码 换一张
取 消