Quantcast
Channel: Adobe Community : Unanswered Discussions - ColdFusion
Viewing all articles
Browse latest Browse all 5794

401 Unauthorized error when calling a webservice

$
0
0

Have ColdFusion 11 installed, I have created a hello web service and I am trying to call it.  Each time I try to call the web service I get an error 401 Unauthorized.  I am not sure if I need to configure something more on the ColdFusion server, IIS or something else.

 

<cfcomponent displayname="Hello">

<cffunction name="helloWorld" returntype="string" access="remote">

     <cfreturn "Hello World!">

    </cffunction>

</cfcomponent>

 

 

<cfinvoke
  webservice="http://MyServer/Hello.cfc?wsdl"
  method="helloWorld"
  returnvariable="ws" refreshwsdl="yes">
</cfinvoke>

 

<cfdump var="#ws#">


Viewing all articles
Browse latest Browse all 5794

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>