"WSDL2Java suffers from the common trap most technologies in the space have fallen into, which is playing catch-up with schema support. Writing a tool that can correctly and completely handle the highly complex XML-Schema standard is no small task. It alone represents an effort potentially as difficult as Axis itself. WSDL2Java is noticeably lacking in this area, having buggy or incomplete support for many XML-Schema features. Examples of this are support for attribute groups and choice groups" And that seems to be my problem. Operand is a choice of triple or searchClause, but turns into a sequence with triple mandatory, which means I can never construct an xQuery. Ralph