title: Spring Webservices: Error in WSDL ("use" attribute of soap:body empty)
body: <p>I have a question on WSDL generation with DefaultWsdl11Definition from Spring Webservices 1.5:</p>
  
  <p>There is a set of abount 50 webservice methods and its request and response types. In  I see, that the "use" attribute of "" is empty. </p>
  
  <pre><code>&lt;wsdl:operation name="SuspiciousOperation"&gt;
      &lt;soap:operation soapAction=""/&gt;
      &lt;wsdl:input name="SuspiciousOperationRequest"&gt;
          &lt;soap:body use=""/&gt;                               &lt;!-- here is the error! --&gt;
      &lt;/wsdl:input&gt;
      &lt;wsdl:output name="SuspiciousOperationResponse"&gt;
          &lt;soap:body use="literal"/&gt;
      &lt;/wsdl:output&gt;
  &lt;/wsdl:operation&gt;
  </code></pre>
  
  <p>This leads to an error in the clients. </p>
  
  <p>Here is the fragement of the XSD file defining the request and response types:</p>
  
  <pre><code>&lt;xs:element name="SuspiciousOperationRequest"&gt;
      &lt;xs:complexType&gt;
          &lt;xs:all&gt;
              &lt;xs:element name="someID" type="xs:int" /&gt;
          &lt;/xs:all&gt;
      &lt;/xs:complexType&gt;
  &lt;/xs:element&gt;
  &lt;xs:element name="SuspiciousOperationResponse"&gt;
      &lt;xs:complexType /&gt;
  &lt;/xs:element&gt;
  </code></pre>
  
  <p>Can someone explain, what causes this error?</p>
  
  <p>Best regards,</p>
  
  <p>Markus</p>