I'm just starting with ACF8 on both ends - for what I thought would be
simplicity.
Once it worked there, I was going to try the same code base elsewhere.
But even the receiving ACF8 server doesn't like what the sending ACF8
server sent - as a raw session.
I'll try Duplicate() and advise. Thanks.
Al
On 8/22/2011 3:45 PM, Alan Williamson wrote:
You trying to post a session scope from openbd to a remote acf webservice?
Session is just a struct in our world. Try Duplicate(session) to get a simple
struct version if its causing some fun
--
http://alan.blog-city.com/
-----Original Message-----
From: Alan Holden<[email protected]>
Sender: [email protected]
Date: Mon, 22 Aug 2011 15:37:07
To:<[email protected]>
Reply-To: [email protected]
Subject: [OpenBD] Passing entire session structure as a cfargument to a web
service?
Before I delve into sample code - please indulge me a high-level question:
Is it theoretically POSSIBLE to pass the entire session scope - as a
structure - to a CFFUNCTION on another machine via a web service call?
<cfinvoke webservice="http://...
<cfargument name="userSession" value="#session#" />
</cfinvoke>
I keep getting axis-looking invalid type errors from ACF8, no matter if
I use "Struct", "Any", even "Array". This kinda prevents me from porting
it to OpenBD and the rest of the family.
I simply want the receiving API to be able to pluck out whatever's
needed, like a value object - without having to itemize each one as a
separate cfargument.
Either there's something super secret or protective about passing
session structs... or (more likely) I can't code my proof of concept for
squat.
Al
--
official tag/function reference: http://openbd.org/manual/
mailing list - http://groups.google.com/group/openbd?hl=en
--
official tag/function reference: http://openbd.org/manual/
mailing list - http://groups.google.com/group/openbd?hl=en