mySOAPEnv.getFirstBody().getChildElements().next().getValue()
I'm trying to get the value of the first Element in the Body, but getValue will not work.
I get the response element:
<Result xsi:type="xsd:string" xmlns:xsi="http//www.w3.org/2001/XMLSchema-instance">Success!</Result>
but I can't extract the value.
Also I tried getValueAsType and it just gave me "http://www.w3.org/2001/XMLSchema:string"
Thanks! John