Sorry, the function contents had stupid typo (I never have been good
at obscuring/genericizing my actual code before posting). Here is what
I meant to write:
-------------------
CFM template has:
<cfinvoke component="#oComp#" method="myfunc" returvariable="xxx">
<cfinvokeargument name="arga" value="somevalue" />
<cfinvokeargument name="argb" value="someothervalue />
</cfinvoke>
<cfdump var="#xxx#"><cfabort />
--------------------
CFC Function looks something like:
<cffunction name="myfunc" access="public" returntype="any" output="true">
<cfargument name="arga" type="string" required="yes">
<cfargument name="argb" type="string" required="yes">
<cfset var myresult = "" />
<cfset var mypacket = "" />
<cfsavecontent variable="mypacket">
<cfoutput>
.....[soap description here]....
</cfoutput>
</cfsavecontent>
<cfhttp url="someaddress" method="POST">
....param
....param
</cfhttp>
<cfset myresult = xmlParse(cfhttp.FileContent) />
<cfdump var="#myresult#" />
<cfreturn myresult />
</cffunction>
-------------------
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~|
Adobe® ColdFusion® 8 software 8 is the most important and dramatic release to
date
Get the Free Trial
http://ad.doubleclick.net/clk;203748912;27390454;j
Archive:
http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:312129
Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm
Unsubscribe:
http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4