0 Replies Latest reply on Sep 29, 2011 4:11 PM by BJ - CF

    web services/data services

    BJ - CF

      I am trying to invoke a web service from coldfusion and I'm getting an error.  I can get it to connect fine using the data services in Flash builder and pointing it to the WSDL. Since I can get it to connect for a flex form is there something in CF that I need to do.


      Here is the error the CF is giving me.


      Error 401 Unauthorized.  Unable to read WSDL from URL: http://servername/generation/bj/TestCalculation.wsdl.  An exception occurred while invoking an event handler method from Application.cfc. The method name is: onRequest.


      I can put the URL in the browser and it will pull up the WSDL.

      Here is the CFC I created:


          <cffunction name="myCalcFunction" access="remote" returntype="any">





           <cfinvokeargument name="number1" value="#arguments.number1#"/>

           <cfinvokeargument name="number2" value="#arguments.number2#"/>


        <cfreturn response>



      Can anyone point me in the right direction of what I can do?


      thanks for the support.