I am using Axis 2 webservices for some time now, as part of security hardening I need to fix and tell my webservice client users what are the sockets used by the axis2 webservice client to actually send the webservice request to the server.
Could you please let me know how to configure this ?
If you are indeed running a web service with HTTP then the socket used is set by the servlet container configuration.
What is hosting your AXIS2 service?
Joined: Nov 15, 2009
Thanks for the response!
I am running the axis2 client inside Tomcat as a webapplication.
This web application is just using the contextInitailzed and destroyed callbacks from the servlet api.
Apart from this, I trigger the axis2 client in the webapplication using RMI calls from outside tomcat, and the client then sends webservice requests using random socket on the client side.
I have been asked to fix this random socket used by the client from within tomcat.