[ 
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: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to