title: How can i call and set parameter in header and function in SOAP API in PHP?
body: <p>I Work on Rest API Only and I am new in SOAP API, I am integrating Third Party API Which developed on SOAP API?</p>
  
  <p>How can I call it function "GetAvailibility" and also header and set  the parameter?</p>
  
  <pre><code>THIRD PARTY XML 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:Header&gt;
         &lt;Authenticate xmlns="http://tempuri.org/"&gt;
           &lt;InterfaceCode&gt;10&lt;/InterfaceCode&gt;
           &lt;InterfaceAuthKey&gt;jskjks&lt;/InterfaceAuthKey&gt;
           &lt;AgentCode&gt;ggsjs2222&lt;/AgentCode&gt;
           &lt;Password&gt;abcd&lt;/Password&gt;
         &lt;/Authenticate&gt;
      &lt;/soap:Header&gt;
    &lt;soap:Body&gt;
       &lt;GetAvailibility xmlns="http://tempuri.org/"&gt;
          &lt;strRequestXML&gt;string&lt;/strRequestXML&gt;
       &lt;/GetAvailibility&gt;
     &lt;/soap:Body&gt;
    &lt;/soap:Envelop
  </code></pre>