title: Can't figure out how to create an XML SOAP Post in PHP
body: <p>I searched for examples and more, but it won't work. I don't know how i can create the piece of "POST code" for my xml message. I think i need a soapclient but i dont exactly know how i use one.</p>
  
  <p>The WSDL file address: <a href="https://secure.intelly.nl/webservices/intellymodule001.asmx?WSDL" rel="nofollow">https://secure.intelly.nl/webservices/intellymodule001.asmx?WSDL</a></p>
  
  <p>This is the xml message i created:</p>
  
  <pre><code>&lt;?xml version="1.0" encoding="UTF-8" standalone="no"?&gt;
  &lt;SOAP-ENV:Envelope xmlns:SOAP-ENV="http://www.w3.org/2003/05/soap-envelope" 
          xmlns:soap="http://schemas.xmlsoap.org/wsdl/soap/" 
          xmlns:tm="http://microsoft.com/wsdl/mime/textMatching/" 
          xmlns:soapenc="http://schemas.xmlsoap.org/soap/encoding/" 
          xmlns:mime="http://schemas.xmlsoap.org/wsdl/mime/" 
          xmlns:tns="http://extranet.intelly.nl/module001/" 
          xmlns:s="http://www.w3.org/2001/XMLSchema" 
      xmlns:soap12="http://schemas.xmlsoap.org/wsdl/soap12/" 
      xmlns:http="http://schemas.xmlsoap.org/wsdl/http/" 
      xmlns:wsdl="http://schemas.xmlsoap.org/wsdl/" 
      xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" 
      xmlns:xsd="http://www.w3.org/2001/XMLSchema" &gt;
  &lt;SOAP-ENV:Body&gt;
      &lt;tns:GetDomains xmlns:tns="http://extranet.intelly.nl/module001/"&gt;
          &lt;tns:credentials&gt;
              &lt;ExternalProgramFunction&gt;***&lt;/ExternalProgramFunction&gt;
              &lt;ExternalProgramID&gt;***&lt;/ExternalProgramID&gt;
              &lt;Domain&gt;***&lt;/Domain&gt;
              &lt;Username&gt;***&lt;/Username&gt;
              &lt;Password&gt;***&lt;/Password&gt;
          &lt;/tns:credentials&gt;
          &lt;tns:message&gt;
          &lt;/tns:message&gt;
          &lt;tns:message&gt;
          &lt;/tns:message&gt;
          &lt;tns:searchParameters&gt;
              &lt;OnlyActive&gt;True&lt;/OnlyActive&gt;
          &lt;/tns:searchParameters&gt;
      &lt;/tns:GetDomains&gt;
  &lt;/SOAP-ENV:Body&gt;
  </code></pre>
  
  <p></p>