You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@cxf.apache.org by WIELGUS Franck <Fr...@solucom.fr> on 2013/01/21 15:47:36 UTC
XSD for a request without any parameter ?
Hi
What is the XSD definition of a request which has no parameter ?
I tried the following :
<xsd:element name="getDocRequest">
<xsd:complexType>
<xsd:sequence>
</xsd:sequence>
</xsd:complexType>
</xsd:element>
or
<xsd:element name="getDocRequest">
</xsd:element>
(wsd2java does not generate any associated GetDocRequest class)
The generated request is understood by the service, but it looks like this :
<soap:Body></soap:Body>
Shouldn't it be :
<soap:Body><getDocRequest/></soap:Body> ?
Thanks