If your service uses RPC style, you may find something in the code of RPCProvider. It should contain the code to obtain the argument values array

HTH,
Rodrigo Ruiz

Saravanan Markandeyan wrote:

Thanks for your response.

I tried looking into the MessageContext, I am able to get the method name, the parameter types and names,
but looks like I won't be able to get the actual value. I am going to try the deserializer route, but
I am not sure how that would work for simple types (eg. String or Integer). I could write a my own
BeanDeserializer and get the values of complex types, can we do something like that for simple types too.


Thanks again
-Saravanan

-----Original Message-----
From: vairamuthu thayapavan [mailto:[EMAIL PROTECTED]
Sent: Wednesday, December 03, 2003 9:30 PM
To: [EMAIL PROTECTED]
Subject: Re: Using handlers to look at method parameter values


hi


it is possible. all the parameter type and the value should be on the request flow. i think u can get the value from the messagecontext or u have to write the deserializer to get the value from the request flow.

regards
vtpavan

Is it possible to look at the values of the parameters of the method
> call being made by a Web service client
> using a handler.
>
> Eg. If a client makes a call that looks like
>
>               serviceObj.methodCall('Value1');
>
> Can I, within a handler (set on the requestFlow or responseFlow) get
> to the value 'Value1' ?. I am guessing this might not be possible on
> the requestFlow for sure. I am able to get the OperationDesc
> and get the parameter types, but I don't see anything where I can get
> the parameter values. I would like to put a
> handler to log the method calls made and the values that were passed
> into those method calls.
>
> Any ideas/pointers would be greatly appreciated.
>
> Thanks
> -Saravanan







Reply via email to