Hi Asaf, Have you considered an xpath or xquery to get this data and then cast or change it to the type you've discovered. Maybe something along the lines of: SoapEnvelopeDocument.executeQuery(//body)
Please let us know if this won't work for you or isn't what you were asking for. -Jacob Danner On 8/6/07, Asaf Lahav <[EMAIL PROTECTED]> wrote: > > > > > I have several web services that return SOAP responses. > > I loaded (parse) the envelope document into xml beans. > > Now, I need to extract the xml document that is under the envelope body > element, when I can't know which xmlbeans document is there. > > > > Can anyone provide me a code snippet for the purpose of extracting xml > elements under the envelope body? > > Thanks in advance, > > Asaf > > > > > > --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

