[jboss-user] [JBossWS] - Re: ServletFilter/Proxy Per SOAP Request

richard_opalka do-not-reply at jboss.com
Fri Sep 21 02:12:19 EDT 2007


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#4087036

Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4087036



More information about the jboss-user mailing list