Return-Path: Delivered-To: apmail-ws-axis-c-dev-archive@www.apache.org Received: (qmail 92526 invoked from network); 18 Nov 2005 13:37:05 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (209.237.227.199) by minotaur.apache.org with SMTP; 18 Nov 2005 13:37:05 -0000 Received: (qmail 12052 invoked by uid 500); 18 Nov 2005 13:37:05 -0000 Delivered-To: apmail-ws-axis-c-dev-archive@ws.apache.org Received: (qmail 12029 invoked by uid 500); 18 Nov 2005 13:37:04 -0000 Mailing-List: contact axis-c-dev-help@ws.apache.org; run by ezmlm Precedence: bulk list-help: list-unsubscribe: List-Post: List-Id: "Apache AXIS C Developers List" Reply-To: "Apache AXIS C Developers List" Delivered-To: mailing list axis-c-dev@ws.apache.org Received: (qmail 12017 invoked by uid 99); 18 Nov 2005 13:37:04 -0000 X-ASF-Spam-Status: No, hits=1.3 required=10.0 tests=SPF_FAIL X-Spam-Check-By: apache.org Received: from [192.87.106.226] (HELO ajax.apache.org) (192.87.106.226) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 18 Nov 2005 05:37:02 -0800 Received: from ajax.apache.org (ajax.apache.org [127.0.0.1]) by ajax.apache.org (Postfix) with ESMTP id 6E382223 for ; Fri, 18 Nov 2005 14:36:41 +0100 (CET) Message-ID: <1731589437.1132321001418.JavaMail.jira@ajax.apache.org> Date: Fri, 18 Nov 2005 14:36:41 +0100 (CET) From: "John Hawkins (JIRA)" To: axis-c-dev@ws.apache.org Subject: [jira] Closed: (AXISCPP-874) No API to programatically select/choose child elemens of xsd:choice in Client In-Reply-To: <545217887.1132310561145.JavaMail.jira@ajax.apache.org> Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-Virus-Checked: Checked by ClamAV on apache.org X-Spam-Rating: minotaur.apache.org 1.6.2 0/1000/N [ http://issues.apache.org/jira/browse/AXISCPP-874?page=all ] John Hawkins closed AXISCPP-874: -------------------------------- Resolution: Won't Fix I think what you're asking for is not valid. If I can rephrase to clarify what I think you're saying - The client creates there object and fills it out. They then send this to the server and the client-engine chooses the first option. I think that you are saying that there should be some kind of API that the customer says "OK, so I filled out the whole objtec but only end the second element ". Well, I think this is a little crazy - they already have this option - they simply fill out the one option they do want to send ! I'm gonna close this on the basis that I think this is a somewhat strange concept and most (all?) users will have no problem understanding the issue and coding it appropriately. > No API to programatically select/choose child elemens of xsd:choice in Client > ----------------------------------------------------------------------------- > > Key: AXISCPP-874 > URL: http://issues.apache.org/jira/browse/AXISCPP-874 > Project: Axis-C++ > Type: Bug > Components: Client - API > Reporter: Manohar > > There is no API to programatically select/choose child elements of xsd:choice in Client. At present only the first child element of xsd:choice is chosen by Axis engine and the same is processed. For e.g. > I've a complextype with xsd:chioce as defined below: > > > > > > > > and when user sets values for these elements in client and sends "aRecord" object over the wire by default "field1" is chosen by Axix C++ engine leaving no option for user. Instead there shoiud be an API using which user can choose/set his choice and can send the same thing as part of the request to the server. > Regards > Manohar -- This message is automatically generated by JIRA. - If you think it was sent incorrectly contact one of the administrators: http://issues.apache.org/jira/secure/Administrators.jspa - For more information on JIRA, see: http://www.atlassian.com/software/jira