axis-java-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "robert lazarski" <robertlazar...@gmail.com>
Subject Re: pivot handler
Date Fri, 12 May 2006 02:46:52 GMT
Do you mean invoke a handler on the client side programatically, without a
client.wsdd ? That would be:

//pre-populated, pass any set of vars as a Map to handler for custom use
HashMap invokeProps;
QName portQN = new QName(endpoint, pq);
ServiceFactory sf = ServiceFactory.newInstance();
Service svc = sf.createService(svcQName);
//add ClientHandler to chain of events
java.util.List list = svc.getHandlerRegistry().getHandlerChain(portQN);
list.add(new javax.xml.rpc.handler.HandlerInfo(ClientHandler.class,
this.handlerConfig,null));

In this case ClientHandler implements javax.xml.rpc.handler.Handler .

If that's not what you meant - I guess I don't understand what you mean by
pivot.

HTH,
Robert
http://www.braziloutsource.com/

On 5/11/06, Yev Kelman <yev.kelman@comcast.net> wrote:
>
> Hi,
> does anybody know how to setup "pivot" handler programmatically (similar
> to
> "client-config.wsdd) on a client side of web service?
>
> Thanks
> Yevgeniy Kelman
>
>

Mime
View raw message