minOccurs=1 is a default value so its omitted. On 4/24/07, Dave Kallstrom <[EMAIL PROTECTED]> wrote:
How come when I use the following annotations @org.codehaus.xfire.aegis.type.java5.XmlElement(minOccurs="1", name="assetVersion") public Long getVer() { return ver; }@org.codehaus.xfire.aegis.type.java5.XmlElement(minOccurs="1", name="assetId") public Long getAssetId() { return asset.getId(); } The wsdl complex types looks like this <xsd:element name="assetId" nillable="true" type="xsd:long"/> <xsd:element name="assetVersion" nillable="true" type="xsd:long"/> I would expect to see the minOccurs attribute set to 1. Instead it is missing. If I remove the annotations the minOccurs attribute is set to 0. Am I missing something? -- Dave Kallstrom
-- ----- When one of our products stops working, we'll blame another vendor within 24 hours. --------------------------------------------------------------------- To unsubscribe from this list please visit: http://xircles.codehaus.org/manage_email
