<cffunction name="sendMetadata" access="remote" hint="I manage the metadata that I receive" returntype="string" output="yes">
<cfargument name="document" required="yes" type="xml">
<!--- insert or update operations --->
<cfif allOK>
<cfset return_msg = "OK">
<cfelse>
<cfset return_msg = "NOT OK">
</cfif>
<cfreturn return />
</cffunction>