Got aroung issue by removing the choice. Hanging the elements off the main branch and placing a mandatory element between the optional fields. It works now.
I am using the XMLSPY tool and JAXB.
Here is my schema snippet:
<xsd:complexType name="CustSearchResponseType">
<xsd:sequence>
<xsd:element name="header" type="HeaderType"/>
<xsd:element name="detailAvailable" type="xsd:boolean"/>
<xsd:choice>
<xsd:element name="custList"...
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.