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...
<wsdl:operation name="isAlive">
<wsdl:output message="tns1:isAliveMessage"/>
</wsdl:operation>
...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. <xsd:complexType name="somename"/>
. Is this better?
Thanks!