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/tests/client/stubTest/stubBase InteropTestPortType.cpp InteropTestPortType.h Makefile.am
Date Tue, 06 Jul 2004 13:12:49 GMT
damitha     2004/07/06 06:12:49

  Modified:    c/tests/client/stubTest/stubBase InteropTestPortType.cpp
                        InteropTestPortType.h Makefile.am
  Log:
  (null)
  
  Revision  Changes    Path
  1.5       +6 -13     ws-axis/c/tests/client/stubTest/stubBase/InteropTestPortType.cpp
  
  Index: InteropTestPortType.cpp
  ===================================================================
  RCS file: /home/cvs/ws-axis/c/tests/client/stubTest/stubBase/InteropTestPortType.cpp,v
  retrieving revision 1.4
  retrieving revision 1.5
  diff -u -r1.4 -r1.5
  --- InteropTestPortType.cpp	24 Jun 2004 11:43:58 -0000	1.4
  +++ InteropTestPortType.cpp	6 Jul 2004 13:12:49 -0000	1.5
  @@ -33,10 +33,6 @@
    */
   xsd__string InteropTestPortType::echoString(xsd__string Value0)
   {
  -    char* cFaultcode;
  -        char* cFaultstring;
  -        char* cFaultactor;
  -        char* cFaultdetail;
   	xsd__string Ret;
       try
       {
  @@ -62,15 +58,12 @@
                   {
                       throw;
                   }
  -                else if (AXIS_SUCCESS == m_pCall->checkFault("Fault","http://localhost/axis/MathOps"
))//Exception handling code goes here
  -                {
  -                        cFaultcode = m_pCall->getElementAsString("faultcode", 0);
  -                        cFaultstring = m_pCall->getElementAsString("faultstring", 0);
  -                        cFaultactor = m_pCall->getElementAsString("faultactor", 0);
  -                   
  -                                  cFaultdetail = m_pCall->getElementAsString("faultdetail",
0);
  -                                  throw AxisGenException(cFaultdetail);
  -                      
  +                ISoapFault* pSoapFault = (ISoapFault*) m_pCall->checkFault("Fault",
  +		    "http://localhost/axis/MathOps");
  +		if(pSoapFault)
  +                {   
  +		    m_pCall->unInitialize();
  +                    throw AxisClientException(pSoapFault);     
                   }
                   else throw;
           }
  
  
  
  1.4       +1 -1      ws-axis/c/tests/client/stubTest/stubBase/InteropTestPortType.h
  
  Index: InteropTestPortType.h
  ===================================================================
  RCS file: /home/cvs/ws-axis/c/tests/client/stubTest/stubBase/InteropTestPortType.h,v
  retrieving revision 1.3
  retrieving revision 1.4
  diff -u -r1.3 -r1.4
  --- InteropTestPortType.h	24 Jun 2004 11:43:58 -0000	1.3
  +++ InteropTestPortType.h	6 Jul 2004 13:12:49 -0000	1.4
  @@ -9,7 +9,7 @@
   #include <axis/client/Stub.h>
   #include "SOAPStruct_Array.h"
   #include "SOAPStruct.h"
  -#include <axis/AxisGenException.h>
  +#include "AxisClientException.h"
   
   class InteropTestPortType :public Stub 
   {
  
  
  
  1.3       +1 -1      ws-axis/c/tests/client/stubTest/stubBase/Makefile.am
  
  Index: Makefile.am
  ===================================================================
  RCS file: /home/cvs/ws-axis/c/tests/client/stubTest/stubBase/Makefile.am,v
  retrieving revision 1.2
  retrieving revision 1.3
  diff -u -r1.2 -r1.3
  --- Makefile.am	25 Jun 2004 10:07:59 -0000	1.2
  +++ Makefile.am	6 Jul 2004 13:12:49 -0000	1.3
  @@ -1,7 +1,7 @@
   bin_PROGRAMS = stubBase
   SUBDIRS =
   AM_CPPFLAGS = $(CPPFLAGS)
  -stubBase_SOURCES = InteropBaseClient.cpp InteropTestPortType.cpp  SOAPStruct.cpp 
  +stubBase_SOURCES = InteropBaseClient.cpp InteropTestPortType.cpp  SOAPStruct.cpp AxisClientException.cpp
   
   stubBase_LDADD   =  $(LDFLAGS)
   INCLUDES = -I$(AXISCPP_HOME)/include
  
  
  

Mime
View raw message