title: how to create soap xml request in php
body: <pre><code>&lt;?xml version="1.0" encoding="utf-8"?&gt;
  &lt;soap:Envelope xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:soap="http://schemas.xmlsoap.org/soap/envelope/"&gt;
    &lt;soap:Body&gt;
      &lt;SubmitRequest xmlns="http://tripauthority.com/hotel"&gt;
        &lt;siteID&gt;string&lt;/siteID&gt;
        &lt;username&gt;string&lt;/username&gt;
        &lt;password&gt;string&lt;/password&gt;
        &lt;xmlFormattedString&gt;string&lt;/xmlFormattedString&gt;
      &lt;/SubmitRequest&gt;
    &lt;/soap:Body&gt;
  &lt;/soap:Envelope&gt;
  </code></pre>
  
  <p>we have to call above soap xml. i have siteID, username, password.
  where string is below</p>
  
  <pre><code>&lt;ArnRequest&gt;&lt;Availability DisplayCurrency="USD" SearchTimeout="15"&gt;&lt;HotelAvailability InDate="2007-04-26" OutDate="2007-04-29" Rooms="1" Adults="2" Children="0"&gt;&lt;Hotel HotelID="8800"/&gt;&lt;/HotelAvailability&gt;&lt;/Availability&gt;&lt;/ArnRequest&gt;
  </code></pre>
  
  <p>i have no idea on soap request. Please help with this to get response on above soap xml in PHP. The above xml is of ARN(Alliance reservations)
  thanks in advance.</p>