Welcome Guest, Not a member yet? Register   Sign In
xmlrpc request error???

Hello all

i am new to codeigniter and getting error while using XMLRPC for sending a specific xml call to a remote server.  I have tried a lot of array examples but not getting the exact out put from my server.

XML Format we required as output.

<?xml version="1.0" encoding="UTF-8" standalone="yes" ?>
<OTA_HotelAvailRQ xmlns="http://www.opentravel.org/OTA/2003/05">
<RequestorID MessagePassword= "****" ID= "****" Type="CHM"/>
<HotelRef HotelCode="00008382"/>
<StayDateRange Start="2014-12-10" End="2014-12-29">

Already tried structures of array

1. $request = array (
 2.$request = array('Source' => array( 'RequestorID'=>array( 'MessagePassword'=> 'testDataCorp', 'ID'=>'datacorp','Type'=>'CHM')                                      ),array('HotelRef'=>array('HotelCode'=>'00008164')),
                     array('StayDateRange'=>array('StayDateRange (Start)'=>'2016-04-01','StayDateRange (End)'=>'2016-04-12'))

3. array(
        array('MessagePassword', 'testDataCorp'),
        array('ID', 'datacorp'),
         array('Type', 'CHM'),
          array('HotelCode', '00008164'),
           array('StayDateRange(Start)', '2016-04-01'),
           array('StayDateRange(End)', '2016-04-12')

kindly help me so that i can get the exact ouput.
Thanks & Regards
Sandeep Goel

Messages In This Thread
xmlrpc request error??? - by goel.sandy86 - 04-13-2016, 11:24 AM
RE: xmlrpc request error??? - by ciadmin - 04-13-2016, 11:52 AM
RE: xmlrpc request error??? - by goel.sandy86 - 04-14-2016, 10:05 AM

Theme © iAndrew 2016 - Forum software by © MyBB