Hi,
you can do it in the following way:
@WebService
| @EndpointConfig(configName = "My Custom Config", configFile =
"META-INF/jaxws-client-config.xml")
| public interface MyServiceIface{...}
|
where you use MyServiceIface in client code.
In the case you want to deploy your custom handlers to server side, then do also:
@WebService
| @EndpointConfig(configName = "Custom Server Config", configFile =
"WEB-INF/jaxws-endpoint-config.xml")
| public class MyServiceImpl{...}
|
Remember, you must have META-INF/jaxws-client-config.xml on client classpath and
WEB-INF/jaxws-endpoint-config.xml on server classpath.
If you want to see some example, take a look to e.g.
org.jboss.test.ws.jaxws.handlerlifecycle test in JBossWS distribution.
Richard
View the original post :
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4087036#...
Reply to the post :
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&a...