Win a copy of Think Java: How to Think Like a Computer Scientist this week in the Java in General forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Determine Web Service name using Axis

 
Fran Varin
Greenhorn
Posts: 22
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I am using axis and I have a class that implements a web service method. I would like determine at runtime the service name

used by the caller when my web service class method is invoked. Is there a way to get this information?
 
Ulf Dittmer
Rancher
Posts: 42967
73
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
If your service implements javax.xml.rpc.Service, you can use the getServiceName method.
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic