I don't know why this myth is perpetuating.

I've written simple c# code to loop through a query returned from a CF
webservice. It was based on something I found with Google and I see
others have since blogged the same solution:

http://www.firemoss.com/blog/index.cfm?mode=entry&entry=3A325BDD-E081-2BAC-695618079678B316


PHP should be straightforward too.

The "issue" is that there isn't a single native object that
corresponds to a CF querybean type. So what? Looping through the array
that a querybean represents is just a tiny bit more work. Write a
function to do it and it's fixed forever.

On 3/23/07, Jeff Small <[EMAIL PROTECTED]> wrote:
> Okay, so I write a CFC. I set access="remote" and poof, I have a web 
> service... right?
>
> So if I write a method, let's say, "getComics()" and it returns a query 
> object... well, that's just not going to work for people who aren't using CF, 
> right? I mean, if I'm using CF and invoking the method using the web service 
> url, I can output it, dump it, loop thru it, etc. But, if I'm using something 
> other than CF, I wouldn't have any way to move thru that data, would I? In 
> other words, PHP doesn't know what a ColdFusion Query object is.
>
> What's the approach here? What's the next step to making something that 
> people using .net or PHP can return and use?
>
> Apologies in advance if this has already been rehashed before, but I'm 
> genuinely kinda stumped about how to proceed, and I'm not even sure really 
> where to go next for the "next step" here that I've obviously stumbled 
> onto... I know the short answer HAS to be "XML", but I'm not quite sure 
> *how*...
>
>
> 

~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~|
Upgrade to Adobe ColdFusion MX7
Experience Flex 2 & MX7 integration & create powerful cross-platform RIAs
http://www.adobe.com/products/coldfusion/flex2/?sdid=RVJQ 

Archive: 
http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:273628
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