Hi all i would need to know how to generate an Xml message for optional fields suppose that i have an optional fields minOccurs="0", example; <xs:element name="errorCode" type="xs:string" minOccurs="0"/> if there is not any value to pass for errorCode, in my Xml i don't have to write the row or i can/have to write <errorCode></errorCode> Thanks in advance
Announcement
Collapse
No announcement yet.
Optional fields in Xml message for SOAP Web Service
Collapse
X
-
Optional fields in Xml message for SOAP Web Service
Hi all i would need to know how to generate an Xml message for optional fields suppose that i have an optional fields minOccurs="0", example; <xs:element name="errorCode" type="xs:string" minOccurs="0"/> if there is not any value to pass for errorCode, in my Xml i don't have to write the row or i can/have to write <errorCode></errorCode> Thanks in advanceTags: None