Created
August 23, 2011 08:34
-
-
Save RIAstar/1164657 to your computer and use it in GitHub Desktop.
[cf] CFInvoke endpoint
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<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