Details
-
Bug
-
Status: Closed
-
Major
-
Resolution: Cannot Reproduce
-
current (nightly)
-
None
-
jdk 1.4.2
Description
Arrays returned with 0 size (in axis client)
? May be error in class SoapDeSerializer?
We see two function with equals code but in first we see "!="? in second we see "==" in block
strcmp(elementName, pName) == 0
which add array element to array
We thik that is error, but we can not rebuild project to test .
void SoapDeSerializer::deserializeEncodedArray (Axis_Array* pArray,
IAnySimpleType* pSimpleType, const AxisChar* pName, const AxisChar* pNamespace, int size) {
#ifdef ENABLE_AXISTRACE
if (axiscpp::AxisTrace::isTraceOn())
axiscpp::AxisTrace::traceEntry("SoapDeSerializer",
"deserializeEncodedArray", NULL, 5,
TRACETYPE_POINTER, sizeof(Axis_Array), ((void*)&pArray),
TRACETYPE_POINTER, sizeof(IAnySimpleType), ((void*)&pSimpleType),
TRACETYPE_STRING, 0, ((void*)&pName),
TRACETYPE_STRING, 0, ((void*)&pNamespace),
TRACETYPE_INT, 0, ((void*)&size)); /* AUTOINSERTED TRACE */
#endif
for (int count = 0 ; count < size; count++)
{
const char* elementName = peekNextElementName();
if(strcmp(elementName, pName) != 0)
else
{
}
}
}
void SoapDeSerializer::deserializeLiteralArray (Axis_Array* pArray,
IAnySimpleType* pSimpleType, const AxisChar* pName, const AxisChar*
pNamespace)
{
#ifdef ENABLE_AXISTRACE
if (axiscpp::AxisTrace::isTraceOn())
axiscpp::AxisTrace::traceEntry("SoapDeSerializer",
"deserializeLiteralArray", NULL, 4,
TRACETYPE_POINTER, sizeof(Axis_Array), ((void*)&pArray),
TRACETYPE_POINTER, sizeof(IAnySimpleType), ((void*)&pSimpleType),
TRACETYPE_STRING, 0, ((void*)&pName),
TRACETYPE_STRING, 0, ((void*)&pNamespace)); /* AUTOINSERTED TRACE */
#endif
while(true)
{
const char* elementName = peekNextElementName();
if(strcmp(elementName, pName) == 0)
else
{
}
}
}
Attachments
Issue Links
- is blocked by
-
AXISCPP-952 AxisCPP server cannot parse Java client arrays
- Closed