• Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Jeanne Boyarsky
  • Ron McLeod
  • Paul Clapham
  • Liutauras Vilda
Sheriffs:
  • paul wheaton
  • Rob Spoor
  • Devaka Cooray
Saloon Keepers:
  • Stephan van Hulst
  • Tim Holloway
  • Carey Brown
  • Frits Walraven
  • Tim Moores
Bartenders:
  • Mikalai Zaikin

fix the sockets used by axis2 clients

 
Greenhorn
Posts: 5
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • 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 ?
 
Author and all-around good cowpoke
Posts: 13078
6
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • 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
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • 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.
 
Consider Paul's rocket mass heater.
reply
    Bookmark Topic Watch Topic
  • New Topic