[jira] Commented: (AXISCPP-621) Support for the WSDL construct choice

classic Classic list List threaded Threaded
1 message Options
Reply | Threaded
Open this post in threaded view
|

[jira] Commented: (AXISCPP-621) Support for the WSDL construct choice

JIRA axis-c-dev@ws.apache.org
     [ http://issues.apache.org/jira/browse/AXISCPP-621?page=comments#action_64616 ]
     
Dushshantha Chandradasa commented on AXISCPP-621:
-------------------------------------------------

i managed to solve half the problem. Chinthana implemented a peek mechanism in xml parser which allows the deserializer to identify the name of the next element from the xml stream. I used that mechanism in the generated stub level codes to get the next element name and deserialize only that element. This is done if and only if the perticular element is a wsdl choice.

I changed the wsdl2ws tool to generate codes accordingly. now it works for nillable types and simple types with 1 occurrence. This is working only for document style. These changes now are in the cvs.

Have to look in to unbounded occurrences.

i'm planning to add three tests in to the test framework.
    1. Test for nillable types
    2. Test for Simple types (two seperate tests for rpc and doc/lit)
    3. Test for unbounded occurrences


 

> Support for the WSDL construct choice
> -------------------------------------
>
>          Key: AXISCPP-621
>          URL: http://issues.apache.org/jira/browse/AXISCPP-621
>      Project: Axis-C++
>         Type: New Feature
>   Components: WSDL processing - RPC
>     Versions: 1.5 Final
>  Environment: All
>     Reporter: Dushshantha Chandradasa
>     Assignee: Dushshantha Chandradasa
>  Attachments: Choice.wsdl, ChoiceTest.wsdl
>
> Axis C++ doesn't support the WSDL construct "choice".

--
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