Return-Path: Delivered-To: apmail-ws-axis-dev-archive@www.apache.org Received: (qmail 89335 invoked from network); 18 Jul 2008 08:31:28 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.2) by minotaur.apache.org with SMTP; 18 Jul 2008 08:31:28 -0000 Received: (qmail 89666 invoked by uid 500); 18 Jul 2008 08:31:22 -0000 Delivered-To: apmail-ws-axis-dev-archive@ws.apache.org Received: (qmail 89610 invoked by uid 500); 18 Jul 2008 08:31:22 -0000 Mailing-List: contact axis-dev-help@ws.apache.org; run by ezmlm Precedence: bulk Reply-To: axis-dev@ws.apache.org list-help: list-unsubscribe: List-Post: List-Id: Delivered-To: mailing list axis-dev@ws.apache.org Received: (qmail 89599 invoked by uid 99); 18 Jul 2008 08:31:22 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 18 Jul 2008 01:31:22 -0700 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, 18 Jul 2008 08:30:36 +0000 Received: from brutus (localhost [127.0.0.1]) by brutus.apache.org (Postfix) with ESMTP id BA9C8234C170 for ; Fri, 18 Jul 2008 01:30:31 -0700 (PDT) Message-ID: <87336491.1216369831750.JavaMail.jira@brutus> Date: Fri, 18 Jul 2008 01:30:31 -0700 (PDT) From: "Chintan (JIRA)" To: axis-dev@ws.apache.org Subject: [jira] Created: (AXIS2-3924) WSDL2JAVA does not support optional parameters declared by minOccurs="0" MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-Virus-Checked: Checked by ClamAV on apache.org WSDL2JAVA does not support optional parameters declared by minOccurs="0" ------------------------------------------------------------------------ Key: AXIS2-3924 URL: https://issues.apache.org/jira/browse/AXIS2-3924 Project: Axis 2.0 (Axis2) Issue Type: Bug Components: rpc Environment: Linux Reporter: Chintan Hi, In our project we use JWSDP's wscompile to generate WSDL which generates WSDL in RPC-Encoded style. We use this WSDL with Axis2's wsdl2java tool to generate client side stub. In some of the messages, some parameters has to be optional, so that we can pass null values. These parameters are declared optional by using minOccurs="0" in wsdl. But when the client stub is generated, it generates not null validation for all the parameters for all the messages. Not sure if this is bug or there is some option that I should use while using wsdl2java to get optional parameters working. Thanks, Chintan -- This message is automatically generated by JIRA. - You can reply to this email to add a comment to the issue online. --------------------------------------------------------------------- To unsubscribe, e-mail: axis-dev-unsubscribe@ws.apache.org For additional commands, e-mail: axis-dev-help@ws.apache.org