Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.

Bug 363085

Summary: REST Service: Service return array works; service with inOut record fails
Product: z_Archived Reporter: Paul Hoffman <hoffmanp>
Component: EDTAssignee: Project Inbox <edt.javagen-inbox>
Status: CLOSED FIXED QA Contact:
Severity: normal    
Priority: P3 CC: jvincens
Version: unspecified   
Target Milestone: ---   
Hardware: PC   
OS: Windows XP   
Whiteboard:
Attachments:
Description Flags
PaymentApp none

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