title: How to specify schema location in an xsd file?
body: <p>I have an xsd file Foo.xsd. I tried following ways to refer it in a WSDL file but it doesnt work.</p>
  
  <p>1) placed the xsd file in local file system and imported it as</p>
  
  <pre><code>&lt;xsd:import namespace="http://ws.test.com/" schemaLocation="file:///D:/wsdl/Foo.xsd"&gt;&lt;/xsd:import&gt;
  </code></pre>
  
  <p>2) Placed the xsd file in web root folder and imported as</p>
  
  <pre><code>&lt;xsd:import namespace="http://ws.test.com/" schemaLocation="http://localhost:8080/Xfire/Foo.xsd"&gt;&lt;/xsd:import&gt;
  </code></pre>
  
  <p>When I run the client I get null for the fields of response object. But this works when I embed the type definition inside the WSDL itself.</p>
  
  <p>How do we specify the path to external xsds?</p>
  
  <p>I am using xFire 1.2.6 for generating webservices. Client is generated using xFire WSGen ant task.</p>