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?