ws-axis-cvs mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From dami...@apache.org
Subject cvs commit: ws-axis/c/src/soap SoapFault.cpp
Date Tue, 25 May 2004 11:30:40 GMT
damitha     2004/05/25 04:30:40

  Modified:    c/src/soap SoapFault.cpp
  Log:
  
  
  Revision  Changes    Path
  1.22      +5 -2      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.21
  retrieving revision 1.22
  diff -u -r1.21 -r1.22
  --- SoapFault.cpp	24 May 2004 05:44:20 -0000	1.21
  +++ SoapFault.cpp	25 May 2004 11:30:40 -0000	1.22
  @@ -153,8 +153,11 @@
       /* the soap envelope namespace prefix to be obtained from 
        * gs_SoapEnvVersionsStruct should depend on the relevant SOAP VERSION
        */
  -     pSoapFault->setFaultcode(string(gs_SoapEnvVersionsStruct[SOAP_VER_1_1].pchPrefix)
+ 
  -         ":" + s_parrSoapFaultStruct[iFaultCode].pcFaultcode);
  +     string strFaultcode = s_parrSoapFaultStruct[iFaultCode].pcFaultcode;
  +     string strSoapEnvVerStruct = gs_SoapEnvVersionsStruct[SOAP_VER_1_1].pchPrefix;
  +     pSoapFault->setFaultcode(strSoapEnvVerStruct + ":" + strFaultcode);
  +     //pSoapFault->setFaultcode(string(gs_SoapEnvVersionsStruct[SOAP_VER_1_1].pchPrefix)
+ 
  +     //    ":" + s_parrSoapFaultStruct[iFaultCode].pcFaultcode);
        pSoapFault->setFaultstring(s_parrSoapFaultStruct[iFaultCode].pcFaultstring);
        //pSoapFault->setFaultactor(s_parrSoapFaultStruct[iFaultCode].pcFaultactor);
        pSoapFault->setFaultactor("http://endpoint/url");
  
  
  

Mime
View raw message