Converting a RecordList ot an XML file

Hi All,

I am new to web method.I am selecting some value from the table and
getting a result.I want to create a XML file out of this results.

I tried RecordListtoRecord but It is working only if the table has two
fields

My table has more 6 fields and I want to create a xml file out of the
result.

Please help me in this regard.

– Best Regards - Savita --------------------- Hewlett Packard (India) +91 80 2051288 (Phone) 847 1288(HP Telnet) -------------------------

Your problem seems to be a bit confusing.

ok any way So try out this way.

Once you generate all the results in the Record,then invoke recordToDocument service and specify the recordName (the corresponding DTD name which you want to convert to the XML)…

The final output from that service will be the XML document which solves your problem.

Hope i understand your issue.

Cheers