Hey all, managed to get GAE with OBD to work using the basic
version discussed above. Really crude and simple but it works.
You can then call this using mx:httpService from Flex or
any language that has an gethttp type method.
First i created a simple cfc with a public function in.
Named the cfc testws and the method getCompDesc. The function
returns a simple string.
Here's the cfm:
<!---no whitespace--->
<cfsetting enablecfoutputonly="Yes" />
<cfparam name="variables.compName" type="string" default="" />
<!---call function--->
<cfinvoke component="testws" method="getCompDesc"
returnvariable="variables.hello1">
<cfinvokeargument name="compName" value="#variables.compName#" />
</cfinvoke>
<!---create struct---->
<cfset imawesome = structNew() />
<cfset imawesome.compName = variables.compName />
<cfset imawesome.compDesc = variables.hello1 />
<!----convert to JSON and output--->
<cfoutput>#SerializeJSON(partycan)#</cfoutput>
--
Open BlueDragon Public Mailing List
http://www.openbluedragon.org/ http://twitter.com/OpenBlueDragon
mailing list - http://groups.google.com/group/openbd?hl=en
!! save a network - please trim replies before posting !!
To unsubscribe from this group, send email to
openbd+unsubscribegooglegroups.com or reply to this email with the words
"REMOVE ME" as the subject.