axis-c-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "John Hawkins (JIRA)" <axis-c-...@ws.apache.org>
Subject [jira] Closed: (AXISCPP-874) No API to programatically select/choose child elemens of xsd:choice in Client
Date Fri, 18 Nov 2005 13:36:41 GMT
     [ 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:
> <xsd:complexType name="aRecord">
> 	<xsd:choice>
>         	<xsd:element name="field1" type="xsd:int" nillable="false" />
>                 <xsd:element name="field2" type="xsd:string" nillable="false" />
>                 <xsd:element name="field3" type="xsd:byte" nillable="false" />
>         </xsd:choice>
> </xsd:complexType>
> 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


Mime
View raw message