Web Service Authentication in Coldfusion
Hi
I am trying to perform Web Service Authentication in Coldfusion. The webservice is written using a CFC.
It is a normal CFC, and I am generating the Web Service URL as test.cfc?WSDL
Is there a way that I can authenticate a web service method using SOAP headers ?
There is a code mechanism in ASP.NET, where we can beautify the web service with codes that will ask for a username and password for
accessing a method of a web service.
I am testing the web services using SOAP Sonar, it is a very good tool. When testing, if there is an authentication mechanism in a web service,
then it will prompt you to enter the user name and password. At the moment, I have included two fields (username and password) for each
method to do the custom authentication against a login info stored in Application.cfm.
I found a way using WSSJ4 from Apache, but it looked too complex and not very straight forward to acheive it.
Please if anyone have found a solution, please let me know.
Thank you in advance..
Josh Thomas
