Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.
Bug 363085 - REST Service: Service return array works; service with inOut record fails
Summary: REST Service: Service return array works; service with inOut record fails
Status: CLOSED FIXED
Alias: None
Product: z_Archived
Classification: Eclipse Foundation
Component: EDT (show other bugs)
Version: unspecified   Edit
Hardware: PC Windows XP
: P3 normal (vote)
Target Milestone: ---   Edit
Assignee: Project Inbox CLA
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2011-11-07 14:24 EST by Paul Hoffman CLA
Modified: 2017-02-23 14:14 EST (History)
1 user (show)

See Also:


Attachments
PaymentApp (141.03 KB, application/zip)
2011-11-08 11:47 EST, Joseph Vincens CLA
no flags Details

Note You need to log in before you can comment on or make changes to this bug.
Description Paul Hoffman CLA 2011-11-07 14:24:24 EST
Getting exception shown below for simple service passing record.    Since log entry for service does not show up, exception is occurring before the service is invoked.

Zip file with three projects is attached.  Test assumes widget projects are already in workspace.

To see failure, run SimpleServiceFailsHandler.egl in paymentClient project.

Log output on RUI page:



Attempt: load table works
All payments:
Payment: category = Rent, desc = Apartment, amount = 880, fixed payment = true, due date = 
Payment: category = Food, desc = Groceries, amount = 450, fixed payment = false, due date = 
Payment: category = Utilities, desc = ISP, amount = 19.99, fixed payment = true, due date = 
Success: load table works
Attempt: add payment fails
Failure: service invocation, exception = An exception occurred during a service call. Service:services.SimpleService, Function:services.SimpleService
Detail 1: 
Detail 2: 
Detail 3: An exception occurred while converting from JSON. parameter:null, json:{"paymentId" : 0, "category" : 6, "description" : "Nordstrom", "amount" : 246.57, "fixedPayment" : false, "dueDate" : null, "payeeName" : null, "payeeAddress1" : null, "payeeAddress2" : null}
Comment 1 Joseph Vincens CLA 2011-11-08 11:47:15 EST
Created attachment 206609 [details]
PaymentApp
Comment 2 Joseph Vincens CLA 2011-11-08 16:30:53 EST
fixed
Comment 3 Paul Hoffman CLA 2011-11-09 16:07:22 EST
Verified and closed