Once you retrieve the WSDL location, you can get the WSDL, and then use WSDL4J to retrieve all the other information from the WSDL.
Anne On 10/3/06, Deepal Jayasinghe <[EMAIL PROTECTED]> wrote:
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: [EMAIL PROTECTED] > -------------------------------------------------------------------------------------------------------- > When some one says this is the limit.............. prove them wrong!!! > --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
--------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]