Return-Path: Delivered-To: apmail-cxf-issues-archive@www.apache.org Received: (qmail 26710 invoked from network); 8 Jan 2010 21:32:17 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.3) by minotaur.apache.org with SMTP; 8 Jan 2010 21:32:17 -0000 Received: (qmail 2544 invoked by uid 500); 8 Jan 2010 21:32:17 -0000 Delivered-To: apmail-cxf-issues-archive@cxf.apache.org Received: (qmail 2524 invoked by uid 500); 8 Jan 2010 21:32:17 -0000 Mailing-List: contact issues-help@cxf.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@cxf.apache.org Delivered-To: mailing list issues@cxf.apache.org Received: (qmail 2509 invoked by uid 99); 8 Jan 2010 21:32:17 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 08 Jan 2010 21:32:17 +0000 X-ASF-Spam-Status: No, hits=-2000.0 required=10.0 tests=ALL_TRUSTED X-Spam-Check-By: apache.org Received: from [140.211.11.140] (HELO brutus.apache.org) (140.211.11.140) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 08 Jan 2010 21:32:15 +0000 Received: from brutus.apache.org (localhost [127.0.0.1]) by brutus.apache.org (Postfix) with ESMTP id 6CCA829A0011 for ; Fri, 8 Jan 2010 13:31:54 -0800 (PST) Message-ID: <404177059.129581262986314444.JavaMail.jira@brutus.apache.org> Date: Fri, 8 Jan 2010 21:31:54 +0000 (UTC) From: "Daniel Kulp (JIRA)" To: issues@cxf.apache.org Subject: [jira] Resolved: (CXF-2598) Can/t set minOccurs="1" with annotations In-Reply-To: <705719138.1262187269462.JavaMail.jira@brutus.apache.org> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 X-Virus-Checked: Checked by ClamAV on apache.org [ https://issues.apache.org/jira/browse/CXF-2598?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Daniel Kulp resolved CXF-2598. ------------------------------ Resolution: Fixed Fix Version/s: 2.2.6 Assignee: Daniel Kulp > Can/t set minOccurs="1" with annotations > ---------------------------------------- > > Key: CXF-2598 > URL: https://issues.apache.org/jira/browse/CXF-2598 > Project: CXF > Issue Type: Bug > Components: Aegis Databinding > Affects Versions: 2.2.5 > Reporter: Alexey Moskvin > Assignee: Daniel Kulp > Priority: Minor > Fix For: 2.2.6 > > > Hi, I use CXF & aegis binding for webservices. > For such java method: > public Calendar getSysdate() > I tried this annotations: > @org.apache.cxf.aegis.type.java5.XmlElement(nillable=false, minOccurs="1") > and > @javax.xml.bind.annotation.XmlElement(required=true) > but there is still > > > > > > is generated WSDL file. > When we build .NET code based on this WSDL this function becomes void (because of minOccurs="0"). > Is it possible to set minOccurs="1". Thanks. -- This message is automatically generated by JIRA. - You can reply to this email to add a comment to the issue online.