Thanks Glen !!

> ServiceClient should definitely (IMO) have a way of providing a
> Repository (i.e. an abstract repository API that only cares about the
> Objects, not the XML) via the API.  Then you can create a FileRepository
> configured the way you want it, and pass that in:
>
> FileRepository repo = new FileRepository(myPath);
> ServiceClient client = new ServiceClient(repo);

yes, this exactly what I want to do !!

But now  ServiceClient(ConfigurationContext,AxisService)  need user to
create ConfigurationContext ,AxisService, add Operations to service
ect .. which is hardly a easy way to override!

>  then of course I could also programatically do:
>
> CustomRepository repo = new CustomRepository();
> repo.deployService("test", myClass);
> repo.deployModule("addressing", addrModule);
> ...
> ServiceClient client = new ServiceClient(repo);

:D cool

Thanks
Srinath


--
============================
Srinath Perera:
   http://www.cs.indiana.edu/~hperera/
   http://www.bloglines.com/blog/hemapani

Reply via email to