Re: access to SOAP Body Element (Axis2 API)

2009-09-24 Thread Amila Suriarachchi
On Thu, Sep 24, 2009 at 9:33 PM, Asma Maalej wrote: > Hello > > thank you for your reply but I already tried it, as follows: > > SOAPBody sb = soapenv.getBody(); > OMElement soapb = (OMElement) sb.getFirstElement(); > > > but this time, I get the following exception : > > [INFO] O

Re: access to SOAP Body Element (Axis2 API)

2009-09-24 Thread Asma Maalej
Hello thank you for your reply but I already tried it, as follows: SOAPBody sb = soapenv.getBody(); OMElement soapb = (OMElement) sb.getFirstElement(); but this time, I get the following exception : [INFO] OMException in getSOAPBuilder org.apache.axiom.soap.SOAPProcessingExceptio

Re: access to SOAP Body Element (Axis2 API)

2009-09-23 Thread Amila Suriarachchi
On Wed, Sep 23, 2009 at 8:17 PM, Asma Maalej wrote: > Hello > > Using Axis2.1.4.1, and in order to recover methods name of a web service > within a handler code, I tried to access to the SOAP message and extract it > from the SOAPBody. Then, I tried to use "SOAPBodyElement" Class > as shown below

RE: access to SOAP Body Element (Axis2 API)

2009-09-23 Thread Adam Elnagger
://www.w3.org/TR/soap12-part1/ may be of some help. -Original Message- From: Asma Maalej [mailto:amaa...@laas.fr] Sent: Wednesday, September 23, 2009 10:48 AM To: axis-user@ws.apache.org Subject: access to SOAP Body Element (Axis2 API) Hello Using Axis2.1.4.1, and in order to recover methods

access to SOAP Body Element (Axis2 API)

2009-09-23 Thread Asma Maalej
Hello Using Axis2.1.4.1, and in order to recover methods name of a web service within a handler code, I tried to access to the SOAP message and extract it from the SOAPBody. Then, I tried to use "SOAPBodyElement" Class as shown below : * SOAPEnvelope soapenv = messageContext.getEnvelope();