title: PHP SOAP Request not right
body: <p>i try to build following SOAP Request:</p>
  
  <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;CheckSomething xmlns="http://service.mydomain.com/"&gt;
        &lt;User&gt;
          &lt;username&gt;user123&lt;/username&gt;
          &lt;password&gt;geheim&lt;/password&gt;
        &lt;/User&gt;
        &lt;ItemXY&gt;something&lt;/ItemXY&gt;
      &lt;/CheckSomething&gt;
    &lt;/soap:Body&gt;
  &lt;/soap:Envelope&gt;
  </code></pre>
  
  <p>Here is my PHP Code</p>
  
  <pre><code>$soapClient = new SoapClient("http://service.mydomain.com/Services.asmx?wsdl",array( "trace" =&gt; 1 ));
  $Param = array (
    'username' =&gt; "user123",
    'password' =&gt; "geheim"
  );
  $info = $soapClient-&gt;__call("CheckSomething", array("User" =&gt; $Param,"ItemXY" =&gt; "something"));
  echo "Request :\n".htmlspecialchars($soapClient-&gt;__getLastRequest()) ."\n";
  </code></pre>
  
  <p>The result is: </p>
  
  <pre><code>&lt;?xml version="1.0" encoding="UTF-8"?&gt;
  &lt;SOAP-ENV:Envelope xmlns:SOAP-ENV="http://schemas.xmlsoap.org/soap/envelope/" xmlns:ns1="http://service.mydomain.com/"&gt;
  &lt;SOAP-ENV:Body&gt;
  &lt;ns1:CheckSomething/&gt;
  &lt;param1&gt;something&lt;/param1&gt;
  &lt;/SOAP-ENV:Body&gt;
  &lt;/SOAP-ENV:Envelope&gt;
  </code></pre>
  
  <p>This is the wsdl section for this Service:</p>
  
  <pre><code>&lt;s:element name="CheckSomething"&gt;
    &lt;s:complexType&gt;
      &lt;s:sequence&gt;
        &lt;s:element minOccurs="0" maxOccurs="1" name="User" type="tns:Validation"/&gt;
        &lt;s:element minOccurs="0" maxOccurs="1" name="ItemXY" type="s:string"/&gt;
      &lt;/s:sequence&gt;
    &lt;/s:complexType&gt;
  &lt;/s:element&gt;
  </code></pre>
  
  <p>Can anybody help me to form the right SOAP request?</p>
  
  <p>How to remove the <code>ns1</code> in the result Tag an give the correct Array User and ItemXY?</p>