• 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
  • Ron McLeod
  • Paul Clapham
  • Jeanne Boyarsky
  • Bear Bibeault
Sheriffs:
  • Rob Spoor
  • Henry Wong
  • Liutauras Vilda
Saloon Keepers:
  • Tim Moores
  • Carey Brown
  • Stephan van Hulst
  • Tim Holloway
  • Piet Souris
Bartenders:
  • Frits Walraven
  • Himai Minh
  • Jj Roberts

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.
 
Bring me the box labeled "thinking cap" ... and then read this tiny ad:
SKIP - a book about connecting industrious people with elderly land owners
https://coderanch.com/t/skip-book
reply
    Bookmark Topic Watch Topic
  • New Topic