Status/Resolution/Reason: Closed/Withdrawn/Duplicate
Reporter/Name(from Bugbase): Kevin Benore / Kevin Benore (Kevin Benore)
Created: 03/05/2015
Components: Web Services
Versions: 10.0
Failure Type:
Found In Build/Fixed In Build: Final /
Priority/Frequency: Major / All users will encounter
Locale/System: English / Win All
Vote Count: 0
Duplicate ID: CF-3948955
I Problem Description: Empty queries on Axis 2 for BOTH CF 10/CF 11 comes back as a QueryBean object instead of empty query (as it does with Axis 1). Queries with results come back as normal queries.
I realize CF is supposed to convert the wsdl item which is actually a querybean, but it does not seem to be doing so in this case.
Steps to Reproduce: Create a WSDL (remote) function with an empty query. Call that function from either createobject or cfinvoke.
Actual Result: Empty query results in a querybean object whose details are undefined.
Expected Result: Query with zero results
Any Workarounds: Not elegant, but we can check to see if the item is an object and assume it is an empty query result ... qResult = isObject(qFunc(id=0)) ? querynew("") : qFunc(id=0);
----------------------------- Additional Watson Details -----------------------------
Watson Bug ID: 3948954
External Customer Info:
External Company:
External Customer Name: Kevin
External Customer Email:
External Test Config: My Hardware and Environment details: CF10 Update 15, Windows Server 2012R2 / OS X
Attachments:
Comments: