Never mind, my bad.  I'm using a custom XML parser, and it looks like
the parser is at fault.


________________________________

        From: WALTON Jason [mailto:[EMAIL PROTECTED] 
        Sent: Tuesday, October 21, 2008 3:52 PM
        To: [email protected]
        Subject: Generated client cannot read replies unless "build()"
is called on envelope?
        
        
        I've got an axis2 1.4 generated client, using ADB databinding.
When I use the client, every request results in some bizzare
ADBException about "Unexpected subelement ...".
         
        Here's the cool part.  If I open up eclipse, and put a break
point in the generated fromOM() method, and then in the debugger look at
"OMElement param"s value, the fault goes away, and everything works
fine.
         
        Somehow, calling toString() on the incoming OMElement is
changing the behaviour of my client.  If I modify the generated client
and call "param.build()", then again, it seems to work fine (so long as
I don't get any faults back from the far-end).  What the heck is going
on here?
         

Reply via email to