DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT <http://nagoya.apache.org/bugzilla/show_bug.cgi?id=14902>. ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND INSERTED IN THE BUG DATABASE.
http://nagoya.apache.org/bugzilla/show_bug.cgi?id=14902 elements without minOccurs="0" produce isnill="true" on the wire [EMAIL PROTECTED] changed: What |Removed |Added ---------------------------------------------------------------------------- Summary|elements with minOccurs="0" |elements without |produce isnill="true" on the|minOccurs="0" produce |wire |isnill="true" on the wire ------- Additional Comments From [EMAIL PROTECTED] 2002-12-02 17:51 ------- Turns out our wsdl was not strict enough and did not set minOccurs="0" everywhere. However, I expected the element to be still omitted unless the nillable="true" attribute is used (i.e. the nillable attribute is not specified) even if minOccurs="1" and maxOccurs="1". It is then up to the receiver to make right. I would therefore request the default behaviour be changed: So that the <s:element name="areaCode" type="s0:Extra"/> in test wsdl below (not areaCode is now struct and has no minOccurs) should omit the areaCode element if areaCode == null rather than sending <areaCode xsi:nil="true"/>.