0

I am trying to consume a web service that returns a List of Entities from a database query (Using JPA). I created the J2ME stub but when I use it, it gets an unknown Exception. I tried other services that return a String data type and it works fine. so i thought maybe J2ME has issues with JPA Entity types. So my question is how do I return the data properly so that the J2ME client can read it well

burntblark
  • 1,680
  • 1
  • 15
  • 25
  • how is that question different from your previous one? http://stackoverflow.com/questions/7904078/j2me-stub-generates-an-unknown-exception – gnat Oct 27 '11 at 08:12
  • The previous asks what the problem was. This question says how do I return a proper data type. – burntblark Oct 27 '11 at 08:16
  • I see - that makes sense. Any reason to post this as new question instead of updating previous one? – gnat Oct 27 '11 at 08:20
  • I dunno. This was the first thing that came up in my head... If it would make the question easier to answer I would immediately copy and paste it there? – burntblark Oct 27 '11 at 08:25
  • yes _copy and paste it there_ sounds good to me - exactly because I think that would make it easier to answer – gnat Oct 27 '11 at 08:27
  • I saw - looks good to me. Now consider deletion of this question (there should be "delete" link right under tags visible to you as question author) - so that readers could concentrate on the only question which has better details – gnat Oct 27 '11 at 08:49
  • let us [continue this discussion in chat](http://chat.stackoverflow.com/rooms/4548/discussion-between-burntblark-and-gnat) – burntblark Oct 27 '11 at 09:03

0 Answers0