The encoding style is set in the Response constructor in your RPCProvider
class. This could be the same as the incoming 'call' or something different
if that is what is needed.
resp = new Response (targetID, callMethodName, returnParam, null,
                           null, call.getEncodingStyleURI(), respContext);

The TcpTunnelGui might help you in debugging the contents of the Response if
nothing is showing up on the client.
--KH

-----Original Message-----
From: venkat reddy [mailto:[EMAIL PROTECTED]]
Sent: Wednesday, June 27, 2001 1:15 PM
To: '[EMAIL PROTECTED]'
Subject: Problem Returning BEAN



How do we set the encoding style of the return value of a soap call?

I have a service that creates a bean which has nothing but a couple of class
variable set to data from the database.
In the service side I get the data create this bean object and return it. On
the client when i extract the object from the result,
the bean has no values. The bean is retrieved from the response object but
has no values. I double checked that values have
been set on the server side.

Can you one figure out Y?

~Venkat

Reply via email to