axis-java-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Deepal Jayasinghe <dee...@opensource.lk>
Subject Re: Nee info..
Date Tue, 03 Oct 2006 16:33:31 GMT
Hi Murali;
is this about Axis2 ? or Axis 1.x

if it is Axis2 pls see my comment in-line

Murali K Surampalli wrote:

>
> Hello all,
> I am in a process of writing a global handler and in it's invoke() I need
> to retrieve the following information.
>
> wsdlLocation

hmm , if the request come thu HTTP url (say inside tomcat) , then you
can get the wsdllocation as follows
  wsdlLocation = targetEPR + "?wsdl"

> serviceName

You can get that using message context or , you can get the by looking
at the epr (if the epr is http://localhost:8080/axis2/services/MyService
then service name would be MyService)

> targetNamespace

AxisService service = msgCtx.getAxisService();
service.getTargetNamespace();

> portName

There is no way to get that.

> wsdlLocation
> serviceName
> targetNamespace
> portName
>
> Can someone help me on what API should I use to access the above info?
> Thanks & Regards
>
> Murali Krishna.S
> WAS PMI Development
> India Software Labs,
> 6th Floor, Embassy Golf Links,
> Indiranagar-Kormangala Intermediate Ring Road,
> Domlur, Bangalore - 560 071.
> Tel: +91-80-41927674
> Internet email: murali.krishna.s@in.ibm.com
> --------------------------------------------------------------------------------------------------------
> When some one says this is the limit.............. prove them wrong!!!
>




---------------------------------------------------------------------
To unsubscribe, e-mail: axis-user-unsubscribe@ws.apache.org
For additional commands, e-mail: axis-user-help@ws.apache.org


Mime
View raw message