cancel
Showing results for 
Search instead for 
Did you mean: 

Webservice doesn't export Parameters

Former Member
0 Kudos

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

Accepted Solutions (1)

Accepted Solutions (1)

Former Member
0 Kudos

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

Answers (2)

Answers (2)

Former Member
0 Kudos

You are not allowed to use Attributes whose names have under_scores.

Former Member
0 Kudos

I have deleted my model and recoded it. Everything working now.