title: WSDL - no input - best practice
body: <p>I'm developing a SOAP web service. One of the functions is isAlive(). It has no input parameters. What's best practice for the WSDL? I tried...</p>
  
  <pre><code>&lt;wsdl:operation name="isAlive"&gt;
      &lt;wsdl:output message="tns1:isAliveMessage"/&gt;
  &lt;/wsdl:operation&gt;
  </code></pre>
  
  <p>...but got a parse error in one of my tools because of the missing input. I found a couple of examples where an input and a message was defined and the corresponding type definition was empty, i.e. <code>&lt;xsd:complexType name="somename"/&gt;</code>. Is this better?</p>
  
  <p>Thanks!</p>