RE: pivot handler

2006-05-11 Thread Yev Kelman
it is not an a soap rpc handler. I refer to a handler similar to JMSSender
class. The problem is that under IBM i have a conflict - IBM also use
client-config.wsdd, but they keep it inside one of there jars.

Thanks
-Original Message-
From: robert lazarski [mailto:[EMAIL PROTECTED]
Sent: Thursday, May 11, 2006 9:47 PM
To: axis-user@ws.apache.org; Yevgeniy K
Subject: Re: pivot handler


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,nul
l));

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 <[EMAIL PROTECTED] > 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



Re: pivot handler

2006-05-11 Thread robert lazarski
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 <[EMAIL PROTECTED]
> wrote:Hi,does anybody know how to setup "pivot" handler programmatically (similar to
"client-config.wsdd) on a client side of web service?ThanksYevgeniy Kelman


pivot handler

2006-05-11 Thread Yev Kelman
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