Hello All,

Can someone explain to me if this is normal behaviour in Axis (I'm
using 1.2.1 version).

I register an rpc handler on client and services side.  Inside of
handleRequest(MessageContext)  I'm trying to get javax.xml.soap.Name
of the  first body element but I get 2 different results for the same
SOAP message :

This call that I use  to get  javax.xml.soap.Name :
Name name = ((javax.xml.soap.SOAPElement)
message.getSOAPBody().getFirstChild()).getElementName();

This is soap message that has been exchanged between sides:

<soap:Body>
 <Test xmlns="urn:test">
   ....
 </Test.
</soap:Body>

1- On service side : It returns the real name  {urn:test}Test
1- On client side : I get an operation name instead {}MyOperation .
???? Why do I get operation name instead node's name ?

Any ideas, please.

Best regards,
tm

Reply via email to