<!--- webservice --->
<cfcomponent output="false"> <cffunction name="echoXml" access="remote" returntype="xml"> <cfargument name="xmlArg" type="xml"> <cfreturn xmlArg>
</cffunction>
</cfoutput>
<cfset wsurl = "http://localhost:8888/monweb/cfc/weather.cfc?wsdl"> <cfxml variable="argXml"><note> <titolo>Ciao</titolo> <content>Xml!</content></note> </cfxml>
is struct? #isStruct(argXml)# <!--- yes --->
<cfinvoke webservice="#wsurl#" method="echoXml" returnvariable="resultXml"> <cfinvokeargument name="xmlArg" value="#argxml#"></cfinvoke>