Skip to content

Instantly share code, notes, and snippets.

@RIAstar
Created August 23, 2011 08:34
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
Star You must be signed in to star a gist
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