axis-java-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From susan...@apache.org
Subject cvs commit: ws-axis/c/src/engine/server ServerAxisEngine.cpp
Date Thu, 08 Apr 2004 13:52:20 GMT
susantha    2004/04/08 06:52:20

  Modified:    c/src/engine/server ServerAxisEngine.cpp
  Log:
  guess fix for random bug appering when runnig Axis on Linux
  
  Revision  Changes    Path
  1.4       +5 -7      ws-axis/c/src/engine/server/ServerAxisEngine.cpp
  
  Index: ServerAxisEngine.cpp
  ===================================================================
  RCS file: /home/cvs/ws-axis/c/src/engine/server/ServerAxisEngine.cpp,v
  retrieving revision 1.3
  retrieving revision 1.4
  diff -u -r1.3 -r1.4
  --- ServerAxisEngine.cpp	6 Apr 2004 06:51:41 -0000	1.3
  +++ ServerAxisEngine.cpp	8 Apr 2004 13:52:20 -0000	1.4
  @@ -231,6 +231,11 @@
   			Status = Invoke(m_pMsgData); 
   		}
   		while(0);
  +
  +		if (AXIS_SUCCESS != m_pDZ->FlushInputStream())
  +		{
  +			AXISTRACE1("SF_SOAPCONTENTERROR", CRITICAL);
  +		}
   		/**
   		 * Get any header blocks unprocessed (left) in the Deserializer and add them to the Serializer
   		 * They may be headers targetted to next soap processors
  @@ -350,13 +355,6 @@
   		level++; //AE_SERV
   	}
   	while(0);
  -
  -	if (AXIS_SUCCESS != m_pDZ->FlushInputStream())
  -	{
  -		AXISTRACE1("SF_SOAPCONTENTERROR", CRITICAL);
  -		m_pSZ->setSoapFault(SoapFault::getSoapFault(SF_SOAPCONTENTERROR));
  -		return AXIS_FAIL;
  -	}
   
   	pMsg->setPastPivotState(true);
   
  
  
  

Mime
View raw message