title: xsd:include exception in soapUI:org.apache.xmlbeans.XmlException: org.apache.xmlbeans.XmlException: error: Unexpected end of file after null
body: <p>I have a problem while creating new project in soapUI and importing wsdl file from URL.It gives me the below exception</p>
  
  <p><strong>Error loading [<a href="http://localhost:8080/WS/PersonalDetails.xsd]" rel="nofollow">http://localhost:8080/WS/PersonalDetails.xsd]</a>: org.apache.xmlbeans.XmlException: org.apache.xmlbeans.XmlException: error: Unexpected end of file after null</strong></p>
  
  <p>My xsd include</p>
  
  <pre><code>&lt;xsd:include schemaLocation="PersonalDetails.xsd" /&gt;
  &lt;xsd:include schemaLocation="PersonalRequest.xsd" /&gt;
  </code></pre>
  
  <p>Actual Location of the xsd</p>
  
  <pre><code>WS/src/main/webapp/schemas/PersonalDetails.xsd
  
  WS/src/main/webapp/schemas/PersonalRequest.xsd
  </code></pre>
  
  <p>My spring-ws.xml</p>
  
  <pre><code>&lt;bean id="MyWSService" class="org.springframework.ws.wsdl.wsdl11.DefaultWsdl11Definition" lazy-init="true"&gt;
      &lt;property name="schemaCollection"&gt;
          &lt;bean class="org.springframework.xml.xsd.commons.CommonsXsdSchemaCollection"&gt;
              &lt;property name="inline" value="false" /&gt;
              &lt;property name="xsds"&gt;
                  &lt;list&gt;
                      &lt;value&gt;schemas/PersonalDetailsServiceOperations.xsd&lt;/value&gt;
                  &lt;/list&gt;
              &lt;/property&gt;
          &lt;/bean&gt;
      &lt;/property&gt;
      &lt;property name="portTypeName" value="MyWSEndpoint"/&gt;
      &lt;property name="serviceName" value="MyWS" /&gt;
      &lt;property name="locationUri" value="/"/&gt;
  &lt;/bean&gt;
  </code></pre>
  
  <p>My PersonalDetailsServiceOperations.xsd</p>
  
  <pre><code>&lt;?xml version="1.0" encoding="UTF-8"?&gt;
  &lt;xsd:schema xmlns:xsd="http://www.w3.org/2001/XMLSchema"
   xmlns:person="http://MyWS.com/"
  targetNamespace="http://MyWS.com/"
  elementFormDefault="qualified"&gt;
  &lt;xsd:include schemaLocation="PersonalDetails.xsd" /&gt;
  &lt;xsd:include schemaLocation="PersonalRequest.xsd" /&gt;
  &lt;/xsd:schema&gt;
  </code></pre>
  
  <p>I'm using spring+Maven+xsd+jaxb</p>
  
  <p>Please help</p>
  
  <p>Many Thanks</p>