Details
-
Bug
-
Status: Closed
-
Major
-
Resolution: Fixed
-
None
-
None
-
None
Description
When XSD_language type is sent as an element of an array, it's not deserialized and following exception occured.
org.xml.sax.SAXException: WSWS3368E: Error: The deserialization event characters for ( - I ) was unexpected in org.apache.test.xsd_language.AsArrayRequest_Deser.
Here is the code snippet which shows the problem.
xsd__language_Array arrayInput;
arrayInput.m_Array = new xsd__language[2];
arrayInput.m_Size = 2;
for (int inputIndex=0 ; inputIndex < 2 ; inputIndex++)
xsd__language_Array arrayResult = ws->asArray(arrayInput);
cout << "array of " << arrayResult.m_Size << " elements" << endl;
for (int index = 0; index < arrayResult.m_Size ; index++)
{
if (arrayResult.m_Array[index])
{
if (*(arrayResult.m_Array[index]))
else
{ cout << " element[" << index << "]=<empty>" << endl; } delete arrayResult.m_Array[index];
}
else
Testcase for this problem will be added soon.
Regards
Manohar
Attachments
Issue Links
- is part of
-
AXISCPP-787 Serialization error when some of XSD type used as an array element
-
- Closed
-