Hello all, I'm writing my first web service, for a government site, and would like to get it right (I have it working).
The service in question returns a recordset. Reading around I could see that returning a CFQuery object was not a suitable solution and so I chose to return an XML String representing the recordset. I understand that Coldfusion sends the return value of the service method as XML, using a schema to describe this XML. The XML that I am returning is an XML formatted string (my return type in the CFC method is 'string') inside of that. My question then is this: Should I use a DTD to describe the XML that I am returning or should I use a Schema or does it not matter? Hope that makes any sense... Dominic ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~| ColdFusion MX7 and Flex 2 Build sales & marketing dashboard RIAâs for your business. Upgrade now http://www.adobe.com/products/coldfusion/flex2?sdid=RVJT Archive: http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:282568 Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4

