Dear Adam,

It worked. Serializing the query to WDDX on OpenDB allowed me to
return a WDDX packet to a regular CF page and convert that packet back
into a CF query object. I just used the <cfwddx action = "cfml2wddx"
input=#QUERY# output = "NAME"> on the web service in OpenBD and
<cfwddx action = "wddx2cfml" input="#WDDXPACKETNAME#" output = "NAME">
on the CF page. Thanks for the suggestion. Not sure why JSON did not
work or why you can't just return a native CF query object between
OpenBD and CF over WDSL. But I'm not going to fight it since this
works and so I'm happy.

--GT



On May 17, 5:50 am, Adam Haskell <[email protected]> wrote:
> I would use WDDX over Json. It's going to be more verbose but I think WDDX
> has better definition around creating recordsets than JSON does. That being
> said I've never been a fan of returning any of the complex CFML datatypes
> over Webservices regardless of whom the client is.
>
> Adam
>
> On Sat, May 16, 2009 at 2:38 PM, gt <[email protected]> wrote:
>
> > Not only that but I'm finding that when you use serializeJSON on
> > OpenBD and then deserializeJSON on CF it will not convert back to a
> > query. If both sides are OpenBD then the conversion works fine. It's
> > frustrating when you are trying to get CF and OpenBD to work together.
> > Of course, it could very well be my setup which is why I'm curious to
> > know if others have encountered the same issue or if there is a
> > workaround.
>
> > --GT
>
> > On May 15, 11:38 pm, Alan Holden <[email protected]> wrote:
> > > Why is this?
> > > Why can't OpenBD return a query in a web service response that's
> > > identical to a ColdFusion query in a web service response?
>
> > > Al
>
> > > (snipped from gt)
>
> > > according to the Wiki and my own tests OpenBD cannot return a query data
> > > type unless OpenBD is both the producer and consumer of the webservice.
>
>

--~--~---------~--~----~------------~-------~--~----~
Open BlueDragon Public Mailing List
 http://groups.google.com/group/openbd?hl=en
 official site @ http://www.openbluedragon.org/

!! save a network - trim replies before posting !!
-~----------~----~----~----~------~----~------~--~---

Reply via email to