Error deserializing empty array within a structure
--------------------------------------------------
Key: AXISCPP-1015
URL: https://issues.apache.org/jira/browse/AXISCPP-1015
Project: Axis-C++
Issue Type: Bug
Components: Serialization
Affects Versions: 1.6 Beta
Environment: Sending response from Java AXIS Server
Reporter: Wayne Johnson
Fix For: 1.6 Final
I am returning a structure that contains an array of structures. If I return
that array with no elements, the SoapDeSerializer::getArraySize method returns
a -1.
Then SoapDeSerializer::getCmplxArray falls into the error path, and returns
AXIS_FAIL. My stub deserializer for the outside structure sees the FAIL status
and returns the FAIL to SoapDeSerializer::getCmplxObject and everything
percolates back to my client where a NULL is returned to the client instead of
my structure.
The same SOAP response seems to work fine on the Axis Java client.
I'm working on the svn trunk.
Thanks.
--
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]