You are viewing a plain text version of this content. The canonical link for it is here.
Posted to c-dev@axis.apache.org by "Chip Stettler (JIRA)" <ax...@ws.apache.org> on 2005/12/14 16:57:48 UTC

[jira] Created: (AXISCPP-891) Deserializer output being returned as null

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


[jira] Closed: (AXISCPP-891) Deserializer output being returned as null

Posted by "nadir amra (JIRA)" <ax...@ws.apache.org>.
     [ https://issues.apache.org/jira/browse/AXISCPP-891?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

nadir amra closed AXISCPP-891.
------------------------------

       Resolution: Cannot Reproduce
    Fix Version/s: current (nightly)

Could not reproduce problem.  Created new test case EmptyArrayOfString to validate. Test uses Doc/Literal.  Please reopen if there is a problem with more infomation. 

> 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


[jira] Commented: (AXISCPP-891) Deserializer output being returned as null

Posted by "nadir amra (JIRA)" <ax...@ws.apache.org>.
    [ 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