on 11-13-2006 5:41 PM
Hi.
I have written a SessionBean, which I have exported in a Webservice. When testing the webservice on http://pwdfm156:50000/AdvancedReplicationController/Config1 I can see the two exported Functions.
But when executing, my Object
public class <i>PathData</i> implements Serializable
which returned by the Webservice functions is not complete.
I already have debuged into my j2ee-application and have checked the return values (
String name; Integer id;
) , which are correct.
So the Attributes are lost between the <i>return</i> in the session facade and the webservice rsponse.
When executing the function which returns an array of <i>PathData</i> even the size of the returned array is correct, but the attribues of the objects in the array are gone too.
Had anybody already made the same mistakes and knows what I have done wrong? Thanks in advance, Regards Tobias
Hi Tobias,
I had the same Problem as you described. I solved the problem by create a new web service, starting with little functionality and extended it step by step. I still don't know why the first attempts of my programming didn't work. By the way i assume you used the wizard.
i hope this helps,
regards,
Rene
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
You are not allowed to use Attributes whose names have under_scores.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
I have deleted my model and recoded it. Everything working now.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
78 | |
10 | |
9 | |
7 | |
6 | |
6 | |
5 | |
5 | |
5 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.