This is one thing that embaffled me and must be an API design mistake!
Basically SOAP is RPC. There should be a standard API for getting
return value!

Regards,

Joe.


sumedha rubasinghe-2 wrote:
> 
> Hi Joe,
> Quote : "Of course QName qualified does not work on Axis. I am concerned
> about compatibility with others!"
> 
> Try something like the following code.
>         SOAPBody soapBody = sresponse.getSOAPBody();
>         QName bodyQName = new
> QName("http://ws.apache.org/axis2/xsd","mymethodResponse";,
> "m");
>         Iterator childElements = soapBody.getChildElements(bodyQName);
>         SOAPBodyElement element = (SOAPBodyElement)childElements.next();
> 
> You need to give correct value for localpart ("mymethodResponse").
> 
> ----------------------------------------------------------------------------------------------------------
> Quote : "However I am not sure whether Axis is adding one more xml layer
> in
> returnining result values."
> 
> You can try accessing a simple .NET or any other WS using axis. It works
> seamlessly.
> 
> /sumedha
> 
> 
> 

-- 
View this message in context: 
http://www.nabble.com/Running-SAAJ-problem-tf3937707.html#a11228676
Sent from the Axis - Dev mailing list archive at Nabble.com.


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to