axis-java-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From dami...@apache.org
Subject cvs commit: ws-axis/c/samples/server Makefile.am
Date Thu, 20 May 2004 10:31:42 GMT
damitha     2004/05/20 03:31:42

  Modified:    c/samples/client Makefile.am
               c/samples/client/rpcfault MathOps.cpp MathOps.h
                        MathOpsClient.cpp
               c/samples/server Makefile.am
  Log:
  
  
  Revision  Changes    Path
  1.5       +1 -1      ws-axis/c/samples/client/Makefile.am
  
  Index: Makefile.am
  ===================================================================
  RCS file: /home/cvs/ws-axis/c/samples/client/Makefile.am,v
  retrieving revision 1.4
  retrieving revision 1.5
  diff -u -r1.4 -r1.5
  --- Makefile.am	10 Apr 2004 07:12:14 -0000	1.4
  +++ Makefile.am	20 May 2004 10:31:41 -0000	1.5
  @@ -1 +1 @@
  -SUBDIRS = simple interoptests
  +SUBDIRS = simple interoptests rpcfault
  
  
  
  1.5       +16 -0     ws-axis/c/samples/client/rpcfault/MathOps.cpp
  
  Index: MathOps.cpp
  ===================================================================
  RCS file: /home/cvs/ws-axis/c/samples/client/rpcfault/MathOps.cpp,v
  retrieving revision 1.4
  retrieving revision 1.5
  diff -u -r1.4 -r1.5
  --- MathOps.cpp	20 May 2004 05:51:01 -0000	1.4
  +++ MathOps.cpp	20 May 2004 10:31:41 -0000	1.5
  @@ -8,6 +8,20 @@
   
   #include <axis/server/AxisWrapperAPI.h>
   
  +extern int Axis_DeSerialize_SOAPStructFault(SOAPStructFault* param,
  +    IWrapperSoapDeSerializer *pDZ);
  +                                                                                      
                                      
  +extern void* Axis_Create_SOAPStructFault(SOAPStructFault *Obj, bool bArray = false,
  +    int nSize=0);
  +                                                                                      
                                      
  +extern void Axis_Delete_SOAPStructFault(SOAPStructFault* param, bool bArray = false,
  +    int nSize=0);
  +                                                                                      
                                      
  +extern int Axis_Serialize_SOAPStructFault(SOAPStructFault* param, IWrapperSoapSerializer*
pSZ,
  +    bool bArray = false);
  +                                                                                      
                                      
  +extern int Axis_GetSize_SOAPStructFault();
  +
   bool CallBase::bInitialized;
   CallFunctions CallBase::ms_VFtable;
   MathOps::MathOps(const char* pchEndpointUri)
  @@ -61,6 +75,8 @@
                               getCmplxObject((void*) Axis_DeSerialize_SOAPStructFault, 
                               (void*) Axis_Create_SOAPStructFault, 
                               (void*) Axis_Delete_SOAPStructFault,"faultstruct", 0);
  +                            throw AxisException();
  +                        
                       }
                   }
   	}
  
  
  
  1.2       +2 -0      ws-axis/c/samples/client/rpcfault/MathOps.h
  
  Index: MathOps.h
  ===================================================================
  RCS file: /home/cvs/ws-axis/c/samples/client/rpcfault/MathOps.h,v
  retrieving revision 1.1
  retrieving revision 1.2
  diff -u -r1.1 -r1.2
  --- MathOps.h	18 May 2004 11:19:02 -0000	1.1
  +++ MathOps.h	20 May 2004 10:31:41 -0000	1.2
  @@ -7,6 +7,8 @@
   #define __MATHOPS_CLIENTSTUB_H__OF_AXIS_INCLUDED_
   
   #include <axis/client/Call.h>
  +#include "SOAPStructFault.h"
  +#include <axis/server/AxisException.h>
   #include <ctype.h>
   
   class MathOps 
  
  
  
  1.3       +2 -1      ws-axis/c/samples/client/rpcfault/MathOpsClient.cpp
  
  Index: MathOpsClient.cpp
  ===================================================================
  RCS file: /home/cvs/ws-axis/c/samples/client/rpcfault/MathOpsClient.cpp,v
  retrieving revision 1.2
  retrieving revision 1.3
  diff -u -r1.2 -r1.3
  --- MathOpsClient.cpp	19 May 2004 09:34:57 -0000	1.2
  +++ MathOpsClient.cpp	20 May 2004 10:31:41 -0000	1.3
  @@ -1,4 +1,5 @@
   #include "MathOps.h"
  +#include <axis/server/AxisException.h>
   
   void PrintUsage();
   bool IsNumber(const char* p);
  @@ -52,7 +53,7 @@
               {
   		iResult = ws.div(i1, i2);		
               }
  -            catch(AxisDivByZeroException& e)
  +            catch(AxisException& e)
               {
               }
               catch(exception& e)
  
  
  
  1.3       +1 -1      ws-axis/c/samples/server/Makefile.am
  
  Index: Makefile.am
  ===================================================================
  RCS file: /home/cvs/ws-axis/c/samples/server/Makefile.am,v
  retrieving revision 1.2
  retrieving revision 1.3
  diff -u -r1.2 -r1.3
  --- Makefile.am	10 Apr 2004 07:12:14 -0000	1.2
  +++ Makefile.am	20 May 2004 10:31:42 -0000	1.3
  @@ -1 +1 @@
  -SUBDIRS = interoptests simple
  +SUBDIRS = interoptests simple rpcfault
  
  
  

Mime
View raw message