tracker issue : CF-4017604

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

Web Services not listed in CF Admin - cannot delete

| View in Tracker

Status/Resolution/Reason: Closed/Withdrawn/AsDesigned

Reporter/Name(from Bugbase): Abram Adams / Abram Adams (Abram Adams)

Created: 07/07/2015

Components: Web Services, Axis 2

Versions: 11.0

Failure Type:

Found In Build/Fixed In Build: CF11_Final /

Priority/Frequency: Major / All users will encounter

Locale/System: ALL / Linux uBuntu 11.10

Vote Count: 0

Problem Description:
When using createObject("webservice"...) to connect to a wsdl and consume the web service the CF Admin used to list these urls in the "Data & Services > Web Services" section.  From here you were able to delete the cached web services.  Since CF11 this has not been possible. The urls do not show up under the "Active ColdFusion Web Services" section.  You can manually add a web service and it will show up, but those created dynamically via createObject do not.

This causes a problem if the web service you are communicating with changes as CF will not update the cached web service stubs and therefore will break communication between the two systems.

Steps to Reproduce:
Use createObject("webservice", "url-to-wsdl") to consume a web service. Then log into the CF Administrator and navigate to "Data & Services > Web Services"

----------------------------- Additional Watson Details -----------------------------

Watson Bug ID:	4017604

External Customer Info:
External Company:  
External Customer Name: Abram
External Customer Email:  
External Test Config: My Hardware and Environment details:

Attachments:

Comments:

So far the only way I've found to "refresh" the web service stubs is to navigate to the /cfusion/stubs folder and delete all the contents, then restart the server. This is bad.
Comment by External U.
6772 | July 08, 2015 05:52:16 PM GMT
With latest versions of ColdFusion, web services created using createObject do not get added dynamically to administrator. This is as per design and got introduced with latest Axis framework addition to server. Thanks, Akhila.
Comment by Akhila K.
6773 | July 13, 2015 10:54:59 PM GMT
How is one supposed to "refresh" these webservices that are created via creatObject? The only way I've been able to is to delete the contents of the cfusion/stubs/ folder and restart CF. If this is by design, it's a bad one.
Comment by External U.
6774 | July 13, 2015 11:08:24 PM GMT
Must agree that if this is by design, it's a terrible one :-( If I have webservices that changed, there's no way to know which ones are cached, so I can go in and refresh them. I'm facing an issue with it right now, as I need to wait for a client to report errors, or go in one by one and update the service. If, god forbid, there's a variation of the url that access the SAME webservice (i.e. "www.domain.com/service.cfc?wsdl" and "domain.com/service.cfc?wsdl"), you need to know ALL the variations, and refresh each one individually. This applies to CF11 on Windows too.
Comment by External U.
6775 | November 23, 2016 03:39:22 PM GMT