title: axis wsdl2java fails reading schema with special characters
body: <p>I'm trying to generate a Java Client with the axis using <code>wsdl2java</code> (wrapped by the maven axistools).</p>
  
  <p>I downloaded the wsdl and the corresponding schema.</p>
  
  <p>The wsdl has the following schema definitions:</p>
  
  <pre><code>&lt;wsdl:types&gt;
  &lt;xsd:schema 
    targetNamespace="http://example.com/CM_IntegrationService/"
    xmlns:pref="http://example.com/CM_IntegrationService" 
    xmlns:xsd="http://www.w3.org/2001/XMLSchema"&gt;
      &lt;xsd:import namespace="http://example.com//CM_IntegrationService"
        schemaLocation="CM_IntegrationService?xsd=ServiceModel_CM_IntegrationService.xsd"/&gt;
  </code></pre>
  
  <p>In short:</p>
  
  <blockquote>
    <p>schemaLocation="CM_IntegrationService?xsd=ServiceModel_CM_IntegrationService.xsd"</p>
  </blockquote>
  
  <p>The error shows as:</p>
  
  <blockquote>
    <p>[ERROR] Failed to execute goal org.codehaus.mojo:axistools-maven-plugin:1.4:wsdl2java
    (default) on project wsclient-cm: Error generating Java code from WSDL. error running 
    file:/C:/workspace/ws/wsclient-reactor/wsclient-wsdl/src/main/wsdl/CM_IntegrationService.wsdl:</p>
    
    <p>WSDLException (at /wsdl:definitions/wsdl:types/xsd:schema): faultCode=OTHER_ERROR:
    An error occurred trying to resolve schema referenced
    at 'CM_IntegrationService?xsd=ServiceModel_CM_IntegrationService.xsd', relative to 
    'file:/C:/workspace/ws/wsclient-reactor/shop-wsclient-wsdl/src/main/wsdl/CM_IntegrationService.wsdl'.:</p>
    
    <p>This file was not found: 
    file:/C:/workspace/ws/wsclient-reactor/wsclient-wsdl/src/main/wsdl/CM_IntegrationService?xsd=ServiceModel_CM_IntegrationService.xsd -> [Help 1]</p>
  </blockquote>
  
  <p>In short file not found for:</p>
  
  <blockquote>
    <p>/C:/workspace/ws/wsclient-reactor/wsclient-wsdl/src/main/wsdl/CM_IntegrationService?xsd=ServiceModel_CM_IntegrationService.xsd</p>
  </blockquote>
  
  <p>Is there a way to specify which schema to use? I saved the schema as <code>ServiceModel_CM_IntegrationService.xsd</code>. However its searching for the full path including <code>=</code> and <code>?</code> which I cannot emulate on the file system.</p>
  
  <p>I don't want to modify the wsdl as suggested in: <a href="https://stackoverflow.com/questions/8344881/wsdl-to-java-client-creation-error">WSDL to Java -client creation error</a></p>
  
  <p><a href="https://stackoverflow.com/questions/4781028/why-is-axistools-maven-plugin-trying-to-access-this-relative-schema-location">Why is axistools-maven-plugin trying to access this relative schema location?</a> looks similar however using the <code>useEmitter=true</code> option didn't help.</p>