axis-java-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From sam...@apache.org
Subject cvs commit: ws-axis/c/tests/auto_build/testcases/client/cpp FaultMappingClient.cpp XSDAttributeClient.cpp
Date Mon, 14 Mar 2005 06:18:51 GMT
samisa      2005/03/13 22:18:51

  Modified:    c/tests/auto_build/testcases/client/cpp
                        FaultMappingClient.cpp XSDAttributeClient.cpp
  Log:
  Fixed some compilation problems
  
  Revision  Changes    Path
  1.7       +3 -6      ws-axis/c/tests/auto_build/testcases/client/cpp/FaultMappingClient.cpp
  
  Index: FaultMappingClient.cpp
  ===================================================================
  RCS file: /home/cvs/ws-axis/c/tests/auto_build/testcases/client/cpp/FaultMappingClient.cpp,v
  retrieving revision 1.6
  retrieving revision 1.7
  diff -u -r1.6 -r1.7
  --- FaultMappingClient.cpp	14 Mar 2005 02:05:12 -0000	1.6
  +++ FaultMappingClient.cpp	14 Mar 2005 06:18:51 -0000	1.7
  @@ -15,8 +15,8 @@
   	const char* p1 = 0;
   	const char* p2 = 0;
   	int i1=0, i2=0;
  -        int iResult;
  -        char* pcDetail;
  +    int iResult;
  +
   
   	url = argv[1];
   
  @@ -44,14 +44,11 @@
                   }
                   catch(AxisException& e)
                   {
  -                    printf("%s\n", e.what());
  -                }
  -                catch(AxisException& e)
  -                {
                       printf("Exception : %s\n", e.what());
                   }
                   catch(exception& e)
                   {
  +                    printf("Exception : %s\n", e.what());
                   }
                   catch(...)
                   {
  
  
  
  1.2       +3 -3      ws-axis/c/tests/auto_build/testcases/client/cpp/XSDAttributeClient.cpp
  
  Index: XSDAttributeClient.cpp
  ===================================================================
  RCS file: /home/cvs/ws-axis/c/tests/auto_build/testcases/client/cpp/XSDAttributeClient.cpp,v
  retrieving revision 1.1
  retrieving revision 1.2
  diff -u -r1.1 -r1.2
  --- XSDAttributeClient.cpp	24 Feb 2005 21:18:33 -0000	1.1
  +++ XSDAttributeClient.cpp	14 Mar 2005 06:18:51 -0000	1.2
  @@ -110,7 +110,7 @@
   
   		longType->longType = (xsd__long)35;
   		longTypeReturn = ws->getDataLong(longType);
  -		cout << "long=" << longTypeReturn->longType << endl;
  +		cout << "long=" << (int)(longTypeReturn->longType) << endl;
   
   		unsignedLongType->unsignedLongType = (xsd__unsignedLong)42;
   		unsignedLongTypeReturn = ws->getDataUnsignedLong(unsignedLongType);
  @@ -130,7 +130,7 @@
   
   		integerType->integerType = (xsd__integer) 919191919;
   		integerTypeReturn = ws->getDataInteger(integerType);
  -		cout << "integer=" << integerTypeReturn->integerType << endl;
  +		cout << "integer=" << (int)(integerTypeReturn->integerType) << endl;
   
   		decimalType->decimalType = (xsd__decimal)929292929.5555555555555;
   		decimalTypeReturn = ws->getDataDecimal(decimalType);
  @@ -176,7 +176,7 @@
   	}
   	catch(exception& e)
   	{
  -	    cout << "Unknown exception has occured" << endl;
  +	    cout << "Unknown exception has occured" << e.what() << endl;
   	}
   	catch(...)
   	{
  
  
  

Mime
View raw message