Error when Migrating SOAP Web Services from Adobe ColdFusion 8 to CF 11
After moving a CF 8 app to CF 11, I ran into a difficulty in trying to set up the Web Service in the CF 11 Administrator.
Since I couldn’t get the CF 11 server to accept a new entry in the Web Services list, I had to do a little more troubleshooting using what was already there. I changed the HOSTS file on the CF 11 server such that the name old server running the Web Service successfully on CF 8 would temporarily point at the new CF 11 server. This caused an interesting error!
The code that came back is below – slightly edited for readability and also to make if render in a browser correctly:
IIS 8.5 Detailed Error - 401.2 - Unauthorized
HTTP Error 401.2 - Unauthorized
You are not authorized to view this page due to invalid authentication headers.