title: WSDL generate method with no parameters
body: <p>I try to generate webservice using WSDL file. There is one method with no input parameter. I did it the following way:  </p>
  
  <pre><code>...
  &lt;types&gt;
  &lt;xsd:schema targetNamespace="http://api.registration.company.com"
      xmlns:base="http://base.api.registration.company.com"&gt;
      ...
      &lt;xsd:element name="RemoveURLRequest"&gt;
          &lt;xsd:complexType&gt;
              &lt;xsd:sequence /&gt;
          &lt;/xsd:complexType&gt;
      &lt;/xsd:element&gt;
      &lt;xsd:element name="RemoveURLResponse" type="xsd:boolean" /&gt;
  &lt;/xsd:schema&gt;
  &lt;/types&gt;
  ...
  &lt;message name="RemoveURLRequest"&gt;
      &lt;part name="RemoveURLRequest" element="tns:RemoveURLRequest" /&gt;
  &lt;/message&gt;
  &lt;message name="RemoveURLResponse"&gt;
      &lt;part name="RemoveURLResponse" element="tns:RemoveURLResponse" /&gt;
  &lt;/message&gt;
  ...
  &lt;portType name="RegistrationService"&gt;
      ...
      &lt;operation name="RemoveURL"&gt;
          &lt;input message="tns:RemoveURLRequest" /&gt;
          &lt;output message="tns:RemoveURLResponse" /&gt;
      &lt;/operation&gt;
  ...
  &lt;/portType&gt;
  &lt;binding name="RegistrationServiceSOAP" type="tns:RegistrationService"&gt;
      &lt;soap:binding style="document"
          transport="http://schemas.xmlsoap.org/soap/http" /&gt;
      ...
      &lt;operation name="RemoveURL"&gt;
          &lt;soap:operation soapAction=
              "http://api.registration.company.com/web/services/RegistrationService/RemoveURL"
                  style="document" /&gt;
              &lt;input&gt;
                  &lt;soap:body parts="RemoveURLRequest" use="literal" /&gt;
              &lt;/input&gt;
              &lt;output&gt;
                  &lt;soap:body parts="RemoveURLResponse" use="literal" /&gt;
              &lt;/output&gt;
      &lt;/operation&gt;
  &lt;/binding&gt;
  &lt;service name="RegistrationService"&gt;
      &lt;port name="RegistrationServiceSOAP" binding="tns:RegistrationServiceSOAP"&gt;
          &lt;soap:address location=
              "http://api.registration.company.com/web/services/RegistrationService" /&gt;
      &lt;/port&gt;
  &lt;/service&gt;
  </code></pre>
  
  <p>According to this WSDL I expect method to be generated like this:</p>
  
  <pre><code>public boolean removeURL();
  </code></pre>
  
  <p>But I'm getting this:</p>
  
  <pre><code>public boolean removeURL(RemoveURLRequest removeURLRequest);
  </code></pre>
  
  <p>Where RemoveURLRequest is an empty class:</p>
  
  <pre><code>@XmlAccessorType(XmlAccessType.FIELD)
  @XmlType(name = "")
  @XmlRootElement(name = "RemoveURLRequest")
  public class RemoveURLRequest {
  
  }
  </code></pre>
  
  <p>What am I doing wrong?</p>