Webservices operation can not be found
I've got a webservice and for some reason I can not access the 2nd method in it. I get this error message :
Web service operation "DoComment" with parameters {donomite} could not be found
Now what is crazy about this is that the first method in the cfc works perfectly. So is there a restriction on calling methods from cfcs remotely? Only 1 per cfc?
BUT if I hit it directly via browser it works fine too.
Here is the URL for the test page I'm now trying to get to work. http://www.donomite.com/testwsdl.cfm
As you can see the first one works. The 2nd one does not. The 2nd one right now is just supposed to take the input string and return it.
Here it is the url for hitting it directly :
http://www.donomite.biz/remote/freelance.cfc?wsdl&method=DoComment&yourname=donomite
Here is the cfc code.
<cfcomponent>
<cfset dsn = "mysecretdsn">
<cffunction name="CheckLogin" access="remote" returntype="xml">
<cfargument name="fusername" type="string" required="yes">
<cfargument name="fpassword" type="string" required="yes">
<cfset theResult = "">
<cfstoredproc datasource="#dsn#" procedure="FreelanceLogin">
<cfprocparam type="in" cfsqltype="cf_sql_varchar" dbvarname="fusername" value="#fusername#">
<cfprocparam type="in" cfsqltype="cf_sql_varchar" dbvarname="fpassword" value="#fpassword#">
<cfprocresult name="test">
</cfstoredproc>
<cfif ISXML(test.computed_column_1)>
<cfset theResult = #xmlparse(test.computed_column_1)#>
<cfelse>
<cfset theResult = "FAIL">
</cfif>
<cfreturn theResult>
</cffunction>
<cffunction name="DoComment" access="remote" returntype="string">
<cfargument name="yourname" type="string" required="yes">
<cfset sendback = "#yourname#">
<cfreturn sendback>
</cffunction>
</cfcomponent>
