axis-c-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Chip Stettler (JIRA)" <axis-c-...@ws.apache.org>
Subject [jira] Created: (AXISCPP-891) Deserializer output being returned as null
Date Wed, 14 Dec 2005 15:57:48 GMT
Deserializer output being returned as null
------------------------------------------

         Key: AXISCPP-891
         URL: http://issues.apache.org/jira/browse/AXISCPP-891
     Project: Axis-C++
        Type: Bug
  Components: Client - Deserialization  
    Versions: 1.5 Final    
 Environment: Linux
    Reporter: Chip Stettler



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:
   http://issues.apache.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see:
   http://www.atlassian.com/software/jira


Mime
View raw message