SOAP server, how to

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Hi Fellows, I am new to SOAP or any webservices technology, but i have a
problem to connect an online travel agent (OTA) website to Channel Manager
called Siteminder, and here is their docs

https://siteminder.atlassian.net/wiki/display/SITECONNECT/Retrieve+Rooms

But unfortunately i don’t even understand what is this, how can i create a
SOAP server which able to produce this xml below ( precisely as written in
this docs )

<OTA HotelAvailRQ Versi TimeStamp=“2005-08-01T09:30:47+02:00”
EchoToken=“fb57388d” AvailRates>
  <AvailRequestSegments>
  <AvailRequestSegment AvailReqType=“Room”>
    <HotelSearchCriteria>
      <Criterion>
      <HotelRef HotelCode=“HOTEL1”>
      </Criterion>
    </HotelSearchCriteria>
  </AvailRequestSegment>
  </AvailRequestSegments>
</OTA_HotelAvailRQ>

and this xml as the response of previous xml (if it submitted)

<OTA HotelAvailRS Versi TimeStamp=“2005-08-01T09:30:47+02:00”
EchoToken=“abc123”>
  <Success>
  <RoomStays>
  <RoomStay>
    <RoomTypes>
      <RoomType RoomTypeCode=“SGL”>
      <RoomDescription Name=“Single Room”>
      </RoomType>
    </RoomTypes>
  </RoomStay>
  <RoomStay>
    <RoomTypes>
      <RoomType RoomTypeCode=“DBX”>
      <RoomDescription Name=“Deluxe Double Room”>
      </RoomType>
    </RoomTypes>
  </RoomStay>
  <RoomStay>
    <RoomTypes>
      <RoomType RoomTypeCode=“DBL”>
      <RoomDescription Name=“Standard Double Room”>
      </RoomType>
    </RoomTypes>
  </RoomStay>
  </RoomStays>
</OTA_HotelAvailRS>

 

please kindly help me, and many thanks in advance…




--
View this message in context: http://php-soap.996275.n3.nabble.com/SOAP-server-how-to-tp1446.html
Sent from the Php Soap mailing list archive at Nabble.com.

-- 
PHP Soap Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php






[Index of Archives]     [PHP Home]     [PHP Users]     [Kernel Newbies]     [PHP Database]     [Yosemite]

  Powered by Linux