OK, to re-phrase, a good web service would be have a simple string return
(complex object object as string) to make it totally interop.








"This e-mail is from Reed Exhibitions (Gateway House, 28 The Quadrant,
Richmond, Surrey, TW9 1DN, United Kingdom), a division of Reed Business,
Registered in England, Number 678540.  It contains information which is
confidential and may also be privileged.  It is for the exclusive use of the
intended recipient(s).  If you are not the intended recipient(s) please note
that any form of distribution, copying or use of this communication or the
information in it is strictly prohibited and may be unlawful.  If you have
received this communication in error please return it to the sender or call
our switchboard on +44 (0) 20 89107910.  The opinions expressed within this
communication are not necessarily those expressed by Reed Exhibitions." 
Visit our website at http://www.reedexpo.com

-----Original Message-----
From: Dean Lawrence
To: CF-Talk
Sent: Sun Mar 25 19:22:50 2007
Subject: Re: Just a question/discussion point RE: Web services..

On 3/24/07, Robertson-Ravo, Neil (RX)
<[EMAIL PROTECTED]> wrote:
> Basically, if you want your webservice to be consumed over the web by
other
> technologies then your return needs to be a string (but that string can be
> anything - XML Encoded String (not a ColdFusion XML object) Array etc).
>

That's not true. I have a web service that I wrote that returns a
structure that contains both simple strings (success status, etc.) and
a CF query object. I am able to consume this and transverse the
results using PHP 4 without any problem (and I don't know PHP very
well).

Dean

-- 
__________________________________________
Dean Lawrence, CIO/Partner
Internet Data Technology
888.GET.IDT1 ext. 701 * fax: 888.438.4381
http://www.idatatech.com/
Corporate Internet Development and Marketing Specialists



~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~|
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:273667
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