Post or get question
I'm using coldfusion for a web service call from the iphone. I can make this work by using a bunch of separate .cfm files. This however, is getting very ugly quickly. I'm trying to convert this into one .cfm file. Can I do this with functions? Here is what I have:
<cffunction name="FirstFunction" returntype="string">
<cfinvoke
webservice="http://208.112.67.221/CF_WebSvc/justFunction.cfc?wsdl"
method="WelcomeMsg"
returnvariable="strg">
<cfinvokeargument name="name" value=#SentName# />
</cfinvoke>
<cfreturn "this worked" >
</cffunction>
The question is that I'm using a post or get method to get the data. I cannot seem to get the string correct that I'm passing.
http://www.designyournautique.com/webservices/ConsumeJustFunction.cfm/FirstFunction?SentName=Carey
Any ideas? Thanks!
