Details
-
Bug
-
Status: Resolved
-
Resolution: Fixed
-
1.0
-
None
-
Operating System: Other
Platform: Other
-
14902
Description
Elements that are marked optional in wsdl schema. e.g. profile field in:
<complexType name="User">
<sequence>
<element name="profile" type="someComplexType" minOccurs="0"/>
</sequence>
</complexType>
<element name="User" type="types:User"/>
Produces (inside SOAP body element) on the wire:
<User>
<profile xsi:nil="true"/>
</User>
Since the profile schema element is not marked as nillable="true" (only
minOccurs="0") it would (at least) save bandwidth to just drop it altogether:
<User>
</User>
[Both formats already work for deserialization.]
thanks,
Andre
Attachments
Attachments
Issue Links
- is duplicated by
-
AXIS-1357 non nillable element sent as nil
- Closed