> I understand that Coldfusion sends the return value of the 
> service method as XML, using a schema to describe this XML.

How this works will depend on whether your web service uses rpc/encoded or
document/literal:

http://livedocs.adobe.com/coldfusion/7/htmldocs/00001550.htm

> 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?

You should use your own schema, along with XML Schema itself for validating
basic datatypes (strings, etc).

You might find these links useful:

http://www.somebits.com/weblog/tech/webservices/doclitSoap.html
http://www.ibm.com/developerworks/webservices/library/ws-whichwsdl/

Dave Watts, CTO, Fig Leaf Software
http://www.figleaf.com/

Fig Leaf Software provides the highest caliber vendor-authorized
instruction at our training centers in Washington DC, Atlanta,
Chicago, Baltimore, Northern Virginia, or on-site at your location.
Visit http://training.figleaf.com/ for more information!

This email has been processed by SmoothZap - www.smoothwall.net


~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~|
Macromedia ColdFusion MX7
Upgrade to MX7 & experience time-saving features, more productivity.
http://www.adobe.com/products/coldfusion?sdid=RVJW

Archive: 
http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:282579
Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4

Reply via email to