tracker issue : CF-3041128

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

Bug 82400:An ORM persisted CFC is not returned correctly when it is used as the return type for a function invoked via a webservice

| View in Tracker

Status/Resolution/Reason: Closed/Won't Fix/

Reporter/Name(from Bugbase): Kevin Gallahan / Kevin Gallahan (AlucinariOlim)

Created: 03/10/2010

Components: Web Services

Versions: 9.0

Failure Type: Unspecified

Found In Build/Fixed In Build: 9,0,0,251028 /

Priority/Frequency: Minor / Unknown

Locale/System: English / Win All

Vote Count: 0

Problem:

An ORM persisted CFC is not returned correctly when it is used as the return type for a function invoked via a webservice.  An auto-generated wsdl is created correctly via the built in Apache Axis service (by appending '?wsdl' to the cfc location) .  The  wsdl can be introspected successfully, however, on invoking an operation that has an ORM persisted CFC as the return type, only null/empty datasets and fields are returned.
Method:

1. Create an ORM mapping cfc with one or two properties.2. Create a cfc with a remotely accessible function that returns the object described in the above cfc as it's type.  Either create a new object and assign the properties in the function or load an entity from a database and return this object.3.  Introspect the auto-generated wsdl by appending '?wsdl' to the location of the cfc.4.  Execute the operation/function you created and observe the returned object.  The properties you assigned or that should have been assigned from the database come back as nulls.
Result:

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

Watson Bug ID:	3041128

External Customer Info:
External Company:  
External Customer Name: Kevin Gallahan
External Customer Email: 70CB02FD4A300434992015A8
External Test Config: 03/10/2010

Attachments:

Comments: