Hi everybody,
1. I want to get data from other server using the WDDX coldfusion tag.I
have try to write code like below but it not work
In my pc:
<CFQUERY NAME='q' DATASOURCE='cfsnippets'>
select Message_Id, Thread_id, Username from messages
</CFQUERY>
The recordset data is:...<P>
<CFOUTPUT QUERY=q>
#Message_ID# #Thread_ID# #Username#<br>
</CFOUTPUT><P>
<!--- Serialize data to WDDX format --->
Serializing CFML data...<P>
<CFWDDX ACTION='cfml2wddx' input=#q# output='wddxText'>
And at the server, I code like this:
Deserializing WDDX packet...<P>
<CFWDDX ACTION='wddx2cfml' input=#wddxText# output='qnew'>
The recordset data is:...<P>
<CFOUTPUT QUERY=qnew>
#Message_ID# #Thread_ID# #Username#<br>
</CFOUTPUT><P>
I can run the code in my pc but the server can't receive the value. Is it
the right way for the send data using wddx tags.
2. Where I can find the example of the using WDDX to get data from other
server(coding example).
Thanks.
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Structure your ColdFusion code with Fusebox. Get the official book at
http://www.fusionauthority.com/bkinfo.cfm
Archives: http://www.mail-archive.com/[email protected]/
Unsubscribe: http://www.houseoffusion.com/index.cfm?sidebar=lists