Status/Resolution/Reason: Closed/Fixed/
Reporter/Name(from Bugbase): Jake Hand / Jake Hand (Jake Hand)
Created: 10/09/2014
Components: Web Services
Versions: 11.0
Failure Type: Incorrect w/Workaround
Found In Build/Fixed In Build: CF11_Final / CF11 Update5
Priority/Frequency: Major / All users will encounter
Locale/System: ALL / Win 2012 Server x64
Vote Count: 1
Problem Description:
When a component (for example, test.cfc) is registered through ColdFusion as a WebService, the URL used to register the service is case-sensitive. Any subsequent calls to the web service that have different casing in the URL will fail with this error:
"The web service operation caused an invocation exception.
The root cause was that: coldfusion.xml.rpc.WebServiceUtil$DisplayNameAlreadyExistsException: The display name test is already used by the CFC CFIDE/adminapi/testservices/test.cfc."
Steps to Reproduce:
1) create component test.cfc
component displayname="test"
{
remote String function myTest()
{
return "Testing";
}
}
2) Browse to the CFC's WSDL URL: http://127.0.0.1/test.cfc?wsdl
This will show the expected XML response.
Then browse to the same URL, but change the casing slightly to generate the error: http://127.0.0.1/Test.cfc?wsdl
Actual Result:
The second call with different casing in the URL generates the coldfusion.xml.rpc.WebServiceUtil$DisplayNameAlreadyExistsException error.
Expected Result:
Valid XML response
Any Workarounds:
Change the value of the displayname attribute or remove it altogether.
----------------------------- Additional Watson Details -----------------------------
Watson Bug ID: 3836992
External Customer Info:
External Company:
External Customer Name: jakefusion
External Customer Email:
External Test Config: My Hardware and Environment details:
OS: Windows 2012 R2 (64-bit)
Web Server: IIS 8.5
ColdFusion version: 11 (64-bit)
Attachments:
- October 10, 2014 00:00:00: 1_2014-10-09_17-44-06.png
Comments: