You are viewing a plain text version of this content. The canonical link for it is here.
Posted to axis-cvs@ws.apache.org by na...@apache.org on 2006/12/30 07:05:40 UTC

svn commit: r491176 - /webservices/axis/trunk/c/src/soap/SoapDeSerializer.cpp

Author: nadiramra
Date: Fri Dec 29 22:05:39 2006
New Revision: 491176

URL: http://svn.apache.org/viewvc?view=rev&rev=491176
Log:
AXISCPP-1000 - Axis C++ 1.6 beta can't handle array return type correctly

Modified:
    webservices/axis/trunk/c/src/soap/SoapDeSerializer.cpp

Modified: webservices/axis/trunk/c/src/soap/SoapDeSerializer.cpp
URL: http://svn.apache.org/viewvc/webservices/axis/trunk/c/src/soap/SoapDeSerializer.cpp?view=diff&rev=491176&r1=491175&r2=491176
==============================================================================
--- webservices/axis/trunk/c/src/soap/SoapDeSerializer.cpp (original)
+++ webservices/axis/trunk/c/src/soap/SoapDeSerializer.cpp Fri Dec 29 22:05:39 2006
@@ -537,7 +537,7 @@
     for (int count = 0 ; count < size; count++)
     {
         const char* elementName = peekNextElementName();
-        if(strcmp(elementName, pName) != 0)
+        if(strcmp(elementName, pName) == 0)
             pArray->addElement(getCmplxObject(pDZFunct, pCreFunct, pDelFunct, pName, pNamespace));
         else
             return;
@@ -659,7 +659,7 @@
     for (int count = 0 ; count < size; count++)
     {
         const char* elementName = peekNextElementName();
-        if(strcmp(elementName, pName) != 0)
+        if(strcmp(elementName, pName) == 0)
         {
             getElement(pName, pNamespace, pSimpleType, true);
             void * pValue = pSimpleType->getValue();



---------------------------------------------------------------------
To unsubscribe, e-mail: axis-cvs-unsubscribe@ws.apache.org
For additional commands, e-mail: axis-cvs-help@ws.apache.org