title: Web Service URL in SoapClient and SOAP-ERROR: Parsing WSDL error
body: <p>There is a web service URL which returns a country's cities details. I can access this web service URL in browser by direct Http Request using GET method
   and works fine :</p>
  
  <p><em>[Snip: I changed my actual domain name with <code>example</code>]</em></p>
  
  <pre><code>http://alpha.example.com/WSV2/StaticData.php?xml=&lt;StaticDataRequest&gt;&lt;Header&gt;&lt;Code&gt;TT4533&lt;/Code&gt;&lt;Username&gt;skyman211&lt;/Username&gt;&lt;Password&gt;ammkj43&lt;/Password&gt;&lt;/Header&gt;&lt;Body&gt;&lt;GetStaticData&gt;cities&lt;/GetStaticData&gt;&lt;ExtraParams&gt;&lt;CountryCode&gt;67&lt;/CountryCode&gt;&lt;/ExtraParams&gt;&lt;/Body&gt;&lt;/StaticDataRequest&gt;
  </code></pre>
  
  <p>But when I try to access above URL via SoapClient :</p>
  
  <pre><code>/* Line 36 */
  $cities = new SoapClient("http://alpha.example.com/WSV2/StaticData.php?xml=&lt;StaticDataRequest&gt;&lt;Header&gt;&lt;Code&gt;TT4533&lt;/Code&gt;&lt;Username&gt;skyman211&lt;/Username&gt;&lt;Password&gt;ammkj43&lt;/Password&gt;&lt;/Header&gt;&lt;Body&gt;&lt;GetStaticData&gt;cities&lt;/GetStaticData&gt;&lt;ExtraParams&gt;&lt;CountryCode&gt;67&lt;/CountryCode&gt;&lt;/ExtraParams&gt;&lt;/Body&gt;&lt;/StaticDataRequest&gt;");
  </code></pre>
  
  <p>Gets me following error :</p>
  
  <pre><code>Fatal error: Uncaught SoapFault exception: [WSDL] SOAP-ERROR: Parsing WSDL:
  Couldn't find &lt;definitions&gt; in 'http://alpha.example.com/WSV2/StaticData.php?xml=
  &lt;StaticDataRequest&gt;&lt;Header&gt;&lt;Code&gt;TT4533&lt;/Code&gt;&lt;Username&gt;skyman211&lt;/Username&gt;
  &lt;Password&gt;ammkj43&lt;/Password&gt;&lt;/Header&gt;&lt;Body&gt;&lt;GetStaticData&gt;cities&lt;/GetStaticData&gt;
  &lt;ExtraParams&gt;&lt;CountryCode&gt;67&lt;/CountryCode&gt;&lt;/ExtraParams&gt;&lt;/Body&gt;&lt;/StaticDataRequest&gt;'
  in /srv/www/htdocs/test/inc/client.php:36 Stack trace: #0 /srv/www/htdocs/test/
  inc/client.php(36): SoapClient-&gt;SoapClient('http://alpha.ex...') #1 /srv/www/
  htdocs/ortmas/index.php(6): InitData-&gt;getCities(67) #2 {main} thrown in /srv/
  www/htdocs/test/inc/client.php on line 36
  </code></pre>