tracker issue : CF-3200312

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

Webservice version 2 inheritence problem

| View in Tracker

Status/Resolution/Reason: Closed/Withdrawn/Duplicate

Reporter/Name(from Bugbase): Jork Zijlstra / Jork Zijlstra (Jork Zijlstra)

Created: 05/29/2012

Components: Web Services

Versions: 10.0

Failure Type: Non Functioning

Found In Build/Fixed In Build: Final /

Priority/Frequency: Critical / All users will encounter

Locale/System: English / Windows 7 SP1 64-bit

Vote Count: 1

Duplicate ID:	CF-3197933

Problem Description:
A webservice of version 2 will not show methods that are inherited in the wsdl. 

Subsequently a SOAP call will not work. (ping2 method is defined in B.cfc en A extends this file)
ws = createObject("webservice", "http://localhost:8500/webservice/A.cfc?wsdl", {refreshwsdl = true});
writeDump(ws.ping2());

A direct call by means of the url does work.
http://localhost:8500/webservice/a.cfc?wsdl&method=ping2

Steps to Reproduce:
I have included a zip file with the code. Just change the webservice url in the index.cfm and call this template.
The error you should get is: "Web service operation ping2 with parameters {} cannot be found."

When setting "this.wssettings.version.publish="1"" in the application.cfc it does work.

Actual Result:
Broken version 2 webservice, inherited methods are not found

Expected Result:
Working webservice with inherited method.

Any Workarounds:
None found

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

Watson Bug ID:	3200312

External Customer Info:
External Company:  
External Customer Name: Jork Zijlstra
External Customer Email:  
External Test Config: My Hardware and Environment details: CF10 + build in webservice + built in wwwroot

Attachments:

  1. May 29, 2012 00:00:00: 1_webservice.zip

Comments:

As discussed on SOTR2012 this is the bug report. Regards, Jork
Comment by External U.
19154 | May 29, 2012 03:43:23 AM GMT
As inherited methods not exposed am unable to set an endpoint for third party webservice
Vote by External U.
19155 | June 06, 2012 07:13:19 AM GMT