I'm using 2.0 on the Android platform to talk to a .NET WCF Data Service and 
I'm calling a FunctionImport. The FunctionImport and the complex type it 
returns both show up in the metadata; the FunctionImport is 
'GetTopFiveProductSalesByQuantity' and the complex type it returns is 
'Collection(NorthwindLinqSamplesModel.GetTopFiveProductSalesResult)'.

On Android I'm calling the invokeComplex() method of the generated class like 
this:

  Representation rep = 
serviceRef.invokeComplex("GetTopFiveProductSalesByQuantity", args);

where args is:
  Series<Parameter> args = new Form();
  args.add("targetDate", TypeUtils.toEdmDateTime(targetDate));

The call succeeds in that I can see the call come into the service and the 
service returns the data. But I can't figure out how to deserialize it on 
Android into an ArrayList<GetTopFiveProductSalesResult>. What do I do with the 
Representation object that invokeComplex() returns?

Thanks for any pointers on this.

------------------------------------------------------
http://restlet.tigris.org/ds/viewMessage.do?dsForumId=4447&dsMessageId=2655493

Reply via email to