tracker issue : CF-3836992

select a category, or use search below
(searches all categories and all time range)
Title:

WebService display name is already used

| View in Tracker

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

Listed in the version 11.0.05.293506 Issues Fixed doc
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:

  1. October 10, 2014 00:00:00: 1_2014-10-09_17-44-06.png

Comments:

This is very similar to Bug CF-3200295.
Comment by External U.
10728 | October 09, 2014 05:12:57 PM GMT
Making the WSDL URL case insensitive.
Comment by Paul N.
10729 | November 18, 2014 08:28:29 AM GMT
+1 ......................
Vote by External U.
10732 | November 24, 2014 05:57:02 AM GMT
The fix for this bug is available in the pre-release build of ColdFusion 11 Update 5
Comment by CFwatson U.
10730 | February 20, 2015 09:29:41 AM GMT
Verified this is fixed in CF11 Update 5 (build 11,0,05,293506). DisplayNameAlreadyExistsException is no longer thrown when the CFC has a display name and the casing of the CFC's file name is changed in the URL in the next request(s). Now.. if "/REST/" can please be made case-insensitive for REST URLs by simply adding the relevant entry to uriworkermap.properties and web.xml. (ticket CF-3917003, CF-3199283 and CF-3917048) Thanks!, -Aaron
Comment by External U.
10731 | November 23, 2015 03:51:43 AM GMT