You are viewing a plain text version of this content. The canonical link for it is here.
Posted to java-user@axis.apache.org by Brian Manley <ma...@telcordia.com> on 2004/08/05 19:00:58 UTC
Default values for elements in WSDL
Is is possible to specify in a service's WSDL, a default value for
element of complex type?
For exmaple, can I do something like:
<complexType name="ChangeRequestSVT">
<sequence>
<element name="instId" type="xsd:int" default="-1"/>
.
.
.
</sequence>
</complexType>
Additionally will wsdl2java (or other wsdl 'compilers') honor this
in the creation of client stubs, by setting the default value?
Thanks,
Brian