This content has been marked as final.
Show 4 replies
-
1. Re: ServletFilter/Proxy Per SOAP Request
richard_opalka Sep 19, 2007 3:35 AM (in response to javafreak)Hi,
you can use JAXWS handlers. There's a lot of tutorials on internet about it.
Richard -
2. Re: ServletFilter/Proxy Per SOAP Request
javafreak Sep 20, 2007 12:48 PM (in response to javafreak)I created a JAXWS handler (Thanks Richard for the advice) but now I can't seem to locate any JBOSSWS-specific documentation on how to configure JBoss to us my JAXWS handler. I've seen many examples for other application servers and I've tried them on JBoss without success.
-
3. Re: ServletFilter/Proxy Per SOAP Request
richard_opalka Sep 21, 2007 2:12 AM (in response to javafreak)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