Deepal,

Can I use this opportunity to clear my doubts about the operation client vs service client.
This is still not documented properly other than to say that "if you are experianced with Axis2 use operation client"

I understand that Operation Client is more flexible and powerfull as you could deal with the message ctx directly..etc and it's more fine grained than the Service Client.

But some documentation around the differences and when and how to use these two clients can be used will be very helpful to the users.

Regards,

Rajith



On 9/14/06, Deepal Jayasinghe < [EMAIL PROTECTED]> wrote:



>Hmmm. Good question- I also don't see why the ANON_* constants are
>externally visible. We put those to create underlying anonymous
>AxisOperation objects to make the simple API calls work right and hence
>should be private IMO.
>
>Deepal?
>
>
>
If some one want to create an operationclient using default service
client , then he need to have a way of knowing the name of the
operations (in the serviceClient) to create the operation client. So the
scansion I am describing is following;

                ServiceClient serviceClient = new ServiceClient();
                OperationClient opClient =
serviceClient.createClient(ServiceClient.ANON_OUT_IN_OP);
                ...
                opClient.execute(msgCtx);

We really need to have this feature , and we can not enforce user to
create service client using his AxisService. I am also create
serviceClient as above and use that to create operationClient whenever
necessary.

>Sanjiva.
>
>
>---------------------------------------------------------------------
>To unsubscribe, e-mail: [EMAIL PROTECTED]
>For additional commands, e-mail: [EMAIL PROTECTED]
>
>
>
>
>

--
Thanks,
Deepal
................................................................
~Future is Open~



---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]


Reply via email to