JBoss eap 6,JBossws-cxf 4 Closing the ws port
Hello, I am working respecting the JAX-WS specification and would like to know if there is any method to close the port.
With the metro WS, I can use this
((com.sun.xml.ws.Closeable) port);
Is there any need to close the port especially for performance reasons?
Thanks.
Responses
I found this [1] which may be of help. But as far as JBoss + CXF is concerned you don't need to this. It seems like it's a very specific thing to Metro and perhaps if you are using a standalone WS client it might be handy, but if the connection is being handled by JBoss then I don't see why you would want to do this and add complexity for no reason.
[1] http://stackoverflow.com/questions/3807095/is-it-necessary-to-close-jax-ws-port
Welcome! Check out the Getting Started with Red Hat page for quick tours and guides for common tasks.
