title: Consuming ASP.Net web service with ColdFusion
body: <p>I am creating an ASP.Net web site to log errors for our ColdFusion sites. The ASP site is exposing a couple of web service methods that I would like to pass in information about the error. To test the whole process I am doing the following:</p>
  
  <pre><code>[WebMethod]
  public string InsertEvent(string iAppID) {
      return "Hello, " + iAppID;
  }
  
  &lt;cffunction name="TestWebService2" access="remote" returntype="Any" &gt;
      &lt;cfinvoke method="InsertEvent" webservice="http://somewebsite.org/LogEvent.asmx?WSDL" &gt;
          &lt;cfinvokeargument name="iAppID" value="andy" &gt;
      &lt;/cfinvoke&gt;
  &lt;/cffunction&gt;
  </code></pre>
  
  <p>I can call the web service with the ColdFusion cfinvoke tag as long as there are no parmeters that need to be passed in. If I add the parameters to the web service, and try passing them to the service I get the following error:</p>
  
  <p>Web service operation InsertEvent with parameters {iAppID={1}} cannot be found.</p>
  
  <p>Does the ColdFusion server cache the web service call? Or am I missing something else?</p>
  
  <p>Thanks</p>