title: SOAP returning invalid XML response
body: <p>I'm using Zend_Soap_Client object for sending a soap request to another application here is the format of the XML that it's sending to the server:</p>
  
  <pre><code>&lt;?xml version="1.0" encoding="UTF-8"?&gt;
  &lt;env:Envelope xmlns:env="http://www.w3.org/2003/05/soap-envelope" xmlns:ns1="urllocation" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:enc="http://www.w3.org/2003/05/soap-encoding"&gt;&lt;env:Body&gt;&lt;ns1:isAccountActive env:encodingStyle="http://www.w3.org/2003/05/soap-encoding"&gt;&lt;param0 xsi:type="xsd:string"&gt;thisisatest&lt;/param0&gt;&lt;/ns1:isAccountActive&gt;&lt;/env:Body&gt;&lt;/env:Envelope&gt;
  </code></pre>
  
  <p>I'm using it on the other SOAP servers that I have and seems to work fine but one of the server returned a response <em>"Invalid XML"</em> that is why I'm really wondering why <em>it won't work on that server alone</em>. Any ideas would be greatly appreciated.</p>
  
  <p><strong>Additional Details</strong>:</p>
  
  <p>I've tried to commentout the code that calls the method from the Server here is the code:</p>
  
  <pre><code>$client = new Zend_Soap_Client(null,
              array(
                  'uri'=&gt;'http://'.$user-&gt;customconfigs['alumniuri'],
                  'encoding'=&gt;'UTF-8',
                  'location'=&gt;'http://'.$user-&gt;customconfigs['alumnilocation']
              )
          );
          echo "Location: {$user-&gt;customconfigs['alumnilocation']} - uri: {$user-&gt;customconfigs['alumniuri']}";
          $alumniactive = $client-&gt;isAccountActive($token);
  </code></pre>
  
  <p>upon commenting out:</p>
  
  <pre><code>$alumniactive = $client-&gt;isAccountActive($token);
  </code></pre>
  
  <p>the error disappeared.This is the same codes from my other applications and it's working fine from there.</p>