Status/Resolution/Reason: Closed/Fixed/
Reporter/Name(from Bugbase): Kevin Benore / Kevin Benore (Kevin Benore)
Created: 03/05/2015
Components: Web Services, Axis 2
Versions: 11.0
Failure Type:
Found In Build/Fixed In Build: CF11_Final /
Priority/Frequency: Normal / All users will encounter
Locale/System: English / Win 2012 Server x64
Vote Count: 1
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: 3948955
External Customer Info:
External Company:
External Customer Name: Kevin
External Customer Email:
External Test Config: My Hardware and Environment details:
Attachments:
Comments: