Hi,
Iam trying to create a dataobject of xsd which has one of the element as
<xsd:any> type. Sample is -
<xsd:element name="ServiceInput" type="ServiceInputType"/>
<xsd:complexType name="ServiceInputType">
<xsd:sequence>
<xsd:element minOccurs="0" ref="header"/>
<xsd:element minOccurs="0" ref="body"/>
</xsd:sequence>
</xsd:complexType>
<xsd:element name="body">
<xsd:complexType>
<xsd:sequence>
<xsd:any maxOccurs="1" minOccurs="1" processContents="lax"/>
</xsd:sequence>
</xsd:complexType>
</xsd:element>
The <xsd:any> is used to allow different xml under the 'body' element, as the
incoming xml structure is not fixed.
Data object for this xsd is created, but Iam not able to set the dataobject of
the variable xml structure under the 'body' element.
I would appreciate any help.
Thanks
Ashish