Hi Dacheng,
Assuming you have a client-config.wsdd file which specifies the handlers
you need and the stubs generated by wsdl2java, it's quite simple.
//Create a new EngineConfiguration instance using the wsdd
EngineConfiguration config = new FileProvider("client-config.wsdd");
// Use this when instantiating the service locator
MyServiceServiceLocator service = new MyServiceServiceLocator(config);
//Procede using stubs as normal
MyServicePortType port = service.getMyService();
Hope this helps,
Richard.
Dacheng wrote:
Hi, I am new in Axis and just meet a problem. How to set handers at the
client side? when I use call.invoke() to invoke a service, I can use
client-config.wsdd to set handlers. But at the moment I have to use stubs,
what should I do? Hope I can get assistance for u.
Thank you in advance
Dacheng