Simple Web Service fails
This one is clearly me doing something stupid.
in c:\inetpub\wwwroot I have these two files:
DropShip.cfc
------------------
<cfcomponent>
<cffunction name="NewOrder" returnType="string" access="remote" output="false">
<cfargument name="Version" type="string" required="yes">
<cfreturn "Ack">
</cffunction>
</cfcomponent>
TestShip.cfm
------------------
<cfinvoke
webservice = "http://localhost/DropShip.cfc?WSDL"
method = "NewOrder"
timeout="10"
returnVariable = "request.WebOrder">
<cfinvokeargument name="Version" value="1.0" />
</cfinvoke>
<cfoutput>[#request.WebOrder#]</cfoutput>
and the result I get back is:
Web service operation NewOrder with parameters {Version={1.0}} cannot be found.
If I remove the <cfargument> and <cfinvokeargument> it works.
So what silly thing am I doing wrong? Pile on, I can take it!
