aspose file tools*
The moose likes Web Services and the fly likes Determine Web Service name using Axis Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Java » Web Services
Bookmark "Determine Web Service name using Axis" Watch "Determine Web Service name using Axis" New topic

Determine Web Service name using Axis

Fran Varin

Joined: Aug 08, 2003
Posts: 22
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

Joined: Mar 22, 2005
Posts: 39551
If your service implements javax.xml.rpc.Service, you can use the getServiceName method.

Ping & DNS - updated with new look and Ping home screen widget
I agree. Here's the link:
subject: Determine Web Service name using Axis
Similar Threads
Run Servlet on deployment
How to change the name of the binding element in wsdl file ?
Using ServiceLifecycle for WebServices
Axis: Instantiating class with parameters
How to print SOAP response as XML in AXIS 1...