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 they provide some documentation for developer to connect them here : https://siteminder.atlassian.net/wik...Retrieve+Rooms

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

<OTA_HotelAvailRQ xmlns="http://www.opentravel.org/OTA/2003/05" Version="1.0" TimeStamp="2005-08-01T09:30:47+02:00" EchoToken="fb57388d" AvailRatesOnly="true">
<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 xmlns="http://www.opentravel.org/OTA/2003/05" Version="1.0" 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...