title: SOAP UI not finding WSDL depending XSD files in Spring WS Soap Service
body: <p>I have a Spring SOAP Web service hosting a WSDL that imports several XSD files. The structure inside WEB-INF folder is as this:</p>
  
  <pre><code>WEB-INF
  │   spring-ws-servlet.xml
  │   web.xml
  │
  └───Esquemas
      │   composite.xml
      │   Esquemas.jpr
      │   EsquemasApplication.jws
      │   SIAS.wsdl
      │
      ├───src
      │   └───META-INF
      │           jps-config.xml
      │
      ├───xsd
      │   │   hello.html
      │   │   readme.txt
      │   │   SIAS.xsd
      │   │
      │   ├───common
      │   │       CommonInterchange.xsd
      │   │       CommonTypes.xsd
      │   │       IdentifyReply.xsd
      │   │       readme.txt
      │   │
      │   └───interchange
      │           CAEFF.xsd
      │           CSEFF.xsd
      │           readme.txt
      │
      └───xsl
  </code></pre>
  
  <p>I am running the project with IntelliJ Idea Ultimate. The project runs fine, and I can see the wsdl through </p>
  
  <pre><code>http://localhost:8080/sias.wsdl
  </code></pre>
  
  <p>but when I try to generate the webservice tests in SoapUI, I get the following error:</p>
  
  <pre><code>Error loading [http://localhost:8080/xsd/interchange/CAEFF.xsd]: org.apache.xmlbeans.XmlException: org.apache.xmlbeans.XmlException: error:
  </code></pre>
  
  <p>As a matter of fact, when I try that URL in the browser I get a 404 error code. </p>
  
  <p>How can I exactly make the folder <strong><em>xsd</em></strong> under <strong><em>/WEB-INF/Esquemas/xsd/</em></strong> available through GET?</p>
  
  <p>This is my web.xml</p>
  
  <pre><code>&lt;?xml version="1.0" encoding="UTF-8"?&gt;
  &lt;web-app xmlns="http://java.sun.com/xml/ns/j2ee"
           xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
           xsi:schemaLocation="http://java.sun.com/xml/ns/j2ee
               http://java.sun.com/xml/ns/j2ee/web-app_2_4.xsd"
           version="2.4"&gt;
  
      &lt;display-name&gt;Archetype Created Web Application&lt;/display-name&gt;
  
      &lt;servlet&gt;
          &lt;servlet-name&gt;spring-ws&lt;/servlet-name&gt;
          &lt;servlet-class&gt;org.springframework.ws.transport.http.MessageDispatcherServlet&lt;/servlet-class&gt;
          &lt;init-param&gt;
              &lt;param-name&gt;transformWsdlLocations&lt;/param-name&gt;
              &lt;param-value&gt;true&lt;/param-value&gt;
          &lt;/init-param&gt;
      &lt;/servlet&gt;
  
      &lt;servlet-mapping&gt;
          &lt;servlet-name&gt;spring-ws&lt;/servlet-name&gt;
          &lt;url-pattern&gt;*.wsdl&lt;/url-pattern&gt;
      &lt;/servlet-mapping&gt;
  
  &lt;/web-app&gt;
  </code></pre>
  
  <p>This is my spring-ws-servlet.xml file</p>
  
  <pre><code>&lt;?xml version="1.0" encoding="UTF-8"?&gt;
  &lt;beans xmlns="http://www.springframework.org/schema/beans"
     xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
     xmlns:context="http://www.springframework.org/schema/context"
     xmlns:mvc="http://www.springframework.org/schema/mvc"
     xmlns:sws="http://www.springframework.org/schema/web-services"
     xsi:schemaLocation="http://www.springframework.org/schema/beans     http://www.springframework.org/schema/beans/spring-beans-3.0.xsd
    http://www.springframework.org/schema/web-services http://www.springframework.org/schema/web-services/web-services-2.0.xsd
    http://www.springframework.org/schema/context http://www.springframework.org/schema/context/spring-context-3.0.xsd
    http://www.springframework.org/schema/mvc
           http://www.springframework.org/schema/mvc/spring-mvc-3.0.xsd"&gt;
  
      &lt;context:component-scan base-package="com.app.sample"/&gt;
  
      &lt;sws:annotation-driven/&gt;
  
  
      &lt;sws:static-wsdl id="sias"
                       location="/WEB-INF/Esquemas/SIAS.wsdl"/&gt;
  
  &lt;/beans&gt;
  </code></pre>