Return-Path: Delivered-To: apmail-cxf-issues-archive@www.apache.org Received: (qmail 21365 invoked from network); 30 Dec 2009 15:34:52 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.3) by minotaur.apache.org with SMTP; 30 Dec 2009 15:34:52 -0000 Received: (qmail 73082 invoked by uid 500); 30 Dec 2009 15:34:52 -0000 Delivered-To: apmail-cxf-issues-archive@cxf.apache.org Received: (qmail 73035 invoked by uid 500); 30 Dec 2009 15:34:52 -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 73025 invoked by uid 99); 30 Dec 2009 15:34:51 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 30 Dec 2009 15:34:51 +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; Wed, 30 Dec 2009 15:34:50 +0000 Received: from brutus.apache.org (localhost [127.0.0.1]) by brutus.apache.org (Postfix) with ESMTP id 74501234C045 for ; Wed, 30 Dec 2009 07:34:29 -0800 (PST) Message-ID: <705719138.1262187269462.JavaMail.jira@brutus.apache.org> Date: Wed, 30 Dec 2009 15:34:29 +0000 (UTC) From: "Alexey Moskvin (JIRA)" To: issues@cxf.apache.org Subject: [jira] Created: (CXF-2598) Can/t set minOccurs="1" with annotations 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 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 Priority: Minor 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.