Skip to content

Instantly share code, notes, and snippets.

@RIAstar
Created August 23, 2011 08:34
Show Gist options
  • Save RIAstar/1164657 to your computer and use it in GitHub Desktop.
Save RIAstar/1164657 to your computer and use it in GitHub Desktop.
[cf] CFInvoke endpoint
<cfset service = createObject("webservice", serviceUrl) />
<cfset service._setProperty("javax.xml.rpc.service.endpoint.address", endpoint) />
<cfinvoke webservice="#service#" method="remoteMethodName" someArgument="hello" returnvariable="result" />
or
<cfscript>
service = createObject("webservice", serviceUrl);
service._setProperty("javax.xml.rpc.service.endpoint.address", endpoint);
result = service.remoteMethodName(someArgument="hello");
</cfscript>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment