Return-Path: Delivered-To: apmail-incubator-cxf-issues-archive@locus.apache.org Received: (qmail 63465 invoked from network); 3 Dec 2007 19:47:17 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.2) by minotaur.apache.org with SMTP; 3 Dec 2007 19:47:17 -0000 Received: (qmail 93670 invoked by uid 500); 3 Dec 2007 19:47:05 -0000 Delivered-To: apmail-incubator-cxf-issues-archive@incubator.apache.org Received: (qmail 93655 invoked by uid 500); 3 Dec 2007 19:47:05 -0000 Mailing-List: contact cxf-issues-help@incubator.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: cxf-dev@incubator.apache.org Delivered-To: mailing list cxf-issues@incubator.apache.org Received: (qmail 93646 invoked by uid 99); 3 Dec 2007 19:47:05 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 03 Dec 2007 11:47:05 -0800 X-ASF-Spam-Status: No, hits=-100.0 required=10.0 tests=ALL_TRUSTED X-Spam-Check-By: apache.org Received: from [140.211.11.4] (HELO brutus.apache.org) (140.211.11.4) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 03 Dec 2007 19:47:04 +0000 Received: from brutus (localhost [127.0.0.1]) by brutus.apache.org (Postfix) with ESMTP id C51F6714243 for ; Mon, 3 Dec 2007 11:46:43 -0800 (PST) Message-ID: <33146986.1196711203805.JavaMail.jira@brutus> Date: Mon, 3 Dec 2007 11:46:43 -0800 (PST) From: "Tawfik Lachheb (JIRA)" To: cxf-issues@incubator.apache.org Subject: [jira] Created: (CXF-1251) Error from CXF if optional method argument is missing MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-Virus-Checked: Checked by ClamAV on apache.org Error from CXF if optional method argument is missing ----------------------------------------------------- Key: CXF-1251 URL: https://issues.apache.org/jira/browse/CXF-1251 Project: CXF Issue Type: Bug Components: Aegis Databinding Reporter: Tawfik Lachheb Priority: Blocker Fix For: 2.1 Setting the minOccurs for method parameters in the aegis mapping file does not apply to the wsdl so the wsdl shows method parameters like this for example (even with minOccurs set to 1): With minOccurs = 0, some toolkits would send the parameters like this if the findOptions parameter is null: Redlands YXd4MmRlbW86MTE5NTE2jI3MzpGbGV4OjZjNmZlzQ21ZTljMTA4OTNVlY2NmOWF2Fl Wich returns: soap:Server Current state not START_ELEMENT Not sure what the best way to fix it is but it seems like we either: 1- fix the code to apply the minOccurs from the aegis mapping files so clients don't send this kind of request 2- fix the code to be able to handle the minOccurs of 0 on the server side Please let me know if yo need any more info. Thanks -- This message is automatically generated by JIRA. - You can reply to this email to add a comment to the issue online.