aspose file tools*
The moose likes Web Services and the fly likes fix the sockets used by axis2 clients Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Java » Web Services
Bookmark "fix the sockets used by axis2 clients" Watch "fix the sockets used by axis2 clients" New topic
Author

fix the sockets used by axis2 clients

Niranjan Bhat
Greenhorn

Joined: Nov 15, 2009
Posts: 5
Hi,
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 ?
William Brogden
Author and all-around good cowpoke
Rancher

Joined: Mar 22, 2000
Posts: 12825
    
    5
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?

Bill
Niranjan Bhat
Greenhorn

Joined: Nov 15, 2009
Posts: 5
Hi ,

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.
 
jQuery in Action, 2nd edition
 
subject: fix the sockets used by axis2 clients