File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
Win a copy of Soft Skills: The software developer's life manual this week in the Jobs Discussion forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

fix the sockets used by axis2 clients

 
Niranjan Bhat
Greenhorn
Posts: 5
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
Posts: 13044
6
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
Posts: 5
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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.
 
It is sorta covered in the JavaRanch Style Guide.
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic