title: Is it possible to use WSDL in org.springframework.ws.wsdl.wsdl11.DefaultWsdl11Definition?
body: <p>I am trying to set up SOAP on Spring WS and now i configure Spring beans with file like this:</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: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"&gt;  
         &lt;context:component-scan base-package="com.blog.samples.services" /&gt;  
         &lt;sws:annotation-driven /&gt;  
         &lt;!--  
              Our test service bean  
         --&gt;  
         &lt;bean id="AccountDetailsService" 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="true" /&gt;  
            &lt;property name="xsds"&gt;  
              &lt;list&gt;  
                &lt;value&gt;schemas/AccountDetailsServiceOperations.xsd&lt;/value&gt;  
              &lt;/list&gt;  
            &lt;/property&gt;  
          &lt;/bean&gt;  
        &lt;/property&gt;  
        &lt;property name="portTypeName" value="AccountDetailsService"/&gt;  
        &lt;property name="serviceName" value="AccountDetailsServices" /&gt;  
        &lt;property name="locationUri" value="/endpoints"/&gt;  
      &lt;/bean&gt;  
    &lt;/beans&gt; 
  </code></pre>
  
  <p>Unfortunatly i have not xsd, i have only wsdl which described my service. The question is : may i use somehow my wsdl in this spring configuration file? If yes - how (use wsdl instead of wsdl)? I know that i can extract xsd from wsdl, but would like to use only wsdl.  Thank you.</p>