title: Cannot import localhost urls from wsdl
body: <p>I am trying to consume a WCF web service (which I did not write myself) using soap on an iPhone. I can test the service using SoapUI and .Net WebService Studio just fine when running the tools on the same web server. But when I try it from an other machine, both tools fail when attempting to import from localhost:</p>
  
  <pre><code>&lt;wsdl:import namespace="http://MyDomain.IGeneralInterface" location="http://localhost:8000/?wsdl=wsdl0"/&gt;
  </code></pre>
  
  <p>wsdl0:</p>
  
  <pre><code>&lt;xsd:schema targetNamespace="http://MyDomain.IGeneralInterface/Imports"&gt;
  &lt;xsd:import schemaLocation="http://localhost:8000/?xsd=xsd0" namespace="http://MyDomain.IGeneralInterface"/&gt;
  &lt;xsd:import schemaLocation="http://localhost:8000/?xsd=xsd2" namespace="http://schemas.datacontract.org/2004/07/MyDomain.IGeneralInterface"/&gt;
  &lt;xsd:import schemaLocation="http://localhost:8000/?xsd=xsd1" namespace="http://schemas.microsoft.com/2003/10/Serialization/"/&gt;
  &lt;xsd:import schemaLocation="http://localhost:8000/?xsd=xsd3" namespace="http://schemas.microsoft.com/2003/10/Serialization/Arrays"/&gt;
  &lt;xsd:import schemaLocation="http://localhost:8000/?xsd=xsd4" namespace="http://schemas.microsoft.com/Message"/&gt;
  &lt;/xsd:schema&gt;
  </code></pre>
  
  <p>I was hoping to be able to use wsdl2objc, but it cannot recognise the import either.</p>
  
  <p>Can anyone please tell me why this is a problem and how to handle it???</p>