axis-java-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From nadira...@apache.org
Subject svn commit: r491176 - /webservices/axis/trunk/c/src/soap/SoapDeSerializer.cpp
Date Sat, 30 Dec 2006 06:05:40 GMT
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


Mime
View raw message