title: Invalid wsdl generated by spring-ws when the request element doesn't end with 'Request'
body: <p>I must prepare a webservice to accept anan already defined wsdl structure. I followed the tutorial <a href="https://spring.io/guides/gs/producing-web-service/" rel="noreferrer">found here</a>, with source code for the test project <a href="https://github.com/spring-guides/gs-producing-web-service/archive/master.zip" rel="noreferrer">downloadable here</a>.</p>
  
  <p>For xsd like this:</p>
  
  <pre><code>&lt;xs:element name="getCountryRequest"&gt;
      &lt;xs:complexType&gt;
          &lt;xs:sequence&gt;
              &lt;xs:element name="name" type="xs:string"/&gt;
          &lt;/xs:sequence&gt;
      &lt;/xs:complexType&gt;
  &lt;/xs:element&gt;
  </code></pre>
  
  <p>Wsdl operation for request returned by application is OK, looks like this:</p>
  
  <pre><code>&lt;wsdl:binding name="CountriesPortSoap11" type="tns:CountriesPort"&gt;
      &lt;soap:binding style="document" transport="http://schemas.xmlsoap.org/soap/http"/&gt;
      &lt;wsdl:operation name="getCountry"&gt;
          &lt;soap:operation soapAction=""/&gt;
          &lt;wsdl:input name="getCountryRequest"&gt;
              &lt;soap:body use="literal"/&gt;
          &lt;/wsdl:input&gt;
          &lt;wsdl:output name="getCountryResponse"&gt;
              &lt;soap:body use="literal"/&gt;
          &lt;/wsdl:output&gt;
      &lt;/wsdl:operation&gt;
  &lt;/wsdl:binding&gt;
  </code></pre>
  
  <p>But when I change the xsd to (no 'Request' in element name):</p>
  
  <pre><code>&lt;xs:element name="getCountry"&gt;
      &lt;xs:complexType&gt;
          &lt;xs:sequence&gt;
              &lt;xs:element name="name" type="xs:string"/&gt;
          &lt;/xs:sequence&gt;
      &lt;/xs:complexType&gt;
  &lt;/xs:element&gt;
  </code></pre>
  
  <p>the wsdl is invalid, and has no <code>&lt;input&gt;</code> specified:</p>
  
  <pre><code>&lt;wsdl:binding name="CountriesPortSoap11" type="tns:CountriesPort"&gt;
      &lt;soap:binding style="document" transport="http://schemas.xmlsoap.org/soap/http"/&gt;
      &lt;wsdl:operation name="getCountry"&gt;
          &lt;soap:operation soapAction=""/&gt;
          &lt;wsdl:output name="getCountryResponse"&gt;
              &lt;soap:body use="literal"/&gt;
          &lt;/wsdl:output&gt;
      &lt;/wsdl:operation&gt;
  &lt;/wsdl:binding&gt;
  </code></pre>
  
  <p>How can I fix that? How can I make a <code>Request</code>-less element appear properly as soap operation input in wsdl?</p>