Skip to Content
0
Former Member
Jul 15, 2008 at 11:28 AM

flat XML in the WSDL

28 Views

hello

I am recieving in RFC2WS a WSDL. in the respone the WSDL look like this:

<s:element name="GetZagmshDataResponse">

<s:complexType>

<s:sequence>

<s:element minOccurs="0" maxOccurs="1" name="GetZagmshDataResult">

<s:complexType mixed="true">

<s:sequence>

<s:any/>

</s:sequence>

</s:complexType>

</s:element>

</s:sequence>

</s:complexType>

</s:element>

in the Tag <any> I will recieve a full structure. for example:

<Table>

<DateID>3044</DateID>

<DateValue>2008-05-01T00:00:00+03:00</DateValue>

<OriginalEmployeeId>10000416</OriginalEmployeeId>

<OriginalReportDate>2008-05-01T00:00:00+03:00</OriginalReportDate>

<OriginalImportTime>2008-05-02T04:12:08.687+03:00</OriginalImportTime>

<OriginalDayType>5</OriginalDayType>

</Table>

<Table1>

<employName>kfir</employName>

<employLastName>gold</employLastName>

</Table1>

my Q is how can I map the inner data in the XML that I will recieve for this kind of WSDL so I will be able to recieve all the tables (could be multiple tables)?

Thanks

Kfir