Win a copy of Programmer's Guide to Java SE 8 Oracle Certified Associate (OCA) this week in the OCAJP forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Destination URI with Axis

 
Vj Reddy
Greenhorn
Posts: 20
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I was trying to retreive the destination URL or the endpoint of webservice in my code,This is simply for my logging purpose,I am using Axis1.1 here is there any way that I can retreive the URI with the messageContext object in Axis?

Thanks
 
Ulf Dittmer
Rancher
Posts: 42968
73
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
This FAQ entry and the one following it show how to get at the HttpServletRequest and OperationDesc objects. Between those two, you should be able to find all the information you need.
 
Vj Reddy
Greenhorn
Posts: 20
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Thanks
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic