Are you looking something like this?

   HelloWorldImpl helloworldImpl = new HelloWorldImpl();
   JaxWsServerFactoryBean svrFactory = new JaxWsServerFactoryBean();
   svrFactory.setServiceClass(HelloWorld.class);
   svrFactory.setAddress("http://localhost:9000/Hello";);
   svrFactory.setServiceBean(helloworldImpl);
   List<Handler> handlers = new ArrayList<Handler>();
   handlers.add(new LoggingHandler());
   svrFactory.addHandlers(handlers);
   svrFactory.create();

-Arul

peppinolusuraio wrote:
Hi Dan,

I meant programmatically using Java Code, without relying upon Spring.
There is a way?


dkulp wrote:
On Tuesday 27 January 2009 8:31:46 am peppinolusuraio wrote:
hi,

there is a way to add programmatically handlers on the server side
programmatically withour relying upon @HandlerChain annotation???
Do you mean via spring config type thing or actually via some sort of java code? With 2.1.3, there is a <handlers> element on jaxws:endpoint which would be a list of handlers to add. That's probably the easiest way to
go.


--
Daniel Kulp
[email protected]
http://dankulp.com/blog





Reply via email to