title: dynamic wsdl creation by spring-ws error
body: <p>I want to create my wsdl by spring-ws automatically and I inserted the code below to my app context file, but I got the error; </p>
  
  <p>"Cannot locate BeanDefinitionParser for element [dynamic-wsdl]"</p>
  
  <p>what does that mean and what can I do? tnx</p>
  
  <pre><code>&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;bean id="payloadMapping"
         class="org.springframework.ws.server.endpoint.mapping.PayloadRootQNameEndpointMapping"&gt;
      &lt;property name="defaultEndpoint" ref="inferenceEndPoint" /&gt;
      &lt;property name="interceptors"&gt;
          &lt;list&gt;
              &lt;ref local="validatingInterceptor" /&gt;
              &lt;ref local="payLoadInterceptor" /&gt;
          &lt;/list&gt;
      &lt;/property&gt;
  &lt;/bean&gt;
  
  &lt;bean id="payLoadInterceptor"
      class="org.springframework.ws.server.endpoint.interceptor.PayloadLoggingInterceptor" /&gt;
  
  &lt;bean id="validatingInterceptor"
      class="org.springframework.ws.soap.server.endpoint.interceptor.PayloadValidatingInterceptor"&gt;
      &lt;description&gt;
          This interceptor validates the incoming
          message contents
          according to the 'Request.xsd' XML
          Schema file.
      &lt;/description&gt;
      &lt;property name="schema" value="/WEB-INF/schemas/Request.xsd" /&gt;
      &lt;property name="validateRequest" value="true" /&gt;
      &lt;property name="validateResponse" value="false" /&gt;
  &lt;/bean&gt;
  
  &lt;bean id="inferenceEndPoint" class="com.mywebsite.ws.web.InferenceEndPoint"&gt;
      &lt;property name="messageService" ref="messageService" /&gt;
  &lt;/bean&gt;
  
  &lt;bean id="messageService" class="com.mywebsite.ws.service.MessageService"&gt;
      &lt;property name="inferenceService" ref="inferenceService" /&gt;
  &lt;/bean&gt;
  
  &lt;bean id="schema" class="org.springframework.xml.xsd.SimpleXsdSchema"&gt;
      &lt;property name="xsd" value="/WEB-INF/schemas/Request.xsd" /&gt;
  &lt;/bean&gt;
  
    &lt;sws:dynamic-wsdl id="mtwsdl"
      portTypeName="mtWS"
      locationUri="http://localhost:8080/mws/"&gt;
  &lt;sws:xsd location="/WEB-INF/schemas/Request.xsd" /&gt;
     &lt;/sws:dynamic-wsdl&gt;
  &lt;bean id="inferenceService" class="com.mywebsite.ws.im.InferenceService"&gt;
      &lt;property name="webServiceConfiguration" ref="playerConfiguration" /&gt;
  &lt;/bean&gt;
  
  &lt;!-- &lt;bean id="inferenceConfig" class="com.mywebsite.ws.im.InferenceService"&gt; 
      &lt;constructor-arg ref="playerConfiguration"/&gt; &lt;/bean&gt; --&gt;
  
  &lt;!-- ~~~~~~~ Application beans ~~~~~~~ --&gt;
  &lt;bean id="playerConfiguration"
      class="com.mywebsite.ws.configuration.WebServiceConfiguration"
      init-method="init"&gt;
      &lt;property name="playerConfigXml" value="/WEB-INF/config/webserviceconfiguration.xml" /&gt;
      &lt;property name="executingPathResource" value="/WEB-INF" /&gt;
      &lt;property name="developmentMode" value="true" /&gt;
  &lt;/bean&gt;
  </code></pre>
  
  <p></p>