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 na...@apache.org on 2006/04/28 05:04:04 UTC

svn commit: r397747 [10/17] - /webservices/axis/trunk/c/tests/auto_build/testcases/client/cpp/

Modified: webservices/axis/trunk/c/tests/auto_build/testcases/client/cpp/ReplicaClient.cpp
URL: http://svn.apache.org/viewcvs/webservices/axis/trunk/c/tests/auto_build/testcases/client/cpp/ReplicaClient.cpp?rev=397747&r1=397746&r2=397747&view=diff
==============================================================================
--- webservices/axis/trunk/c/tests/auto_build/testcases/client/cpp/ReplicaClient.cpp (original)
+++ webservices/axis/trunk/c/tests/auto_build/testcases/client/cpp/ReplicaClient.cpp Thu Apr 27 20:03:51 2006
@@ -18,89 +18,89 @@
 
 int main( int argc, char * argv[])
 {
-	bool	bSuccess = false;
-	int		iRetryIterationCount = 3;
+        bool    bSuccess = false;
+        int             iRetryIterationCount = 3;
 
-	do
-	{
-		try
-		{
-			const char *	pszURL = "http://localhost:9090/Replica/services/ReplicaImpl";
-
-			pszURL = argv[1];
-
-			IAllTypesTestService *			pWS = new IAllTypesTestService( pszURL, APTHTTP1_1);
-			IAllTypesTestServiceReplica *	pServceReplica = new IAllTypesTestServiceReplica();
-			MyClass_Array *					pMyClassArray = new MyClass_Array();
-			int								iMyClassSize = 1;
-			MyClass *						pMyClass = new MyClass[iMyClassSize];
-			xsd__NMTOKEN					myId = "1612";
-			xsd__string						myName = "Tester";
-			xsd__base64Binary *				pMyValues = new xsd__base64Binary();
-			int								iMyValuesDataSize = 10;
-			xsd__unsignedByte *				pMyValuesData = new xsd__unsignedByte[iMyValuesDataSize];
-
-			for( int iCount = 0; iCount < iMyValuesDataSize; iCount++)
-			{
-				*(pMyValuesData + iCount) = (xsd__unsignedByte) (10 * iCount);
-			}
-
-			pMyValues->set( pMyValuesData, iMyValuesDataSize);
-
-			pMyClass->setid( myId);
-			pMyClass->setName( myName);
-			pMyClass->setValues( pMyValues);
-
-			pMyClassArray->set( &pMyClass, iMyClassSize);
-			pServceReplica->setMyClass_Ref( pMyClassArray);
-
-			pWS->miReplica( pServceReplica);
-
-			delete [] pMyClass;
-			delete pMyValues;
-			delete [] pMyValuesData;
-			delete pMyClassArray;
-			delete pServceReplica;
-			delete pWS;
-
-			cout << "Test completed without fault" << endl;
-
-			bSuccess = true;
-		}
-		catch( AxisException& e)
-		{
-			bool bSilent = false;
-
-			if( e.getExceptionCode() == CLIENT_TRANSPORT_OPEN_CONNECTION_FAILED)
-			{
-				if( iRetryIterationCount > 1)
-				{
-					bSilent = true;
-				}
-			}
-			else
-			{
-				iRetryIterationCount = 0;
-			}
-
-			if( !bSilent)
-			{
-				cout << "Exception : " << e.what() << endl;
-			}
-		}
-		catch( exception& e)
-		{
-			cout << "Unknown exception has occured : " << e.what() << endl;
-		}
-		catch(...)
-		{
-			cout << "Unknown exception has occured" << endl;
-		}
+        do
+        {
+                try
+                {
+                        const char *    pszURL = "http://localhost:9090/Replica/services/ReplicaImpl";
+
+                        pszURL = argv[1];
+
+                        IAllTypesTestService *                  pWS = new IAllTypesTestService( pszURL, APTHTTP1_1);
+                        IAllTypesTestServiceReplica *   pServceReplica = new IAllTypesTestServiceReplica();
+                        MyClass_Array *                                 pMyClassArray = new MyClass_Array();
+                        int                                                             iMyClassSize = 1;
+                        MyClass *                                               pMyClass = new MyClass[iMyClassSize];
+                        xsd__NMTOKEN                                    myId = "1612";
+                        xsd__string                                             myName = "Tester";
+                        xsd__base64Binary *                             pMyValues = new xsd__base64Binary();
+                        int                                                             iMyValuesDataSize = 10;
+                        xsd__unsignedByte *                             pMyValuesData = new xsd__unsignedByte[iMyValuesDataSize];
+
+                        for( int iCount = 0; iCount < iMyValuesDataSize; iCount++)
+                        {
+                                *(pMyValuesData + iCount) = (xsd__unsignedByte) (10 * iCount);
+                        }
+
+                        pMyValues->set( pMyValuesData, iMyValuesDataSize);
+
+                        pMyClass->setid( myId);
+                        pMyClass->setName( myName);
+                        pMyClass->setValues( pMyValues);
+
+                        pMyClassArray->set( &pMyClass, iMyClassSize);
+                        pServceReplica->setMyClass_Ref( pMyClassArray);
+
+                        pWS->miReplica( pServceReplica);
+
+                        delete [] pMyClass;
+                        delete pMyValues;
+                        delete [] pMyValuesData;
+                        delete pMyClassArray;
+                        delete pServceReplica;
+                        delete pWS;
+
+                        cout << "Test completed without fault" << endl;
+
+                        bSuccess = true;
+                }
+                catch( AxisException& e)
+                {
+                        bool bSilent = false;
+
+                        if( e.getExceptionCode() == CLIENT_TRANSPORT_OPEN_CONNECTION_FAILED)
+                        {
+                                if( iRetryIterationCount > 1)
+                                {
+                                        bSilent = true;
+                                }
+                        }
+                        else
+                        {
+                                iRetryIterationCount = 0;
+                        }
+
+                        if( !bSilent)
+                        {
+                                cout << "Exception : " << e.what() << endl;
+                        }
+                }
+                catch( exception& e)
+                {
+                        cout << "Unknown exception has occured : " << e.what() << endl;
+                }
+                catch(...)
+                {
+                        cout << "Unknown exception has occured" << endl;
+                }
 
-		iRetryIterationCount--;
-	} while( iRetryIterationCount > 0 && !bSuccess);
+                iRetryIterationCount--;
+        } while( iRetryIterationCount > 0 && !bSuccess);
 
-	cout << "---------------------- TEST COMPLETE -----------------------------" << endl;
+        cout << "---------------------- TEST COMPLETE -----------------------------" << endl;
 
-	return 0;
+        return 0;
 }

Modified: webservices/axis/trunk/c/tests/auto_build/testcases/client/cpp/RpcHttpHeaderTest1Client.cpp
URL: http://svn.apache.org/viewcvs/webservices/axis/trunk/c/tests/auto_build/testcases/client/cpp/RpcHttpHeaderTest1Client.cpp?rev=397747&r1=397746&r2=397747&view=diff
==============================================================================
--- webservices/axis/trunk/c/tests/auto_build/testcases/client/cpp/RpcHttpHeaderTest1Client.cpp (original)
+++ webservices/axis/trunk/c/tests/auto_build/testcases/client/cpp/RpcHttpHeaderTest1Client.cpp Thu Apr 27 20:03:51 2006
@@ -61,7 +61,7 @@
     cout << "invoking echoString..." << endl;
     //testing echoString 
     bool bSuccess = false;
-    int	iRetryIterationCount = 3;
+    int iRetryIterationCount = 3;
 
     do
     {

Modified: webservices/axis/trunk/c/tests/auto_build/testcases/client/cpp/RpcHttpHeaderTest2Client.cpp
URL: http://svn.apache.org/viewcvs/webservices/axis/trunk/c/tests/auto_build/testcases/client/cpp/RpcHttpHeaderTest2Client.cpp?rev=397747&r1=397746&r2=397747&view=diff
==============================================================================
--- webservices/axis/trunk/c/tests/auto_build/testcases/client/cpp/RpcHttpHeaderTest2Client.cpp (original)
+++ webservices/axis/trunk/c/tests/auto_build/testcases/client/cpp/RpcHttpHeaderTest2Client.cpp Thu Apr 27 20:03:51 2006
@@ -63,7 +63,7 @@
     cout << "invoking echoString..." << endl;
     //testing echoString 
     bool bSuccess = false;
-    int	iRetryIterationCount = 3;
+    int iRetryIterationCount = 3;
 
     do
     {

Modified: webservices/axis/trunk/c/tests/auto_build/testcases/client/cpp/RpcHttpHeaderTest3Client.cpp
URL: http://svn.apache.org/viewcvs/webservices/axis/trunk/c/tests/auto_build/testcases/client/cpp/RpcHttpHeaderTest3Client.cpp?rev=397747&r1=397746&r2=397747&view=diff
==============================================================================
--- webservices/axis/trunk/c/tests/auto_build/testcases/client/cpp/RpcHttpHeaderTest3Client.cpp (original)
+++ webservices/axis/trunk/c/tests/auto_build/testcases/client/cpp/RpcHttpHeaderTest3Client.cpp Thu Apr 27 20:03:51 2006
@@ -63,7 +63,7 @@
     cout << "invoking echoString..." << endl;
     //testing echoString 
     bool bSuccess = false;
-    int	iRetryIterationCount = 3;
+    int iRetryIterationCount = 3;
 
     do
     {
@@ -172,7 +172,7 @@
             if( !bSilent)
             {
                 cout << "AxisException : " << e.what() << endl;
-			}
+                        }
         }
         catch (exception& e)
         {

Modified: webservices/axis/trunk/c/tests/auto_build/testcases/client/cpp/RpcHttpHeaderTest4Client.cpp
URL: http://svn.apache.org/viewcvs/webservices/axis/trunk/c/tests/auto_build/testcases/client/cpp/RpcHttpHeaderTest4Client.cpp?rev=397747&r1=397746&r2=397747&view=diff
==============================================================================
--- webservices/axis/trunk/c/tests/auto_build/testcases/client/cpp/RpcHttpHeaderTest4Client.cpp (original)
+++ webservices/axis/trunk/c/tests/auto_build/testcases/client/cpp/RpcHttpHeaderTest4Client.cpp Thu Apr 27 20:03:51 2006
@@ -63,7 +63,7 @@
     cout << "invoking echoString..." << endl;
     //testing echoString 
     bool bSuccess = false;
-    int	iRetryIterationCount = 3;
+    int iRetryIterationCount = 3;
 
     do
     {

Modified: webservices/axis/trunk/c/tests/auto_build/testcases/client/cpp/RpcHttpHeaderTest5Client.cpp
URL: http://svn.apache.org/viewcvs/webservices/axis/trunk/c/tests/auto_build/testcases/client/cpp/RpcHttpHeaderTest5Client.cpp?rev=397747&r1=397746&r2=397747&view=diff
==============================================================================
--- webservices/axis/trunk/c/tests/auto_build/testcases/client/cpp/RpcHttpHeaderTest5Client.cpp (original)
+++ webservices/axis/trunk/c/tests/auto_build/testcases/client/cpp/RpcHttpHeaderTest5Client.cpp Thu Apr 27 20:03:51 2006
@@ -60,7 +60,7 @@
     cout << "invoking echoString..." << endl;
     //testing echoString 
     bool bSuccess = false;
-	int	iRetryIterationCount = 3;
+        int     iRetryIterationCount = 3;
 
     do
     {

Modified: webservices/axis/trunk/c/tests/auto_build/testcases/client/cpp/RpcHttpHeaderTest7Client.cpp
URL: http://svn.apache.org/viewcvs/webservices/axis/trunk/c/tests/auto_build/testcases/client/cpp/RpcHttpHeaderTest7Client.cpp?rev=397747&r1=397746&r2=397747&view=diff
==============================================================================
--- webservices/axis/trunk/c/tests/auto_build/testcases/client/cpp/RpcHttpHeaderTest7Client.cpp (original)
+++ webservices/axis/trunk/c/tests/auto_build/testcases/client/cpp/RpcHttpHeaderTest7Client.cpp Thu Apr 27 20:03:51 2006
@@ -60,7 +60,7 @@
     cout << "invoking echoString..." << endl;
     //testing echoString 
     bool bSuccess = false;
-    int	iRetryIterationCount = 3;
+    int iRetryIterationCount = 3;
 
     do
     {

Modified: webservices/axis/trunk/c/tests/auto_build/testcases/client/cpp/RpcHttpHeaderTest8Client.cpp
URL: http://svn.apache.org/viewcvs/webservices/axis/trunk/c/tests/auto_build/testcases/client/cpp/RpcHttpHeaderTest8Client.cpp?rev=397747&r1=397746&r2=397747&view=diff
==============================================================================
--- webservices/axis/trunk/c/tests/auto_build/testcases/client/cpp/RpcHttpHeaderTest8Client.cpp (original)
+++ webservices/axis/trunk/c/tests/auto_build/testcases/client/cpp/RpcHttpHeaderTest8Client.cpp Thu Apr 27 20:03:51 2006
@@ -34,23 +34,23 @@
 
 int main( int argc, char * argv[])
 {
-    char			endpoint[256];
-    const char *	server = "localhost";
-    const char *	port = "80";
+    char                        endpoint[256];
+    const char *        server = "localhost";
+    const char *        port = "80";
     
     //endpoint for Axis CPP sample
     sprintf( endpoint, "http://%s:%s/axis/base", server, port);
     
-	// Set the endpoint from command line argument if set
-	if( argc > 1)
-	{
-		strcpy( endpoint, argv[1]);
-	}
-	
-	/*Set for HTTP transport */
-    InteropTestPortType	ws( endpoint, APTHTTP1_1);
+        // Set the endpoint from command line argument if set
+        if( argc > 1)
+        {
+                strcpy( endpoint, argv[1]);
+        }
+        
+        /*Set for HTTP transport */
+    InteropTestPortType ws( endpoint, APTHTTP1_1);
 
-	ws.setTransportProperty( "SOAPAction" , "InteropBase#echoString");
+        ws.setTransportProperty( "SOAPAction" , "InteropBase#echoString");
 
     //set HTTP headers
      ws.setTransportProperty( NULL, "lang2");
@@ -58,71 +58,71 @@
     cout << "invoking echoString..." << endl;
 
     //testing echoString 
-		bool	bSuccess = false;
-		int		iRetryIterationCount = 3;
+                bool    bSuccess = false;
+                int             iRetryIterationCount = 3;
 
-		do
-		{
-		    try
-			{
-				if (0 == strcmp( ws.echoString( "hello world"), "hello world"))
-				{
-					cout << "successful" << endl;
-				}
-				else
-				{
-					cout << "failed" << endl;
-				}
-
-				bSuccess = true;
-			}
-			catch( AxisException& e) 
-			{
-				bool bSilent = false;
-
-				if( e.getExceptionCode() == CLIENT_TRANSPORT_OPEN_CONNECTION_FAILED)
-				{
-					if( iRetryIterationCount > 1)
-					{
-						bSilent = true;
-					}
-				}
-				else
-				{
-					iRetryIterationCount = 0;
-				}
-
-				if( !bSilent)
-				{
-					cout <<  e.what() << endl;
-				}
-			}
-			catch( ...)
-			{
-				cout << "Unknown exception" << endl;
-			}
-		
-			iRetryIterationCount--;
-		} while( iRetryIterationCount > 0 && !bSuccess);
+                do
+                {
+                    try
+                        {
+                                if (0 == strcmp( ws.echoString( "hello world"), "hello world"))
+                                {
+                                        cout << "successful" << endl;
+                                }
+                                else
+                                {
+                                        cout << "failed" << endl;
+                                }
+
+                                bSuccess = true;
+                        }
+                        catch( AxisException& e) 
+                        {
+                                bool bSilent = false;
+
+                                if( e.getExceptionCode() == CLIENT_TRANSPORT_OPEN_CONNECTION_FAILED)
+                                {
+                                        if( iRetryIterationCount > 1)
+                                        {
+                                                bSilent = true;
+                                        }
+                                }
+                                else
+                                {
+                                        iRetryIterationCount = 0;
+                                }
+
+                                if( !bSilent)
+                                {
+                                        cout <<  e.what() << endl;
+                                }
+                        }
+                        catch( ...)
+                        {
+                                cout << "Unknown exception" << endl;
+                        }
+                
+                        iRetryIterationCount--;
+                } while( iRetryIterationCount > 0 && !bSuccess);
 
     cout << "Test transport property accessors" << endl;
 
 // Extra lines added because printf in AIX dos not output (null) when the
 // parameter is NULL.  This just forces the printf to output (null) when it is.
-	char *	pszPropertyKey = (char *) ws.getFirstTransportPropertyKey();
-	char *	pszPropertyValue = (char *) ws.getCurrentTransportPropertyValue();
+        char *  pszPropertyKey = (char *) ws.getFirstTransportPropertyKey();
+        char *  pszPropertyValue = (char *) ws.getCurrentTransportPropertyValue();
 
-	if( pszPropertyKey == NULL)
-	{
-		pszPropertyKey = "(null)";
-	}
-
-	if( pszPropertyValue == NULL)
-	{
-		pszPropertyValue = "(null)";
-	}
+        if( pszPropertyKey == NULL)
+        {
+                pszPropertyKey = "(null)";
+        }
+
+        if( pszPropertyValue == NULL)
+        {
+                pszPropertyValue = "(null)";
+        }
 
-	cout << "First transport key = " << pszPropertyKey << endl;
+        cout << "First transport key = " << pszPropertyKey << endl;
     cout << "First transport value = " << pszPropertyValue << endl;
 
     const char *key = NULL;
@@ -139,54 +139,54 @@
     ws.deleteTransportProperty("Accept-Language");
 
     //now the request should not have these removed headers
-	bSuccess = false;
-	iRetryIterationCount = 3;
+        bSuccess = false;
+        iRetryIterationCount = 3;
 
-	do
-	{
-		try
-		{
-			if( 0 == strcmp( ws.echoString( "hello world"), "hello world"))
-			{
-				cout << "successful" << endl;
-			}
-			else
-			{
-				cout << "failed" << endl;
-			}
-
-			bSuccess = true;
-		}
-		catch( AxisException& e)
-		{
-			bool	bSilent = false;
-
-			if( e.getExceptionCode() == CLIENT_TRANSPORT_OPEN_CONNECTION_FAILED)
-			{
-				if( iRetryIterationCount > 1)
-				{
-					bSilent = true;
-				}
-			}
-			else
-			{
-				iRetryIterationCount = 0;
-			}
-
-			if( !bSilent)
-			{
-				cout << e.what() << endl;
-			}
-		}
-		catch( ...)
-		{
-			cout << "Unknown exception" << endl;
-		}
+        do
+        {
+                try
+                {
+                        if( 0 == strcmp( ws.echoString( "hello world"), "hello world"))
+                        {
+                                cout << "successful" << endl;
+                        }
+                        else
+                        {
+                                cout << "failed" << endl;
+                        }
+
+                        bSuccess = true;
+                }
+                catch( AxisException& e)
+                {
+                        bool    bSilent = false;
+
+                        if( e.getExceptionCode() == CLIENT_TRANSPORT_OPEN_CONNECTION_FAILED)
+                        {
+                                if( iRetryIterationCount > 1)
+                                {
+                                        bSilent = true;
+                                }
+                        }
+                        else
+                        {
+                                iRetryIterationCount = 0;
+                        }
+
+                        if( !bSilent)
+                        {
+                                cout << e.what() << endl;
+                        }
+                }
+                catch( ...)
+                {
+                        cout << "Unknown exception" << endl;
+                }
 
-		iRetryIterationCount--;
-	} while( iRetryIterationCount > 0 && !bSuccess);
+                iRetryIterationCount--;
+        } while( iRetryIterationCount > 0 && !bSuccess);
 
-	cout << "HTTP Header test end" << endl;
+        cout << "HTTP Header test end" << endl;
 
     return 0;
 }

Modified: webservices/axis/trunk/c/tests/auto_build/testcases/client/cpp/RpcSoapHeaderTest10Client.cpp
URL: http://svn.apache.org/viewcvs/webservices/axis/trunk/c/tests/auto_build/testcases/client/cpp/RpcSoapHeaderTest10Client.cpp?rev=397747&r1=397746&r2=397747&view=diff
==============================================================================
--- webservices/axis/trunk/c/tests/auto_build/testcases/client/cpp/RpcSoapHeaderTest10Client.cpp (original)
+++ webservices/axis/trunk/c/tests/auto_build/testcases/client/cpp/RpcSoapHeaderTest10Client.cpp Thu Apr 27 20:03:51 2006
@@ -45,27 +45,27 @@
     //endpoint for Axis CPP sample
     sprintf(endpoint, "http://%s:%s/axis/base", server, port);
     
-	// Set the endpoint from command line argument if set
-	if (argc > 1)
-		strcpy(endpoint, argv[1]);
+        // Set the endpoint from command line argument if set
+        if (argc > 1)
+                strcpy(endpoint, argv[1]);
 
-	
-	InteropTestPortType ws(endpoint, APTHTTP1_1);
+        
+        InteropTestPortType ws(endpoint, APTHTTP1_1);
 
     /*
     <SOAP-ENV:Header>
-    	<ns2:TestHeader xmlns:ns2="http://ws.apache.org/axisCppTest/" xmlns:namesp1="http://mynamespace.com">
-	    <Credentials ns2:type="normal">
-		<username ns2:usertype="normal_user">Test User</username>
-		<password>Test Password</password>
-	    </Credentials>
-	</ns2:TestHeader>
+        <ns2:TestHeader xmlns:ns2="http://ws.apache.org/axisCppTest/" xmlns:namesp1="http://mynamespace.com">
+            <Credentials ns2:type="normal">
+                <username ns2:usertype="normal_user">Test User</username>
+                <password>Test Password</password>
+            </Credentials>
+        </ns2:TestHeader>
     </SOAP-ENV:Header>
     */
 
     //set SOAP headers
     IHeaderBlock *phb = ws.createSOAPHeaderBlock("TestHeader", 
-		"http://ws.apache.org/axisCppTest/");
+                "http://ws.apache.org/axisCppTest/");
     phb->createNamespaceDecl("namesp1", "http://mynamespace.com");
 
     //create parent node
@@ -103,15 +103,15 @@
     /* start testing the getters for SOAP Header Attributes*/
     IAttribute* pIAttribute1 = parentNode->getFirstAttribute();
     if (pIAttribute1)
-    	printf("pIAttribute1 details = %s %s \n", pIAttribute1->getLocalName(), pIAttribute1->getURI());
+        printf("pIAttribute1 details = %s %s \n", pIAttribute1->getLocalName(), pIAttribute1->getURI());
 
     pIAttribute1 = NULL;
     int iTmpX = 0;
     while ((pIAttribute1 = parentNode->getNextAttribute()) != NULL) {
-	printf("pIAttribute1 details = %s %s \n", pIAttribute1->getLocalName(), pIAttribute1->getURI());
-	
-	iTmpX++;
-   	if (iTmpX==2) break; /*Just for a simple logic*/
+        printf("pIAttribute1 details = %s %s \n", pIAttribute1->getLocalName(), pIAttribute1->getURI());
+        
+        iTmpX++;
+        if (iTmpX==2) break; /*Just for a simple logic*/
     }
 
     pIAttribute1 = NULL;
@@ -122,7 +122,7 @@
     pIAttribute1 = NULL;
     pIAttribute1 = parentNode->getLastAttribute();
     if (pIAttribute1)
-    	printf("pIAttribute1 details = %s %s \n", pIAttribute1->getLocalName(), pIAttribute1->getURI());
+        printf("pIAttribute1 details = %s %s \n", pIAttribute1->getLocalName(), pIAttribute1->getURI());
 
     pIAttribute1 = NULL;
     pIAttribute1 = parentNode->getAttribute("", "http://ws.apache.org/axisCppTest/", "scale");
@@ -132,47 +132,47 @@
 
     printf("invoking echoString...\n");
     //testing echoString 
-		bool bSuccess = false;
-		int	iRetryIterationCount = 3;
+                bool bSuccess = false;
+                int     iRetryIterationCount = 3;
 
-		do
-		{
+                do
+                {
     try 
     {
     if (0 == strcmp(ws.echoString("hello world"), "hello world"))
-	printf("successful\n");
+        printf("successful\n");
     else
-	printf("failed\n");
+        printf("failed\n");
 
-				bSuccess = true;
+                                bSuccess = true;
     }
     catch (AxisException& e)
     {
-			bool bSilent = false;
+                        bool bSilent = false;
 
-			if( e.getExceptionCode() == CLIENT_TRANSPORT_OPEN_CONNECTION_FAILED)
-			{
-				if( iRetryIterationCount > 0)
-				{
-					bSilent = true;
-				}
-			}
-			else
-			{
-				iRetryIterationCount = 0;
-			}
+                        if( e.getExceptionCode() == CLIENT_TRANSPORT_OPEN_CONNECTION_FAILED)
+                        {
+                                if( iRetryIterationCount > 0)
+                                {
+                                        bSilent = true;
+                                }
+                        }
+                        else
+                        {
+                                iRetryIterationCount = 0;
+                        }
 
             if( !bSilent)
-			{
+                        {
         printf("%s\n", e.what());
-			}
+                        }
     }
     catch(...)
     {
         printf("Unknown exception\n");
     }
-		iRetryIterationCount--;
-		} while( iRetryIterationCount > 0 && !bSuccess);
+                iRetryIterationCount--;
+                } while( iRetryIterationCount > 0 && !bSuccess);
 
     printf("Soap Header test end\n");
     return 0;

Modified: webservices/axis/trunk/c/tests/auto_build/testcases/client/cpp/RpcSoapHeaderTest1Client.cpp
URL: http://svn.apache.org/viewcvs/webservices/axis/trunk/c/tests/auto_build/testcases/client/cpp/RpcSoapHeaderTest1Client.cpp?rev=397747&r1=397746&r2=397747&view=diff
==============================================================================
--- webservices/axis/trunk/c/tests/auto_build/testcases/client/cpp/RpcSoapHeaderTest1Client.cpp (original)
+++ webservices/axis/trunk/c/tests/auto_build/testcases/client/cpp/RpcSoapHeaderTest1Client.cpp Thu Apr 27 20:03:51 2006
@@ -45,13 +45,13 @@
     //endpoint for Axis CPP sample
     sprintf(endpoint, "http://%s:%s/axis/base", server, port);
    
-	
-	// Set the endpoint from command line argument if set
-	if (argc > 1)
-		strcpy(endpoint, argv[1]);
+        
+        // Set the endpoint from command line argument if set
+        if (argc > 1)
+                strcpy(endpoint, argv[1]);
 
-	
-	InteropTestPortType ws(endpoint, APTHTTP1_1);
+        
+        InteropTestPortType ws(endpoint, APTHTTP1_1);
 
     /*create a header of the form:
        <SOAP-ENV:Header>
@@ -66,7 +66,7 @@
 
     //set SOAP headers
     IHeaderBlock *phb = ws.createSOAPHeaderBlock("TestHeader", 
-		"http://ws.apache.org/axisCppTest/");
+                "http://ws.apache.org/axisCppTest/");
 
     //create parent node
     BasicNode *parentNode = phb->createChild(ELEMENT_NODE);
@@ -95,47 +95,47 @@
 
     printf("invoking echoString...\n");
     //testing echoString 
-		bool bSuccess = false;
-		int	iRetryIterationCount = 3;
+                bool bSuccess = false;
+                int     iRetryIterationCount = 3;
 
-		do
-		{
+                do
+                {
     try 
     {
     if (0 == strcmp(ws.echoString("hello world"), "hello world"))
-	printf("successful\n");
+        printf("successful\n");
     else
-	printf("failed\n");
+        printf("failed\n");
 
-				bSuccess = true;
+                                bSuccess = true;
     }
     catch (AxisException& e)
     {
-			bool bSilent = false;
+                        bool bSilent = false;
 
-			if( e.getExceptionCode() == CLIENT_TRANSPORT_OPEN_CONNECTION_FAILED)
-			{
-				if( iRetryIterationCount > 0)
-				{
-					bSilent = true;
-				}
-			}
-			else
-			{
-				iRetryIterationCount = 0;
-			}
+                        if( e.getExceptionCode() == CLIENT_TRANSPORT_OPEN_CONNECTION_FAILED)
+                        {
+                                if( iRetryIterationCount > 0)
+                                {
+                                        bSilent = true;
+                                }
+                        }
+                        else
+                        {
+                                iRetryIterationCount = 0;
+                        }
 
             if( !bSilent)
-			{
+                        {
         printf("%s\n", e.what());
-			}
+                        }
     }
     catch(...)
     {
         printf("Unknown exception\n");
     }
-		iRetryIterationCount--;
-		} while( iRetryIterationCount > 0 && !bSuccess);
+                iRetryIterationCount--;
+                } while( iRetryIterationCount > 0 && !bSuccess);
 
     //test removing SOAP header block using pointer
     IHeaderBlock *header = NULL;
@@ -143,11 +143,11 @@
     ws.deleteSOAPHeaderBlock(header);
     //now the request should have no SOAP headers
 
-		bSuccess = false;
-		iRetryIterationCount = 3;
+                bSuccess = false;
+                iRetryIterationCount = 3;
 
-		do
-		{
+                do
+                {
     try
     {
     if (0 == strcmp(ws.echoString("hello world"), "hello world"))
@@ -155,35 +155,35 @@
     else
         printf("failed\n");
 
-				bSuccess = true;
+                                bSuccess = true;
     }
     catch (AxisException& e)
     {
-			bool bSilent = false;
+                        bool bSilent = false;
 
-			if( e.getExceptionCode() == CLIENT_TRANSPORT_OPEN_CONNECTION_FAILED)
-			{
-				if( iRetryIterationCount > 0)
-				{
-					bSilent = true;
-				}
-			}
-			else
-			{
-				iRetryIterationCount = 0;
-			}
+                        if( e.getExceptionCode() == CLIENT_TRANSPORT_OPEN_CONNECTION_FAILED)
+                        {
+                                if( iRetryIterationCount > 0)
+                                {
+                                        bSilent = true;
+                                }
+                        }
+                        else
+                        {
+                                iRetryIterationCount = 0;
+                        }
 
             if( !bSilent)
-			{
+                        {
         printf("%s\n", e.what());
-			}
+                        }
     }
     catch(...)
     {
-	printf("Unknown exception\n");
+        printf("Unknown exception\n");
     }
-		iRetryIterationCount--;
-		} while( iRetryIterationCount > 0 && !bSuccess);
+                iRetryIterationCount--;
+                } while( iRetryIterationCount > 0 && !bSuccess);
 
 
     printf("Soap Header test end\n");

Modified: webservices/axis/trunk/c/tests/auto_build/testcases/client/cpp/RpcSoapHeaderTest2Client.cpp
URL: http://svn.apache.org/viewcvs/webservices/axis/trunk/c/tests/auto_build/testcases/client/cpp/RpcSoapHeaderTest2Client.cpp?rev=397747&r1=397746&r2=397747&view=diff
==============================================================================
--- webservices/axis/trunk/c/tests/auto_build/testcases/client/cpp/RpcSoapHeaderTest2Client.cpp (original)
+++ webservices/axis/trunk/c/tests/auto_build/testcases/client/cpp/RpcSoapHeaderTest2Client.cpp Thu Apr 27 20:03:51 2006
@@ -43,13 +43,13 @@
     //endpoint for Axis CPP sample
     sprintf(endpoint, "http://%s:%s/axis/base", server, port);
     
-	// Set the endpoint from command line argument if set
-	if (argc > 1)
-		strcpy(endpoint, argv[1]);
+        // Set the endpoint from command line argument if set
+        if (argc > 1)
+                strcpy(endpoint, argv[1]);
 
 
-	
-	InteropTestPortType ws(endpoint, APTHTTP1_1);
+        
+        InteropTestPortType ws(endpoint, APTHTTP1_1);
 
     /*create a header of the form:
        <SOAP-ENV:Header>
@@ -64,7 +64,7 @@
 
     //set SOAP headers
     IHeaderBlock *phb = ws.createSOAPHeaderBlock("TestHeader", 
-		"http://ws.apache.org/axisCppTest/");
+                "http://ws.apache.org/axisCppTest/");
 
     //create parent node
     BasicNode *parentNode = phb->createChild(ELEMENT_NODE);
@@ -125,47 +125,47 @@
 
     printf("invoking echoString...\n");
     //testing echoString 
-		bool bSuccess = false;
-		int	iRetryIterationCount = 3;
+                bool bSuccess = false;
+                int     iRetryIterationCount = 3;
 
-		do
-		{
+                do
+                {
     try
     {
     if (0 == strcmp(ws.echoString("hello world"), "hello world"))
-	printf("successful\n");
+        printf("successful\n");
     else
-	printf("failed\n");
+        printf("failed\n");
 
-				bSuccess = true;
+                                bSuccess = true;
     }
     catch(AxisException& e)
     {
-			bool bSilent = false;
+                        bool bSilent = false;
 
-			if( e.getExceptionCode() == CLIENT_TRANSPORT_OPEN_CONNECTION_FAILED)
-			{
-				if( iRetryIterationCount > 0)
-				{
-					bSilent = true;
-				}
-			}
-			else
-			{
-				iRetryIterationCount = 0;
-			}
+                        if( e.getExceptionCode() == CLIENT_TRANSPORT_OPEN_CONNECTION_FAILED)
+                        {
+                                if( iRetryIterationCount > 0)
+                                {
+                                        bSilent = true;
+                                }
+                        }
+                        else
+                        {
+                                iRetryIterationCount = 0;
+                        }
 
             if( !bSilent)
-			{
+                        {
         printf("%s\n", e.what());
-			}
+                        }
     }
     catch(...)
     {
         printf("unknown exception\n");
     }
-		iRetryIterationCount--;
-		} while( iRetryIterationCount > 0 && !bSuccess);
+                iRetryIterationCount--;
+                } while( iRetryIterationCount > 0 && !bSuccess);
 
     //test removing SOAP header block using pointer
     IHeaderBlock *header = NULL;
@@ -178,11 +178,11 @@
 
     //now the request should have no SOAP headers
 
-		bSuccess = false;
-		iRetryIterationCount = 3;
+                bSuccess = false;
+                iRetryIterationCount = 3;
 
-		do
-		{
+                do
+                {
     try 
     {
     if (0 == strcmp(ws.echoString("hello world"), "hello world"))
@@ -190,35 +190,35 @@
     else
         printf("failed\n");
 
-				bSuccess = true;
+                                bSuccess = true;
     }
     catch(AxisException& e)
     {
-			bool bSilent = false;
+                        bool bSilent = false;
 
-			if( e.getExceptionCode() == CLIENT_TRANSPORT_OPEN_CONNECTION_FAILED)
-			{
-				if( iRetryIterationCount > 0)
-				{
-					bSilent = true;
-				}
-			}
-			else
-			{
-				iRetryIterationCount = 0;
-			}
+                        if( e.getExceptionCode() == CLIENT_TRANSPORT_OPEN_CONNECTION_FAILED)
+                        {
+                                if( iRetryIterationCount > 0)
+                                {
+                                        bSilent = true;
+                                }
+                        }
+                        else
+                        {
+                                iRetryIterationCount = 0;
+                        }
 
             if( !bSilent)
-			{
+                        {
         printf("%s\n", e.what());
-			}
+                        }
     }
     catch(...)
     {
         printf("unknown exception\n");
     }
-		iRetryIterationCount--;
-		} while( iRetryIterationCount > 0 && !bSuccess);
+                iRetryIterationCount--;
+                } while( iRetryIterationCount > 0 && !bSuccess);
 
     printf("Soap Header test end\n");
     return 0;

Modified: webservices/axis/trunk/c/tests/auto_build/testcases/client/cpp/RpcSoapHeaderTest3Client.cpp
URL: http://svn.apache.org/viewcvs/webservices/axis/trunk/c/tests/auto_build/testcases/client/cpp/RpcSoapHeaderTest3Client.cpp?rev=397747&r1=397746&r2=397747&view=diff
==============================================================================
--- webservices/axis/trunk/c/tests/auto_build/testcases/client/cpp/RpcSoapHeaderTest3Client.cpp (original)
+++ webservices/axis/trunk/c/tests/auto_build/testcases/client/cpp/RpcSoapHeaderTest3Client.cpp Thu Apr 27 20:03:51 2006
@@ -43,13 +43,13 @@
     //endpoint for Axis CPP sample
     sprintf(endpoint, "http://%s:%s/axis/base", server, port);
     
-	// Set the endpoint from command line argument if set
-	if (argc > 1)
-		strcpy(endpoint, argv[1]);
-
-	
-	
-	InteropTestPortType ws(endpoint, APTHTTP1_1);
+        // Set the endpoint from command line argument if set
+        if (argc > 1)
+                strcpy(endpoint, argv[1]);
+
+        
+        
+        InteropTestPortType ws(endpoint, APTHTTP1_1);
 
     /*create a header of the form:
        <SOAP-ENV:Header>
@@ -70,7 +70,7 @@
 
     //set SOAP headers
     IHeaderBlock *phb = ws.createSOAPHeaderBlock("TestHeader", 
-		"http://ws.apache.org/axisCppTest/");
+                "http://ws.apache.org/axisCppTest/");
 
     //create parent node
     BasicNode *parentNode = phb->createChild(ELEMENT_NODE);
@@ -123,47 +123,47 @@
 
     printf("invoking echoString...\n");
     //testing echoString 
-		bool bSuccess = false;
-		int	iRetryIterationCount = 3;
+                bool bSuccess = false;
+                int     iRetryIterationCount = 3;
 
-		do
-		{
+                do
+                {
     try
     {
     if (0 == strcmp(ws.echoString("hello world"), "hello world"))
-	printf("successful\n");
+        printf("successful\n");
     else
-	printf("failed\n");
+        printf("failed\n");
 
-				bSuccess = true;
+                                bSuccess = true;
     }
     catch(AxisException& e)
     {
-			bool bSilent = false;
+                        bool bSilent = false;
 
-			if( e.getExceptionCode() == CLIENT_TRANSPORT_OPEN_CONNECTION_FAILED)
-			{
-				if( iRetryIterationCount > 0)
-				{
-					bSilent = true;
-				}
-			}
-			else
-			{
-				iRetryIterationCount = 0;
-			}
+                        if( e.getExceptionCode() == CLIENT_TRANSPORT_OPEN_CONNECTION_FAILED)
+                        {
+                                if( iRetryIterationCount > 0)
+                                {
+                                        bSilent = true;
+                                }
+                        }
+                        else
+                        {
+                                iRetryIterationCount = 0;
+                        }
 
             if( !bSilent)
-			{
+                        {
         printf("%s\n", e.what());
-			}
+                        }
     }
     catch(...)
     {
         printf("unknown exception\n");
     }
-		iRetryIterationCount--;
-		} while( iRetryIterationCount > 0 && !bSuccess);
+                iRetryIterationCount--;
+                } while( iRetryIterationCount > 0 && !bSuccess);
 
 
     //test removing SOAP header block using pointer
@@ -176,11 +176,11 @@
     ws.deleteSOAPHeaderBlock(header);
 
     //now the request should have no SOAP headers
-		bSuccess = false;
-		iRetryIterationCount = 3;
+                bSuccess = false;
+                iRetryIterationCount = 3;
 
-		do
-		{
+                do
+                {
     try
     {
     if (0 == strcmp(ws.echoString("hello world"), "hello world"))
@@ -188,35 +188,35 @@
     else
         printf("failed\n");
 
-				bSuccess = true;
+                                bSuccess = true;
     }
     catch(AxisException& e)
     {
-			bool bSilent = false;
+                        bool bSilent = false;
 
-			if( e.getExceptionCode() == CLIENT_TRANSPORT_OPEN_CONNECTION_FAILED)
-			{
-				if( iRetryIterationCount > 0)
-				{
-					bSilent = true;
-				}
-			}
-			else
-			{
-				iRetryIterationCount = 0;
-			}
+                        if( e.getExceptionCode() == CLIENT_TRANSPORT_OPEN_CONNECTION_FAILED)
+                        {
+                                if( iRetryIterationCount > 0)
+                                {
+                                        bSilent = true;
+                                }
+                        }
+                        else
+                        {
+                                iRetryIterationCount = 0;
+                        }
 
             if( !bSilent)
-			{
+                        {
         printf("%s\n", e.what());
-			}
+                        }
     }
     catch(...)
     {
         printf("unknown exception\n");
     }
-		iRetryIterationCount--;
-		} while( iRetryIterationCount > 0 && !bSuccess);
+                iRetryIterationCount--;
+                } while( iRetryIterationCount > 0 && !bSuccess);
 
 
 

Modified: webservices/axis/trunk/c/tests/auto_build/testcases/client/cpp/RpcSoapHeaderTest4Client.cpp
URL: http://svn.apache.org/viewcvs/webservices/axis/trunk/c/tests/auto_build/testcases/client/cpp/RpcSoapHeaderTest4Client.cpp?rev=397747&r1=397746&r2=397747&view=diff
==============================================================================
--- webservices/axis/trunk/c/tests/auto_build/testcases/client/cpp/RpcSoapHeaderTest4Client.cpp (original)
+++ webservices/axis/trunk/c/tests/auto_build/testcases/client/cpp/RpcSoapHeaderTest4Client.cpp Thu Apr 27 20:03:51 2006
@@ -43,14 +43,14 @@
     //endpoint for Axis CPP sample
     sprintf(endpoint, "http://%s:%s/axis/base", server, port);
     
-	
-	// Set the endpoint from command line argument if set
-	if (argc > 1)
-		strcpy(endpoint, argv[1]);
-
-	
-	
-	InteropTestPortType ws(endpoint, APTHTTP1_1);
+        
+        // Set the endpoint from command line argument if set
+        if (argc > 1)
+                strcpy(endpoint, argv[1]);
+
+        
+        
+        InteropTestPortType ws(endpoint, APTHTTP1_1);
 
     /*create a header of the form:
        <SOAP-ENV:Header>
@@ -65,7 +65,7 @@
 
     //set SOAP headers
     IHeaderBlock *phb = ws.createSOAPHeaderBlock("TestHeader", 
-		"http://ws.apache.org/axisCppTest/");
+                "http://ws.apache.org/axisCppTest/");
 
     //create parent node
     BasicNode *parentNode = phb->createChild(ELEMENT_NODE);
@@ -127,48 +127,48 @@
 
     printf("invoking echoString...\n");
     //testing echoString 
-		bool bSuccess = false;
-		int	iRetryIterationCount = 3;
+                bool bSuccess = false;
+                int     iRetryIterationCount = 3;
 
-		do
-		{
+                do
+                {
     try
     {
     if (0 == strcmp(ws.echoString("hello world"), "hello world"))
-	printf("successful\n");
+        printf("successful\n");
     else
-	printf("failed\n");
+        printf("failed\n");
 
-				bSuccess = true;
+                                bSuccess = true;
     }
     catch(AxisException& e)
     {
-			bool bSilent = false;
+                        bool bSilent = false;
 
-			if( e.getExceptionCode() == CLIENT_TRANSPORT_OPEN_CONNECTION_FAILED)
-			{
-				if( iRetryIterationCount > 0)
-				{
-					bSilent = true;
-				}
-			}
-			else
-			{
-				iRetryIterationCount = 0;
-			}
+                        if( e.getExceptionCode() == CLIENT_TRANSPORT_OPEN_CONNECTION_FAILED)
+                        {
+                                if( iRetryIterationCount > 0)
+                                {
+                                        bSilent = true;
+                                }
+                        }
+                        else
+                        {
+                                iRetryIterationCount = 0;
+                        }
 
             if( !bSilent)
-			{
+                        {
         printf("%s\n", e.what());
-			}
+                        }
     }
     catch(...)
     {
         printf("unknown exception\n");
     }
 
-		iRetryIterationCount--;
-		} while( iRetryIterationCount > 0 && !bSuccess);
+                iRetryIterationCount--;
+                } while( iRetryIterationCount > 0 && !bSuccess);
 
     //test removing SOAP header block using pointer
     IHeaderBlock *header = NULL;
@@ -178,11 +178,11 @@
     header = ws.getFirstSOAPHeaderBlock();
     ws.deleteSOAPHeaderBlock(header);
     //now the request should have no SOAP headers
-		bSuccess = false;
-		iRetryIterationCount = 3;
+                bSuccess = false;
+                iRetryIterationCount = 3;
 
-		do
-		{
+                do
+                {
     try
     {
     if (0 == strcmp(ws.echoString("hello world"), "hello world"))
@@ -190,35 +190,35 @@
     else
         printf("failed\n");
 
-				bSuccess = true;
+                                bSuccess = true;
     }
     catch(AxisException& e)
     {
-			bool bSilent = false;
+                        bool bSilent = false;
 
-			if( e.getExceptionCode() == CLIENT_TRANSPORT_OPEN_CONNECTION_FAILED)
-			{
-				if( iRetryIterationCount > 0)
-				{
-					bSilent = true;
-				}
-			}
-			else
-			{
-				iRetryIterationCount = 0;
-			}
+                        if( e.getExceptionCode() == CLIENT_TRANSPORT_OPEN_CONNECTION_FAILED)
+                        {
+                                if( iRetryIterationCount > 0)
+                                {
+                                        bSilent = true;
+                                }
+                        }
+                        else
+                        {
+                                iRetryIterationCount = 0;
+                        }
 
             if( !bSilent)
-			{
+                        {
         printf("%s\n", e.what());
-			}
+                        }
     }
     catch(...)
     {
         printf("unknown exception\n");
     }
-		iRetryIterationCount--;
-		} while( iRetryIterationCount > 0 && !bSuccess);
+                iRetryIterationCount--;
+                } while( iRetryIterationCount > 0 && !bSuccess);
 
     printf("Soap Header test end\n");
     return 0;

Modified: webservices/axis/trunk/c/tests/auto_build/testcases/client/cpp/RpcSoapHeaderTest5Client.cpp
URL: http://svn.apache.org/viewcvs/webservices/axis/trunk/c/tests/auto_build/testcases/client/cpp/RpcSoapHeaderTest5Client.cpp?rev=397747&r1=397746&r2=397747&view=diff
==============================================================================
--- webservices/axis/trunk/c/tests/auto_build/testcases/client/cpp/RpcSoapHeaderTest5Client.cpp (original)
+++ webservices/axis/trunk/c/tests/auto_build/testcases/client/cpp/RpcSoapHeaderTest5Client.cpp Thu Apr 27 20:03:51 2006
@@ -43,12 +43,12 @@
     //endpoint for Axis CPP sample
     sprintf(endpoint, "http://%s:%s/axis/base", server, port);
     
-	// Set the endpoint from command line argument if set
-	if (argc > 1)
-		strcpy(endpoint, argv[1]);
+        // Set the endpoint from command line argument if set
+        if (argc > 1)
+                strcpy(endpoint, argv[1]);
 
-	
-	InteropTestPortType ws(endpoint, APTHTTP1_1);
+        
+        InteropTestPortType ws(endpoint, APTHTTP1_1);
 
     /*create a header of the form:
        <SOAP-ENV:Header>
@@ -59,7 +59,7 @@
 
     //set SOAP headers
     IHeaderBlock *phb = ws.createSOAPHeaderBlock("TestHeader", 
-		"http://ws.apache.org/axisCppTest/");
+                "http://ws.apache.org/axisCppTest/");
 
     //buld node tree
     phb->addChild(NULL);
@@ -71,47 +71,47 @@
 
     printf("invoking echoString...\n");
     //testing echoString
-		bool bSuccess = false;
-		int	iRetryIterationCount = 3;
+                bool bSuccess = false;
+                int     iRetryIterationCount = 3;
 
-		do
-		{
+                do
+                {
     try
     { 
     if (0 == strcmp(ws.echoString("hello world"), "hello world"))
-	printf("successful\n");
+        printf("successful\n");
     else
-	printf("failed\n");
+        printf("failed\n");
 
-				bSuccess = true;
+                                bSuccess = true;
     }
     catch(AxisException& e)
     {
-			bool bSilent = false;
+                        bool bSilent = false;
 
-			if( e.getExceptionCode() == CLIENT_TRANSPORT_OPEN_CONNECTION_FAILED)
-			{
-				if( iRetryIterationCount > 0)
-				{
-					bSilent = true;
-				}
-			}
-			else
-			{
-				iRetryIterationCount = 0;
-			}
+                        if( e.getExceptionCode() == CLIENT_TRANSPORT_OPEN_CONNECTION_FAILED)
+                        {
+                                if( iRetryIterationCount > 0)
+                                {
+                                        bSilent = true;
+                                }
+                        }
+                        else
+                        {
+                                iRetryIterationCount = 0;
+                        }
 
             if( !bSilent)
-			{
+                        {
         printf("%s\n", e.what());
-			}
+                        }
     }
     catch(...)
     {
         printf("unknown exception\n");
     }
-		iRetryIterationCount--;
-		} while( iRetryIterationCount > 0 && !bSuccess);
+                iRetryIterationCount--;
+                } while( iRetryIterationCount > 0 && !bSuccess);
 
 
     //test removing SOAP header block using pointer
@@ -119,11 +119,11 @@
     header = ws.getFirstSOAPHeaderBlock();
     ws.deleteSOAPHeaderBlock(header);
     //now the request should have no SOAP headers
-		bSuccess = false;
-		iRetryIterationCount = 3;
+                bSuccess = false;
+                iRetryIterationCount = 3;
 
-		do
-		{
+                do
+                {
     try
     {
     if (0 == strcmp(ws.echoString("hello world"), "hello world"))
@@ -131,35 +131,35 @@
     else
         printf("failed\n");
 
-				bSuccess = true;
+                                bSuccess = true;
     }
     catch(AxisException& e)
     {
-			bool bSilent = false;
+                        bool bSilent = false;
 
-			if( e.getExceptionCode() == CLIENT_TRANSPORT_OPEN_CONNECTION_FAILED)
-			{
-				if( iRetryIterationCount > 0)
-				{
-					bSilent = true;
-				}
-			}
-			else
-			{
-				iRetryIterationCount = 0;
-			}
+                        if( e.getExceptionCode() == CLIENT_TRANSPORT_OPEN_CONNECTION_FAILED)
+                        {
+                                if( iRetryIterationCount > 0)
+                                {
+                                        bSilent = true;
+                                }
+                        }
+                        else
+                        {
+                                iRetryIterationCount = 0;
+                        }
 
             if( !bSilent)
-			{
+                        {
         printf("%s\n", e.what());
-			}
+                        }
     }
     catch(...)
     {
         printf("unknown exception\n");
     }
-		iRetryIterationCount--;
-		} while( iRetryIterationCount > 0 && !bSuccess);
+                iRetryIterationCount--;
+                } while( iRetryIterationCount > 0 && !bSuccess);
 
 
     printf("Soap Header test end\n");

Modified: webservices/axis/trunk/c/tests/auto_build/testcases/client/cpp/RpcSoapHeaderTest6Client.cpp
URL: http://svn.apache.org/viewcvs/webservices/axis/trunk/c/tests/auto_build/testcases/client/cpp/RpcSoapHeaderTest6Client.cpp?rev=397747&r1=397746&r2=397747&view=diff
==============================================================================
--- webservices/axis/trunk/c/tests/auto_build/testcases/client/cpp/RpcSoapHeaderTest6Client.cpp (original)
+++ webservices/axis/trunk/c/tests/auto_build/testcases/client/cpp/RpcSoapHeaderTest6Client.cpp Thu Apr 27 20:03:51 2006
@@ -43,12 +43,12 @@
     //endpoint for Axis CPP sample
     sprintf(endpoint, "http://%s:%s/axis/base", server, port);
     
-	// Set the endpoint from command line argument if set
-	if (argc > 1)
-		strcpy(endpoint, argv[1]);
+        // Set the endpoint from command line argument if set
+        if (argc > 1)
+                strcpy(endpoint, argv[1]);
 
 
-	InteropTestPortType ws(endpoint, APTHTTP1_1);
+        InteropTestPortType ws(endpoint, APTHTTP1_1);
 
     /*create a header of the form:
        <SOAP-ENV:Header>
@@ -59,7 +59,7 @@
 
     //set SOAP headers
     IHeaderBlock *phb = ws.createSOAPHeaderBlock("TestHeader", 
-		"http://ws.apache.org/axisCppTest/");
+                "http://ws.apache.org/axisCppTest/");
 
     //buld node tree
     phb->addChild(NULL);
@@ -71,59 +71,59 @@
 
     printf("invoking echoString...\n");
     //testing echoString
-		bool bSuccess = false;
-		int	iRetryIterationCount = 3;
+                bool bSuccess = false;
+                int     iRetryIterationCount = 3;
 
-		do
-		{
+                do
+                {
     try
     { 
     if (0 == strcmp(ws.echoString("hello world"), "hello world"))
-	printf("successful\n");
+        printf("successful\n");
     else
-	printf("failed\n");
+        printf("failed\n");
 
-				bSuccess = true;
+                                bSuccess = true;
     }
     catch(AxisException& e)
     {
-			bool bSilent = false;
+                        bool bSilent = false;
 
-			if( e.getExceptionCode() == CLIENT_TRANSPORT_OPEN_CONNECTION_FAILED)
-			{
-				if( iRetryIterationCount > 0)
-				{
-					bSilent = true;
-				}
-			}
-			else
-			{
-				iRetryIterationCount = 0;
-			}
+                        if( e.getExceptionCode() == CLIENT_TRANSPORT_OPEN_CONNECTION_FAILED)
+                        {
+                                if( iRetryIterationCount > 0)
+                                {
+                                        bSilent = true;
+                                }
+                        }
+                        else
+                        {
+                                iRetryIterationCount = 0;
+                        }
 
             if( !bSilent)
-			{
+                        {
         printf("%s\n", e.what());
-			}
+                        }
     }
     catch(...)
     {
         printf("unknown exception\n");
     }
 
-		iRetryIterationCount--;
-		} while( iRetryIterationCount > 0 && !bSuccess);
+                iRetryIterationCount--;
+                } while( iRetryIterationCount > 0 && !bSuccess);
 
     //test removing SOAP header block using pointer
     IHeaderBlock *header = NULL;
     header = ws.getFirstSOAPHeaderBlock();
     ws.deleteSOAPHeaderBlock(header);
     //now the request should have no SOAP headers
-		bSuccess = false;
-		iRetryIterationCount = 3;
+                bSuccess = false;
+                iRetryIterationCount = 3;
 
-		do
-		{
+                do
+                {
     try
     {
     if (0 == strcmp(ws.echoString("hello world"), "hello world"))
@@ -131,35 +131,35 @@
     else
         printf("failed\n");
 
-				bSuccess = true;
+                                bSuccess = true;
     }
     catch(AxisException& e)
     {
-			bool bSilent = false;
+                        bool bSilent = false;
 
-			if( e.getExceptionCode() == CLIENT_TRANSPORT_OPEN_CONNECTION_FAILED)
-			{
-				if( iRetryIterationCount > 0)
-				{
-					bSilent = true;
-				}
-			}
-			else
-			{
-				iRetryIterationCount = 0;
-			}
+                        if( e.getExceptionCode() == CLIENT_TRANSPORT_OPEN_CONNECTION_FAILED)
+                        {
+                                if( iRetryIterationCount > 0)
+                                {
+                                        bSilent = true;
+                                }
+                        }
+                        else
+                        {
+                                iRetryIterationCount = 0;
+                        }
 
             if( !bSilent)
-			{
+                        {
         printf("%s\n", e.what());
-			}
+                        }
     }
     catch(...)
     {
         printf("unknown exception\n");
     }
-		iRetryIterationCount--;
-		} while( iRetryIterationCount > 0 && !bSuccess);
+                iRetryIterationCount--;
+                } while( iRetryIterationCount > 0 && !bSuccess);
 
 
     printf("Soap Header test end\n");

Modified: webservices/axis/trunk/c/tests/auto_build/testcases/client/cpp/RpcSoapHeaderTest8Client.cpp
URL: http://svn.apache.org/viewcvs/webservices/axis/trunk/c/tests/auto_build/testcases/client/cpp/RpcSoapHeaderTest8Client.cpp?rev=397747&r1=397746&r2=397747&view=diff
==============================================================================
--- webservices/axis/trunk/c/tests/auto_build/testcases/client/cpp/RpcSoapHeaderTest8Client.cpp (original)
+++ webservices/axis/trunk/c/tests/auto_build/testcases/client/cpp/RpcSoapHeaderTest8Client.cpp Thu Apr 27 20:03:51 2006
@@ -43,13 +43,13 @@
     //endpoint for Axis CPP sample
     sprintf(endpoint, "http://%s:%s/axis/base", server, port);
     
-	// Set the endpoint from command line argument if set
-	if (argc > 1)
-		strcpy(endpoint, argv[1]);
-
-	
-	
-	InteropTestPortType ws(endpoint, APTHTTP1_1);
+        // Set the endpoint from command line argument if set
+        if (argc > 1)
+                strcpy(endpoint, argv[1]);
+
+        
+        
+        InteropTestPortType ws(endpoint, APTHTTP1_1);
 
     /*create a header of the form:
        <SOAP-ENV:Header>
@@ -60,7 +60,7 @@
 
     //set SOAP headers
     IHeaderBlock *phb = ws.createSOAPHeaderBlock("TestHeader", 
-		"http://ws.apache.org/axisCppTest/");
+                "http://ws.apache.org/axisCppTest/");
 
     //set second SOAP headers
     phb = ws.createSOAPHeaderBlock("TestHeader2",
@@ -68,47 +68,47 @@
                                                                                                                                                                            
     printf("invoking echoString...\n");
     //testing echoString 
-    		bool bSuccess = false;
-		int	iRetryIterationCount = 3;
+                bool bSuccess = false;
+                int     iRetryIterationCount = 3;
 
-		do
-		{
+                do
+                {
 try
     {
     if (0 == strcmp(ws.echoString("hello world"), "hello world"))
-	printf("successful\n");
+        printf("successful\n");
     else
-	printf("failed\n");
+        printf("failed\n");
 
-				bSuccess = true;
+                                bSuccess = true;
     }
     catch(AxisException& e)
     {
-			bool bSilent = false;
+                        bool bSilent = false;
 
-			if( e.getExceptionCode() == CLIENT_TRANSPORT_OPEN_CONNECTION_FAILED)
-			{
-				if( iRetryIterationCount > 0)
-				{
-					bSilent = true;
-				}
-			}
-			else
-			{
-				iRetryIterationCount = 0;
-			}
+                        if( e.getExceptionCode() == CLIENT_TRANSPORT_OPEN_CONNECTION_FAILED)
+                        {
+                                if( iRetryIterationCount > 0)
+                                {
+                                        bSilent = true;
+                                }
+                        }
+                        else
+                        {
+                                iRetryIterationCount = 0;
+                        }
 
             if( !bSilent)
-			{
+                        {
         printf("%s\n", e.what());
-			}
+                        }
     }
     catch(...)
     {
         printf("unknown exception\n");
     }
-		iRetryIterationCount--;
-		} while( iRetryIterationCount > 0 && !bSuccess);
+                iRetryIterationCount--;
+                } while( iRetryIterationCount > 0 && !bSuccess);
 
 
     //test removing SOAP header block using pointer
@@ -118,11 +118,11 @@
     header = ws.getFirstSOAPHeaderBlock();
     ws.deleteSOAPHeaderBlock(header);
     //now the request should have no SOAP headers
-    	bSuccess = false;
-		iRetryIterationCount = 3;
+        bSuccess = false;
+                iRetryIterationCount = 3;
 
-		do
-		{
+                do
+                {
 try
     {
     if (0 == strcmp(ws.echoString("hello world"), "hello world"))
@@ -130,35 +130,35 @@
     else
         printf("failed\n");
 
-				bSuccess = true;
+                                bSuccess = true;
     }
     catch(AxisException& e)
     {
-			bool bSilent = false;
+                        bool bSilent = false;
 
-			if( e.getExceptionCode() == CLIENT_TRANSPORT_OPEN_CONNECTION_FAILED)
-			{
-				if( iRetryIterationCount > 0)
-				{
-					bSilent = true;
-				}
-			}
-			else
-			{
-				iRetryIterationCount = 0;
-			}
+                        if( e.getExceptionCode() == CLIENT_TRANSPORT_OPEN_CONNECTION_FAILED)
+                        {
+                                if( iRetryIterationCount > 0)
+                                {
+                                        bSilent = true;
+                                }
+                        }
+                        else
+                        {
+                                iRetryIterationCount = 0;
+                        }
 
             if( !bSilent)
-			{
+                        {
         printf("%s\n", e.what());
-			}
+                        }
     }
     catch(...)
     {
         printf("unknown exception\n");
     }
-		iRetryIterationCount--;
-		} while( iRetryIterationCount > 0 && !bSuccess);
+                iRetryIterationCount--;
+                } while( iRetryIterationCount > 0 && !bSuccess);
 
 
 

Modified: webservices/axis/trunk/c/tests/auto_build/testcases/client/cpp/RpcSoapHeaderTest9Client.cpp
URL: http://svn.apache.org/viewcvs/webservices/axis/trunk/c/tests/auto_build/testcases/client/cpp/RpcSoapHeaderTest9Client.cpp?rev=397747&r1=397746&r2=397747&view=diff
==============================================================================
--- webservices/axis/trunk/c/tests/auto_build/testcases/client/cpp/RpcSoapHeaderTest9Client.cpp (original)
+++ webservices/axis/trunk/c/tests/auto_build/testcases/client/cpp/RpcSoapHeaderTest9Client.cpp Thu Apr 27 20:03:51 2006
@@ -45,28 +45,28 @@
     //endpoint for Axis CPP sample
     sprintf(endpoint, "http://%s:%s/axis/base", server, port);
     
-	// Set the endpoint from command line argument if set
-	if (argc > 1)
-		strcpy(endpoint, argv[1]);
-
-	
-	
-	InteropTestPortType ws(endpoint, APTHTTP1_1);
+        // Set the endpoint from command line argument if set
+        if (argc > 1)
+                strcpy(endpoint, argv[1]);
+
+        
+        
+        InteropTestPortType ws(endpoint, APTHTTP1_1);
 
     /*
     <SOAP-ENV:Header>
-    	<ns2:TestHeader xmlns:ns2="http://ws.apache.org/axisCppTest/" xmlns:namesp1="http://mynamespace.com">
-	    <Credentials ns2:type="normal">
-		<username ns2:usertype="normal_user">Test User</username>
-		<password>Test Password</password>
-	    </Credentials>
-	</ns2:TestHeader>
+        <ns2:TestHeader xmlns:ns2="http://ws.apache.org/axisCppTest/" xmlns:namesp1="http://mynamespace.com">
+            <Credentials ns2:type="normal">
+                <username ns2:usertype="normal_user">Test User</username>
+                <password>Test Password</password>
+            </Credentials>
+        </ns2:TestHeader>
     </SOAP-ENV:Header>
     */
 
     //set SOAP headers
     IHeaderBlock *phb = ws.createSOAPHeaderBlock("TestHeader", 
-		"http://ws.apache.org/axisCppTest/");
+                "http://ws.apache.org/axisCppTest/");
     phb->createNamespaceDecl("namesp1", "http://mynamespace.com");
 
     //create parent node
@@ -98,47 +98,47 @@
 
     printf("invoking echoString...\n");
     //testing echoString 
-		bool bSuccess = false;
-		int	iRetryIterationCount = 3;
+                bool bSuccess = false;
+                int     iRetryIterationCount = 3;
 
-		do
-		{
+                do
+                {
     try 
     {
     if (0 == strcmp(ws.echoString("hello world"), "hello world"))
-	printf("successful\n");
+        printf("successful\n");
     else
-	printf("failed\n");
+        printf("failed\n");
 
-				bSuccess = true;
+                                bSuccess = true;
     }
     catch (AxisException& e)
     {
-			bool bSilent = false;
+                        bool bSilent = false;
 
-			if( e.getExceptionCode() == CLIENT_TRANSPORT_OPEN_CONNECTION_FAILED)
-			{
-				if( iRetryIterationCount > 0)
-				{
-					bSilent = true;
-				}
-			}
-			else
-			{
-				iRetryIterationCount = 0;
-			}
+                        if( e.getExceptionCode() == CLIENT_TRANSPORT_OPEN_CONNECTION_FAILED)
+                        {
+                                if( iRetryIterationCount > 0)
+                                {
+                                        bSilent = true;
+                                }
+                        }
+                        else
+                        {
+                                iRetryIterationCount = 0;
+                        }
 
             if( !bSilent)
-			{
+                        {
         printf("%s\n", e.what());
-			}
+                        }
     }
     catch(...)
     {
         printf("Unknown exception\n");
     }
-		iRetryIterationCount--;
-		} while( iRetryIterationCount > 0 && !bSuccess);
+                iRetryIterationCount--;
+                } while( iRetryIterationCount > 0 && !bSuccess);
 
     printf("Soap Header test end\n");
     return 0;

Modified: webservices/axis/trunk/c/tests/auto_build/testcases/client/cpp/SOAPActionTestDocClient.cpp
URL: http://svn.apache.org/viewcvs/webservices/axis/trunk/c/tests/auto_build/testcases/client/cpp/SOAPActionTestDocClient.cpp?rev=397747&r1=397746&r2=397747&view=diff
==============================================================================
--- webservices/axis/trunk/c/tests/auto_build/testcases/client/cpp/SOAPActionTestDocClient.cpp (original)
+++ webservices/axis/trunk/c/tests/auto_build/testcases/client/cpp/SOAPActionTestDocClient.cpp Thu Apr 27 20:03:51 2006
@@ -39,11 +39,11 @@
         char simpleanyURI[25] = "A simple test message!";
         xsd__anyURI input = new char[25];
         strcpy (input, simpleanyURI);
-		xsd__anyURI result;
-        //The client uses the SOAPAction set by generated code		
-		cout << "Using the default SOAPAction set by Generated code..." << endl;
-				
-		result = ws->asNonNillableElement(input);
+                xsd__anyURI result;
+        //The client uses the SOAPAction set by generated code          
+                cout << "Using the default SOAPAction set by Generated code..." << endl;
+                                
+                result = ws->asNonNillableElement(input);
         if (result)
         {
             if (*result)
@@ -60,12 +60,12 @@
             cout << "non-nillable element=<nil>" << endl;
         }
         
-			
-		//The client uses an empty SOAPAction
+                        
+                //The client uses an empty SOAPAction
 
-		cout << "Using an empty SOAPAction ..." << endl;
+                cout << "Using an empty SOAPAction ..." << endl;
 
-		ws->setTransportProperty("SOAPAction" , "");
+                ws->setTransportProperty("SOAPAction" , "");
         result = ws->asNonNillableElement(input);
         if (result)
         {
@@ -84,11 +84,11 @@
         }
         
 
-		//The client uses aSOAPAction which is invalid
+                //The client uses aSOAPAction which is invalid
 
-		cout << "Using an empty SOAPAction ..." << endl;
+                cout << "Using an empty SOAPAction ..." << endl;
 
-		ws->setTransportProperty("SOAPAction" , "GARBAGE");
+                ws->setTransportProperty("SOAPAction" , "GARBAGE");
         result = ws->asNonNillableElement(input);
         if (result)
         {

Modified: webservices/axis/trunk/c/tests/auto_build/testcases/client/cpp/SameComplexTypeAndElementNameClient.cpp
URL: http://svn.apache.org/viewcvs/webservices/axis/trunk/c/tests/auto_build/testcases/client/cpp/SameComplexTypeAndElementNameClient.cpp?rev=397747&r1=397746&r2=397747&view=diff
==============================================================================
--- webservices/axis/trunk/c/tests/auto_build/testcases/client/cpp/SameComplexTypeAndElementNameClient.cpp (original)
+++ webservices/axis/trunk/c/tests/auto_build/testcases/client/cpp/SameComplexTypeAndElementNameClient.cpp Thu Apr 27 20:03:51 2006
@@ -18,86 +18,86 @@
 
 int main( int argc, char * argv[])
 {
-	bool	bSuccess = false;
-	int		iRetryIterationCount = 3;
+        bool    bSuccess = false;
+        int             iRetryIterationCount = 3;
 
-	do
-	{
-		try
-		{
-			const char *	pszURL = "http://localhost:9090/SameComplexTypeAndElementName/services/SameComplexTypeAndElementNameSoapImpl";
-
-			pszURL = argv[1];
-
-			TestServicePortType *	pWS = new TestServicePortType( pszURL, APTHTTP1_1);
-			SampleBeanBoolean *		pSBB = new SampleBeanBoolean();
-			SampleBeanComplex *		pSBC = new SampleBeanComplex();
-
-			SampleBeanComplex_Array BBArrayIn;
-			SampleBeanComplex ** BBArray = NULL;			
-			BBArrayIn.set(BBArray,0);
-			pSBB->setSampleBean(&BBArrayIn);
-			pSBB->setSampleBeanBoolean(false_);
-	
-			pWS->aBeanPortTypeBase( pSBB);	
-			cout << "Called aBeanPortTypeBase()" << endl;
-
-			SampleBeanComplex_Array BCArrayIn;
-			SampleBeanComplex ** BCArray = NULL;			
-			BCArrayIn.set(BCArray,0);
-			
-			pSBC->setSampleBeanComplex_Ref(&BCArrayIn);
-			pSBC->setBoolean(false_);
-			pWS->aBeanPortTypeComplex( pSBC);
-
-			cout << "Called aBeanPortTypeComplex()" << endl;
-
-			delete pSBC;
-			delete pSBB;
-			delete pWS;
-
-			bSuccess = true;
-		}
-		catch( AxisException& e)
-		{
-			bool bSilent = false;
-
-			if( e.getExceptionCode() == CLIENT_TRANSPORT_OPEN_CONNECTION_FAILED)
-			{
-				if( iRetryIterationCount > 0)
-				{
-					bSilent = true;
-				}
-			}
-			else
-			{
-				iRetryIterationCount = 0;
-			}
-
-			if( !bSilent)
-			{
-				cout << "Exception : " << e.what() << endl;
-			}
-		}
-		catch( exception& e)
-		{
-			cout << "Unknown exception has occured : " << e.what() << endl;
-		}
-		catch(...)
-		{
-			cout << "Unknown exception has occured" << endl;
-		}
-
-		iRetryIterationCount--;
-	} while( iRetryIterationCount > 0 && !bSuccess);
-
-	if( bSuccess)
-	{
-		cout << "---------------------- TEST PASSED -----------------------------" << endl;
-	}
-	else
-	{
-		cout << "---------------------- TEST FAILED -----------------------------" << endl;
-	}
-	return 0;
+        do
+        {
+                try
+                {
+                        const char *    pszURL = "http://localhost:9090/SameComplexTypeAndElementName/services/SameComplexTypeAndElementNameSoapImpl";
+
+                        pszURL = argv[1];
+
+                        TestServicePortType *   pWS = new TestServicePortType( pszURL, APTHTTP1_1);
+                        SampleBeanBoolean *             pSBB = new SampleBeanBoolean();
+                        SampleBeanComplex *             pSBC = new SampleBeanComplex();
+
+                        SampleBeanComplex_Array BBArrayIn;
+                        SampleBeanComplex ** BBArray = NULL;                    
+                        BBArrayIn.set(BBArray,0);
+                        pSBB->setSampleBean(&BBArrayIn);
+                        pSBB->setSampleBeanBoolean(false_);
+        
+                        pWS->aBeanPortTypeBase( pSBB);  
+                        cout << "Called aBeanPortTypeBase()" << endl;
+
+                        SampleBeanComplex_Array BCArrayIn;
+                        SampleBeanComplex ** BCArray = NULL;                    
+                        BCArrayIn.set(BCArray,0);
+                        
+                        pSBC->setSampleBeanComplex_Ref(&BCArrayIn);
+                        pSBC->setBoolean(false_);
+                        pWS->aBeanPortTypeComplex( pSBC);
+
+                        cout << "Called aBeanPortTypeComplex()" << endl;
+
+                        delete pSBC;
+                        delete pSBB;
+                        delete pWS;
+
+                        bSuccess = true;
+                }
+                catch( AxisException& e)
+                {
+                        bool bSilent = false;
+
+                        if( e.getExceptionCode() == CLIENT_TRANSPORT_OPEN_CONNECTION_FAILED)
+                        {
+                                if( iRetryIterationCount > 0)
+                                {
+                                        bSilent = true;
+                                }
+                        }
+                        else
+                        {
+                                iRetryIterationCount = 0;
+                        }
+
+                        if( !bSilent)
+                        {
+                                cout << "Exception : " << e.what() << endl;
+                        }
+                }
+                catch( exception& e)
+                {
+                        cout << "Unknown exception has occured : " << e.what() << endl;
+                }
+                catch(...)
+                {
+                        cout << "Unknown exception has occured" << endl;
+                }
+
+                iRetryIterationCount--;
+        } while( iRetryIterationCount > 0 && !bSuccess);
+
+        if( bSuccess)
+        {
+                cout << "---------------------- TEST PASSED -----------------------------" << endl;
+        }
+        else
+        {
+                cout << "---------------------- TEST FAILED -----------------------------" << endl;
+        }
+        return 0;
 }

Modified: webservices/axis/trunk/c/tests/auto_build/testcases/client/cpp/SameComplexTypeAndNillableElementNameClient.cpp
URL: http://svn.apache.org/viewcvs/webservices/axis/trunk/c/tests/auto_build/testcases/client/cpp/SameComplexTypeAndNillableElementNameClient.cpp?rev=397747&r1=397746&r2=397747&view=diff
==============================================================================
--- webservices/axis/trunk/c/tests/auto_build/testcases/client/cpp/SameComplexTypeAndNillableElementNameClient.cpp (original)
+++ webservices/axis/trunk/c/tests/auto_build/testcases/client/cpp/SameComplexTypeAndNillableElementNameClient.cpp Thu Apr 27 20:03:51 2006
@@ -25,105 +25,105 @@
 
 int main(int argc, char* argv[])
 {
-	char endpoint[256];
-	const char* url="http://localhost:80/axis/Calculator";
+        char endpoint[256];
+        const char* url="http://localhost:80/axis/Calculator";
 
-	signal(SIGILL, sig_handler);
-	signal(SIGABRT, sig_handler);
-	signal(SIGSEGV, sig_handler);
-	//signal(SIGQUIT, sig_handler);
-	//signal(SIGBUS, sig_handler);
-	signal(SIGFPE, sig_handler);
-
-	url = argv[1];
-
-		bool bSuccess = false;
-		int	iRetryIterationCount = 3;
-
-		do
-		{
-	try
-	{
-		sprintf(endpoint, "%s", url);
-		SameComplexTypeAndNillableElementName ws(endpoint);
-
-		aType input;
-		xsd__int* inputValue = NULL;
-		input.setaType(inputValue);
-
-		aType * output = ws.complexTypeAndNillableElement(&input);
-		if (output != NULL)
-		{
-			xsd__int * outputValue = output->getaType();
-			if (outputValue != NULL)
-			{
-				cout << "aType->aType = " << *outputValue << endl;
-			}
-			else
-			{
-				cout << "aType->aType = NULL" << endl;
-			}
-		}
-		else
-		{
-			cout << "output is NULL" << endl;
-		}
-		bSuccess = true;
-	}
-	catch(AxisException& e)
-	{
-			bool bSilent = false;
-
-			if( e.getExceptionCode() == CLIENT_TRANSPORT_OPEN_CONNECTION_FAILED)
-			{
-				if( iRetryIterationCount > 0)
-				{
-					bSilent = true;
-				}
-			}
-			else
-			{
-				iRetryIterationCount = 0;
-			}
+        signal(SIGILL, sig_handler);
+        signal(SIGABRT, sig_handler);
+        signal(SIGSEGV, sig_handler);
+        //signal(SIGQUIT, sig_handler);
+        //signal(SIGBUS, sig_handler);
+        signal(SIGFPE, sig_handler);
+
+        url = argv[1];
+
+                bool bSuccess = false;
+                int     iRetryIterationCount = 3;
+
+                do
+                {
+        try
+        {
+                sprintf(endpoint, "%s", url);
+                SameComplexTypeAndNillableElementName ws(endpoint);
+
+                aType input;
+                xsd__int* inputValue = NULL;
+                input.setaType(inputValue);
+
+                aType * output = ws.complexTypeAndNillableElement(&input);
+                if (output != NULL)
+                {
+                        xsd__int * outputValue = output->getaType();
+                        if (outputValue != NULL)
+                        {
+                                cout << "aType->aType = " << *outputValue << endl;
+                        }
+                        else
+                        {
+                                cout << "aType->aType = NULL" << endl;
+                        }
+                }
+                else
+                {
+                        cout << "output is NULL" << endl;
+                }
+                bSuccess = true;
+        }
+        catch(AxisException& e)
+        {
+                        bool bSilent = false;
+
+                        if( e.getExceptionCode() == CLIENT_TRANSPORT_OPEN_CONNECTION_FAILED)
+                        {
+                                if( iRetryIterationCount > 0)
+                                {
+                                        bSilent = true;
+                                }
+                        }
+                        else
+                        {
+                                iRetryIterationCount = 0;
+                        }
 
             if( !bSilent)
-			{
-				cout << "Exception : " << e.what() << endl;
-			}
-	}
-	catch(exception& e)
-	{
-	    cout << "Unknown exception has occured" << endl;
-	}
-	catch(...)
-	{
-	    cout << "Unknown exception has occured" << endl;
-	}
-		iRetryIterationCount--;
-		} while( iRetryIterationCount > 0 && !bSuccess);
+                        {
+                                cout << "Exception : " << e.what() << endl;
+                        }
+        }
+        catch(exception& e)
+        {
+            cout << "Unknown exception has occured" << endl;
+        }
+        catch(...)
+        {
+            cout << "Unknown exception has occured" << endl;
+        }
+                iRetryIterationCount--;
+                } while( iRetryIterationCount > 0 && !bSuccess);
   cout<< "---------------------- TEST COMPLETE -----------------------------"<< endl;
-	
-	return 0;
+        
+        return 0;
 }
 
 void PrintUsage()
 {
-	printf("Usage :\n Calculator <url>\n\n");
-	exit(1);
+        printf("Usage :\n Calculator <url>\n\n");
+        exit(1);
 }
 
 bool IsNumber(const char* p)
 {
-	for (int x=0; x < strlen(p); x++)
-	{
-		if (!isdigit(p[x])) return false;
-	}
-	return true;
+        for (int x=0; x < strlen(p); x++)
+        {
+                if (!isdigit(p[x])) return false;
+        }
+        return true;
 }
 
 void sig_handler(int sig) {
-	signal(sig, sig_handler);
+        signal(sig, sig_handler);
     cout << "SIGNAL RECEIVED " << sig << endl;
-	exit(1);
+        exit(1);
 }