You are viewing a plain text version of this content. The canonical link for it is here.
Posted to java-dev@axis.apache.org by cd...@apache.org on 2005/06/22 11:40:16 UTC

cvs commit: ws-axis/c/src/soap SoapFault.cpp

cdinapala    2005/06/22 02:40:16

  Modified:    c/src/soap SoapFault.cpp
  Log:
  Modified for fix the issue AXISCPP-706.
  
  Revision  Changes    Path
  1.55      +20 -4     ws-axis/c/src/soap/SoapFault.cpp
  
  Index: SoapFault.cpp
  ===================================================================
  RCS file: /home/cvs/ws-axis/c/src/soap/SoapFault.cpp,v
  retrieving revision 1.54
  retrieving revision 1.55
  diff -u -r1.54 -r1.55
  --- SoapFault.cpp	9 Jun 2005 05:05:54 -0000	1.54
  +++ SoapFault.cpp	22 Jun 2005 09:40:16 -0000	1.55
  @@ -76,10 +76,18 @@
           m_pFaultactorParam->serialize(pSZ);
       } 
   
  -    if(m_pFaultDetail)
  +	//Chinthana:Changed the code to solved Issue AXISCPP-706.
  +    /*if(m_pFaultDetail)
       {
               m_pFaultDetail->serialize(pSZ);
  -    }
  +    }*/
  +	if(m_pFaultDetail) 
  +	{ 
  +		pSZ.serialize("<detail><appSpecific>", NULL); 
  +		m_pFaultDetail->serialize(pSZ); 
  +		pSZ.serialize("</appSpecific></detail>\n", NULL); 
  +	} 
  +	//22/06/2005.............................................
       
   	pSZ.serialize("</", gs_SoapEnvVersionsStruct[eSoapVersion].pchPrefix, ":",
   		gs_SoapEnvVersionsStruct[eSoapVersion].pchWords[SKW_FAULT], ">\n", NULL); 
  @@ -97,12 +105,20 @@
           m_pFaultactorParam->serialize(pSZ);
       }
   
  -    if(m_pFaultDetail)
  +	//Chinthana:Changed the code to solved Issue AXISCPP-706. 
  +    /*if(m_pFaultDetail)
       {
            pSZ.serialize("<detail>", NULL);
               m_pFaultDetail->serialize(pSZ);
               pSZ.serialize("</detail>\n", NULL);
  -    }
  +    }*/
  +	if(m_pFaultDetail) 
  +	{ 
  +		pSZ.serialize("<detail><appSpecific>", NULL); 
  +		m_pFaultDetail->serialize(pSZ); 
  +		pSZ.serialize("</appSpecific></detail>\n", NULL); 
  +	} 
  +	//22/06/2005.........................................
   
           pSZ.serialize("</", gs_SoapEnvVersionsStruct[eSoapVersion].pchPrefix, ":",
                   gs_SoapEnvVersionsStruct[eSoapVersion].pchWords[SKW_FAULT], ">\n", NULL);