title: Connect to sample SOAP 1.1 with PHP
body: <p>Hello i need to connect to SOAP web services with password, username and SourceId in <strong>php</strong>.
  the SOAP request is: </p>
  
  <pre><code>POST /webservices/AgentOnlineReservation.asmx HTTP/1.1
  Host: 54.228.189.53
  Content-Type: text/xml; charset=utf-8
  Content-Length: length
  SOAPAction: "http://tempuri.org/GetHotelsData"
  
  &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;GetHotelsData xmlns="http://tempuri.org/"&gt;
        &lt;SourceId&gt;string&lt;/SourceId&gt;
        &lt;UserName&gt;string&lt;/UserName&gt;
        &lt;Password&gt;string&lt;/Password&gt;
      &lt;/GetHotelsData&gt;
    &lt;/soap:Body&gt;
  &lt;/soap:Envelope&gt; 
  </code></pre>
  
  <p>Please help me.</p>