axis-c-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "nadir amra (JIRA)" <axis-c-...@ws.apache.org>
Subject [jira] Commented: (AXISCPP-891) Deserializer output being returned as null
Date Sun, 14 Jan 2007 08:02:27 GMT

    [ https://issues.apache.org/jira/browse/AXISCPP-891?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#action_12464565
] 

nadir amra commented on AXISCPP-891:
------------------------------------

Forgot to mention that in this case you will get an array object of size 0.

> Deserializer output being returned as null
> ------------------------------------------
>
>                 Key: AXISCPP-891
>                 URL: https://issues.apache.org/jira/browse/AXISCPP-891
>             Project: Axis-C++
>          Issue Type: Bug
>          Components: Client - Deserialization
>    Affects Versions: 1.5 Final
>         Environment: Linux
>            Reporter: Chip Stettler
>             Fix For: current (nightly)
>
>
> The schema has element define Messages as a complex type of ArrayOfString
>           <s:element minOccurs="0" maxOccurs="1" name="Messages" type="tns:ArrayOfString"
/>
> ArrayOfString looks like
>       <s:complexType name="ArrayOfString">
>         <s:sequence>
>           <s:element minOccurs="0" maxOccurs="unbounded" name="string" nillable="true"
type="s:string" />
>         </s:sequence>
>       </s:complexType>
> The SOAP document contains
> <Messages></Messages>
> When Messages is empty the entire Output struct is null with no exception being generated.
> If I put
> <Messages><string>a<string></Messages>
> data returns fine.

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: https://issues.apache.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

---------------------------------------------------------------------
To unsubscribe, e-mail: axis-c-dev-unsubscribe@ws.apache.org
For additional commands, e-mail: axis-c-dev-help@ws.apache.org


Mime
View raw message