openGeeksLab / codenameone

Automatically exported from code.google.com/p/codenameone
0 stars 0 forks source link

Externalizable Objects on CN1 WebService Wizard. #1272

Open GoogleCodeExporter opened 9 years ago

GoogleCodeExporter commented 9 years ago
Sequence of scenario when will the problem occur.
1.Right Click the Netbeans CN1 Project.
2.Select the WebService Wizard.
3.Create method that will return an Externalizable Object.
4.Click Generate.
5.The client and server side code will then be generated

Problem:
-The WebService Wizard generate codes with error on the WebServiceProxy.java 
class on the client side. The return statement on the Sync method returns an 
array of Externalizable instead of a single object.
 Ex:
return 
((Externalizable[])WebServiceProxyCall.invokeWebserviceSync(def_getMails));
"Shai said that the brackets shouldn't be there"
The details of the issue is available here: 
https://groups.google.com/forum/#!topic/codenameone-discussions/CrHFdAxz7b0

Original issue reported on code.google.com by junelm...@gmail.com on 9 Jan 2015 at 7:20

GoogleCodeExporter commented 9 years ago
Any fix for this issue?

Original comment by junelm...@gmail.com on 3 Feb 2015 at 7:27