you could implement JBossWS server side handler.
This handler have method handleMessage(MessageContext).
The MessageContext object has property SERVLET_REQUEST,
through which you can obtain the underlying ServletRequest object.
And on ServletRequest object there are a methods like:
which you can use for IP filtering purposes ;-)
your suggest it be a good choice but have you got some example? I made the ws with seam and annotation, and deploy to jbossAS, now how can implement the JBossWS server side handler in this case?
you can download JBossWS sources and take a look to org.jboss.ws.extensions.addressing.jaxws.WSAddressingServerHandler.
It could be a good starting point for you ;-)