Hi,
It seems to be a rather simple question, but I did not find any answer for it. I have some simple WS operations like getVersion which do not take any argument, and other operations which do not return anything. I'm wondering how am I supposed to describe it in my schema.
For both cases, I have defined a "NilType" :
Then use it in both requests/responses :Code:<!-- Type for empty input/output --> <xs:complexType name="nilType"> <xs:sequence/> </xs:complexType>
This works but when using jaxb bindings, then a "NilType" class is generated and the client stubs, for example, create a getVersion operation which takes a NilType instance as a parameter.Code:<xs:element name="GetVersionRequest" type="lke:nilType"/> ... <xs:element name="ReloadLingwareResponse" type="lke:nilType"/>
What's the correct way of describing those operations ?


Reply With Quote