Sorry for an inconvenience that caused because of me. I enclose a short code snippet:
Code:
public Master Calc (float a, float b)
(
Master ret = new Master ();
ret.Ret = new StrReturn [2];
ret.Ret [0] = new StrReturn ();
ret.Ret [0]. erg = String.valueOf (a + b);
ret.Ret [0]. text = "First Results";
ret.Ret [1] = new StrReturn ();
ret.Ret [1]. erg = String.valueOf (a - b);
ret.Ret [1]. text = "Second result";
ret.Time = "Time: 15:05:86.455";
ret.Date = "Date: Mon 04.02.2008";
return ret;
)
public class Master implements Serializable
(
public StrReturn [] Ret;
public String time;
public String date;
)
public class StrReturn implements Serializable
(
public String erg;
public String text;
)
The method Calc is published in the web service method. The two Class definitions are the data classes that are used as the return. If I call the method/Web service, then time and date is set, but the list is always empty Ret. When someone has an idea for what is wrong or whether I'm generally a Delusions or subject it to my problem is a much better solution other. There, I am very grateful for everything.
Bookmarks