ws-axis-cvs mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From nadira...@apache.org
Subject svn commit: r397747 [4/17] - /webservices/axis/trunk/c/tests/auto_build/testcases/client/cpp/
Date Fri, 28 Apr 2006 03:04:04 GMT
Modified: webservices/axis/trunk/c/tests/auto_build/testcases/client/cpp/ComplexTypeChoiceNestedChoiceClient.cpp
URL: http://svn.apache.org/viewcvs/webservices/axis/trunk/c/tests/auto_build/testcases/client/cpp/ComplexTypeChoiceNestedChoiceClient.cpp?rev=397747&r1=397746&r2=397747&view=diff
==============================================================================
--- webservices/axis/trunk/c/tests/auto_build/testcases/client/cpp/ComplexTypeChoiceNestedChoiceClient.cpp (original)
+++ webservices/axis/trunk/c/tests/auto_build/testcases/client/cpp/ComplexTypeChoiceNestedChoiceClient.cpp Thu Apr 27 20:03:51 2006
@@ -32,7 +32,7 @@
 
 int main(int argc, char* argv[])
 { 
-	
+        
   XSD_byte *ws;
 
   char *endpoint = WSDL_DEFAULT_ENDPOINT;
@@ -41,87 +41,87 @@
 
   endpoint_set = parse_args_for_endpoint(&argc, argv, &endpoint);
 
-		bool bSuccess = false;
-		int	iRetryIterationCount = 3;
+                bool bSuccess = false;
+                int     iRetryIterationCount = 3;
 
-		do
-		{
-			try {
-	  
-					if(endpoint_set) {
-					ws = new XSD_byte(endpoint, APTHTTP1_1);
-					free(endpoint);
-					endpoint_set = false;
-					} else
-						ws = new XSD_byte();
-
-					SimpleComplexType1* input=new SimpleComplexType1(); 
-					
-					input->field1 = "hello";
-					input->field2 = "world";
-					input->field3 = "I am still here!";
-					input->field4 = "Bye";					
-
-					SimpleComplexType1* result = NULL;
-					result = ws->asComplexType(input);
-					if ( result == NULL )
-						cout << "result object is null" << endl;
-					
-					cout << "Result field1 is = " << result->field1 << endl;
-					
-
-					bSuccess = true;
-
-				    returnValue = 0; // Success
-
-			} 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 << e.what() << endl;
-				}
-			} catch(exception& exception){
-
-  				cout << "Exception on clean up of ws : " << exception.what()<<endl;
-		
-			} catch(...) {
-				
-				cout << "Unknown Exception occured 1 2 3" << endl;
-			}  
+                do
+                {
+                        try {
+          
+                                        if(endpoint_set) {
+                                        ws = new XSD_byte(endpoint, APTHTTP1_1);
+                                        free(endpoint);
+                                        endpoint_set = false;
+                                        } else
+                                                ws = new XSD_byte();
+
+                                        SimpleComplexType1* input=new SimpleComplexType1(); 
+                                        
+                                        input->field1 = "hello";
+                                        input->field2 = "world";
+                                        input->field3 = "I am still here!";
+                                        input->field4 = "Bye";                                  
+
+                                        SimpleComplexType1* result = NULL;
+                                        result = ws->asComplexType(input);
+                                        if ( result == NULL )
+                                                cout << "result object is null" << endl;
+                                        
+                                        cout << "Result field1 is = " << result->field1 << endl;
+                                        
+
+                                        bSuccess = true;
+
+                                    returnValue = 0; // Success
+
+                        } 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 << e.what() << endl;
+                                }
+                        } catch(exception& exception){
+
+                                cout << "Exception on clean up of ws : " << exception.what()<<endl;
+                
+                        } catch(...) {
+                                
+                                cout << "Unknown Exception occured 1 2 3" << endl;
+                        }  
   
   // Samisa : clean up memory allocated for stub
-			try
-			{
-				delete ws; 
-
-			} catch(exception& exception){
-  				cout << "Exception on clean up of ws : " << exception.what()<<endl;
-			} catch(...){
-  				cout << "Unknown exception on clean up of ws : " << endl;
-			} 
-				iRetryIterationCount--;
+                        try
+                        {
+                                delete ws; 
+
+                        } catch(exception& exception){
+                                cout << "Exception on clean up of ws : " << exception.what()<<endl;
+                        } catch(...){
+                                cout << "Unknown exception on clean up of ws : " << endl;
+                        } 
+                                iRetryIterationCount--;
 
-		} while( iRetryIterationCount > 0 && !bSuccess);
+                } while( iRetryIterationCount > 0 && !bSuccess);
 
-		if(endpoint_set)
-		free(endpoint);
+                if(endpoint_set)
+                free(endpoint);
 
   cout << "---------------------- TEST COMPLETE -----------------------------"<< endl;
 
-	return returnValue;
+        return returnValue;
 }
 
 /* Spin through args list and check for -e -p and -s options.

Modified: webservices/axis/trunk/c/tests/auto_build/testcases/client/cpp/ComplexTypeChoiceNestedSequenceClient.cpp
URL: http://svn.apache.org/viewcvs/webservices/axis/trunk/c/tests/auto_build/testcases/client/cpp/ComplexTypeChoiceNestedSequenceClient.cpp?rev=397747&r1=397746&r2=397747&view=diff
==============================================================================
--- webservices/axis/trunk/c/tests/auto_build/testcases/client/cpp/ComplexTypeChoiceNestedSequenceClient.cpp (original)
+++ webservices/axis/trunk/c/tests/auto_build/testcases/client/cpp/ComplexTypeChoiceNestedSequenceClient.cpp Thu Apr 27 20:03:51 2006
@@ -32,7 +32,7 @@
 
 int main(int argc, char* argv[])
 { 
-	
+        
   XSD_byte *ws;
 
   char *endpoint = WSDL_DEFAULT_ENDPOINT;
@@ -41,104 +41,104 @@
 
   endpoint_set = parse_args_for_endpoint(&argc, argv, &endpoint);
 
-		bool bSuccess = false;
-		int	iRetryIterationCount = 3;
+                bool bSuccess = false;
+                int     iRetryIterationCount = 3;
 
-		do
-		{
-			try {
-	  
-					if(endpoint_set) {
-					ws = new XSD_byte(endpoint, APTHTTP1_1);
-					free(endpoint);
-					endpoint_set = false;
-					} else
-						ws = new XSD_byte();
-
-					SimpleComplexType1* input=new SimpleComplexType1(); 
-				
-					
-					input->field1 = "hello";
-					input->field2 = "world";
-					input->field3 = "I am still here!";
+                do
+                {
+                        try {
+          
+                                        if(endpoint_set) {
+                                        ws = new XSD_byte(endpoint, APTHTTP1_1);
+                                        free(endpoint);
+                                        endpoint_set = false;
+                                        } else
+                                                ws = new XSD_byte();
+
+                                        SimpleComplexType1* input=new SimpleComplexType1(); 
+                                
+                                        
+                                        input->field1 = "hello";
+                                        input->field2 = "world";
+                                        input->field3 = "I am still here!";
                         // As the final choice element this should be the only one present in serialized message
-					
+                                        
 
-			
-					SimpleComplexType1* result = NULL;
-					result = ws->asComplexType(input);
-					if ( result == NULL )
-						cout << "result object is null" << endl;
+                        
+                                        SimpleComplexType1* result = NULL;
+                                        result = ws->asComplexType(input);
+                                        if ( result == NULL )
+                                                cout << "result object is null" << endl;
                     if (result->field1)
                     {
-					   cout << "Result field1 is = " << result->field1 << endl;
+                                           cout << "Result field1 is = " << result->field1 << endl;
                     }
                     if (result->field2)
                     {
-					   cout << "Result field2 is = " << result->field2 << endl;
+                                           cout << "Result field2 is = " << result->field2 << endl;
                     }
                     if (result->field3)
                     {
-					   cout << "Result field3 is = " << result->field3 << endl; 
+                                           cout << "Result field3 is = " << result->field3 << endl; 
                     }
                     if (result->field4)
                     {
                         cout << "Result field4 is = " << result->field4 << endl;
                     }
-					
+                                        
 
-					bSuccess = true;
+                                        bSuccess = true;
 
-				    returnValue = 0; // Success
+                                    returnValue = 0; // Success
 
-			} catch(AxisException &e) {
-				bool bSilent = false;
+                        } 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 << e.what() << endl;
-				}
-			} catch(exception& exception){
-
-  				cout << "Exception on clean up of ws : " << exception.what()<<endl;
-		
-			} catch(...) {
-				
-				cout << "Unknown Exception occured 1 2 3" << endl;
-			}  
+                                if( e.getExceptionCode() == CLIENT_TRANSPORT_OPEN_CONNECTION_FAILED)
+                                {
+                                        if( iRetryIterationCount > 0)
+                                        {
+                                                bSilent = true;
+                                        }
+                                }
+                                else
+                                {
+                                        iRetryIterationCount = 0;
+                                }
+
+                                if( !bSilent)
+                                {
+                                        cout << e.what() << endl;
+                                }
+                        } catch(exception& exception){
+
+                                cout << "Exception on clean up of ws : " << exception.what()<<endl;
+                
+                        } catch(...) {
+                                
+                                cout << "Unknown Exception occured 1 2 3" << endl;
+                        }  
   
   // Samisa : clean up memory allocated for stub
-			try
-			{
-				delete ws; 
-
-			} catch(exception& exception){
-  				cout << "Exception on clean up of ws : " << exception.what()<<endl;
-			} catch(...){
-  				cout << "Unknown exception on clean up of ws : " << endl;
-			} 
-				iRetryIterationCount--;
+                        try
+                        {
+                                delete ws; 
+
+                        } catch(exception& exception){
+                                cout << "Exception on clean up of ws : " << exception.what()<<endl;
+                        } catch(...){
+                                cout << "Unknown exception on clean up of ws : " << endl;
+                        } 
+                                iRetryIterationCount--;
 
-		} while( iRetryIterationCount > 0 && !bSuccess);
+                } while( iRetryIterationCount > 0 && !bSuccess);
 
-		if(endpoint_set)
-		free(endpoint);
+                if(endpoint_set)
+                free(endpoint);
 
   cout << "---------------------- TEST COMPLETE -----------------------------"<< endl;
 
-	return returnValue;
+        return returnValue;
 }
 
 /* Spin through args list and check for -e -p and -s options.

Modified: webservices/axis/trunk/c/tests/auto_build/testcases/client/cpp/ComplexTypeChoiceSimpleClient.cpp
URL: http://svn.apache.org/viewcvs/webservices/axis/trunk/c/tests/auto_build/testcases/client/cpp/ComplexTypeChoiceSimpleClient.cpp?rev=397747&r1=397746&r2=397747&view=diff
==============================================================================
--- webservices/axis/trunk/c/tests/auto_build/testcases/client/cpp/ComplexTypeChoiceSimpleClient.cpp (original)
+++ webservices/axis/trunk/c/tests/auto_build/testcases/client/cpp/ComplexTypeChoiceSimpleClient.cpp Thu Apr 27 20:03:51 2006
@@ -32,7 +32,7 @@
 
 int main(int argc, char* argv[])
 { 
-	
+        
   XSD_byte *ws;
 
   char *endpoint = WSDL_DEFAULT_ENDPOINT;
@@ -41,85 +41,85 @@
 
   endpoint_set = parse_args_for_endpoint(&argc, argv, &endpoint);
 
-		bool bSuccess = false;
-		int	iRetryIterationCount = 1;
+                bool bSuccess = false;
+                int     iRetryIterationCount = 1;
 
-		do
-		{
-			try {
-	  
-					if(endpoint_set) {
-						ws = new XSD_byte(endpoint, APTHTTP1_1);
-						free(endpoint);
-						endpoint_set = false;
-					} else
-						ws = new XSD_byte();
-
-					SimpleComplexType1* input=new SimpleComplexType1(); 
-
-					xsd__int* fieldone=new xsd__int();
-					*fieldone=12345;
-					input->field1=fieldone;
-					
-					SimpleComplexType1* result = NULL;
-					result = ws->asComplexType(input);
-					if ( result == NULL )
-						cout << "result object is null" << endl;
-					
-					cout << "Result is = " << *(result->field1) << endl;
-					 
-
-					bSuccess = true;
-				    returnValue = 0; // Success
-
-			} 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 << e.what() << endl;
-				}
-			} catch(exception& exception){
-
-  				cout << "Exception on clean up of ws : " << exception.what()<<endl;
-		
-			} catch(...) {
-				
-				cout << "Unknown Exception occured 1 2 3" << endl;
-			}  
+                do
+                {
+                        try {
+          
+                                        if(endpoint_set) {
+                                                ws = new XSD_byte(endpoint, APTHTTP1_1);
+                                                free(endpoint);
+                                                endpoint_set = false;
+                                        } else
+                                                ws = new XSD_byte();
+
+                                        SimpleComplexType1* input=new SimpleComplexType1(); 
+
+                                        xsd__int* fieldone=new xsd__int();
+                                        *fieldone=12345;
+                                        input->field1=fieldone;
+                                        
+                                        SimpleComplexType1* result = NULL;
+                                        result = ws->asComplexType(input);
+                                        if ( result == NULL )
+                                                cout << "result object is null" << endl;
+                                        
+                                        cout << "Result is = " << *(result->field1) << endl;
+                                         
+
+                                        bSuccess = true;
+                                    returnValue = 0; // Success
+
+                        } 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 << e.what() << endl;
+                                }
+                        } catch(exception& exception){
+
+                                cout << "Exception on clean up of ws : " << exception.what()<<endl;
+                
+                        } catch(...) {
+                                
+                                cout << "Unknown Exception occured 1 2 3" << endl;
+                        }  
   
   // Samisa : clean up memory allocated for stub
-			try
-			{
-				delete ws; 
-
-			} catch(exception& exception){
-  				cout << "Exception on clean up of ws : " << exception.what()<<endl;
-			} catch(...){
-  				cout << "Unknown exception on clean up of ws : " << endl;
-			} 
-				iRetryIterationCount--;
+                        try
+                        {
+                                delete ws; 
+
+                        } catch(exception& exception){
+                                cout << "Exception on clean up of ws : " << exception.what()<<endl;
+                        } catch(...){
+                                cout << "Unknown exception on clean up of ws : " << endl;
+                        } 
+                                iRetryIterationCount--;
 
-		} while( iRetryIterationCount > 0 && !bSuccess);
+                } while( iRetryIterationCount > 0 && !bSuccess);
 
-		if(endpoint_set)
-		free(endpoint);
+                if(endpoint_set)
+                free(endpoint);
 
   cout << "---------------------- TEST COMPLETE -----------------------------"<< endl;
 
-	return returnValue;
+        return returnValue;
 }
 
 /* Spin through args list and check for -e -p and -s options.

Modified: webservices/axis/trunk/c/tests/auto_build/testcases/client/cpp/ComplexTypeNillableAllClient.cpp
URL: http://svn.apache.org/viewcvs/webservices/axis/trunk/c/tests/auto_build/testcases/client/cpp/ComplexTypeNillableAllClient.cpp?rev=397747&r1=397746&r2=397747&view=diff
==============================================================================
--- webservices/axis/trunk/c/tests/auto_build/testcases/client/cpp/ComplexTypeNillableAllClient.cpp (original)
+++ webservices/axis/trunk/c/tests/auto_build/testcases/client/cpp/ComplexTypeNillableAllClient.cpp Thu Apr 27 20:03:51 2006
@@ -41,7 +41,7 @@
     endpoint_set = parse_args_for_endpoint(&argc, argv, &endpoint);
 
     bool bSuccess = false;
-    int	iRetryIterationCount = 3;
+    int iRetryIterationCount = 3;
 
     do
     {
@@ -66,7 +66,7 @@
 
             aRecord* result;
             result = ws->myOperation(input); 
-				
+                                
             if (result== NULL) 
             {
                 cout<< "result is NULL " << endl;
@@ -77,7 +77,7 @@
 
                 if (result->field1)
                 {              
-				    cout << " Field1 = " << *(result->field1) << endl;
+                                    cout << " Field1 = " << *(result->field1) << endl;
                 }
                 else
                 {
@@ -100,7 +100,7 @@
 
             returnValue = 0; // Success
 
-		}
+                }
        catch(AxisException &e)
        {
             bool bSilent = false;
@@ -125,7 +125,7 @@
         catch(exception& exception)
         {
             cout << "Unexpected exception : " << exception.what()<<endl;
-		}
+                }
         catch(...)
         {
             cout << "Unknown Exception occured" << endl;
@@ -146,7 +146,7 @@
         }
 
         iRetryIterationCount--;
-	
+        
     } while( iRetryIterationCount > 0 && !bSuccess);
 
     if(endpoint_set)

Modified: webservices/axis/trunk/c/tests/auto_build/testcases/client/cpp/ComplexTypeOptionalAllClient.cpp
URL: http://svn.apache.org/viewcvs/webservices/axis/trunk/c/tests/auto_build/testcases/client/cpp/ComplexTypeOptionalAllClient.cpp?rev=397747&r1=397746&r2=397747&view=diff
==============================================================================
--- webservices/axis/trunk/c/tests/auto_build/testcases/client/cpp/ComplexTypeOptionalAllClient.cpp (original)
+++ webservices/axis/trunk/c/tests/auto_build/testcases/client/cpp/ComplexTypeOptionalAllClient.cpp Thu Apr 27 20:03:51 2006
@@ -40,11 +40,11 @@
 
   endpoint_set = parse_args_for_endpoint(&argc, argv, &endpoint);
 
-		bool bSuccess = false;
-		int	iRetryIterationCount = 3;
+                bool bSuccess = false;
+                int     iRetryIterationCount = 3;
 
-		do
-		{
+                do
+                {
   try {
     if(endpoint_set) {
       ws = new operations(endpoint, APTHTTP1_1);
@@ -61,32 +61,32 @@
     result = ws->myOperation(input);
 
     cout << "Result field1 is = " << result->field1 << endl;
-	cout << "Result field2 is = " << result->field2 << endl;
-	cout << "Result field3 is = " << result->field3 << endl;
+        cout << "Result field2 is = " << result->field2 << endl;
+        cout << "Result field3 is = " << result->field3 << endl;
 
-	bSuccess = true;
+        bSuccess = true;
 
     returnValue = 0; // Success
 
   } 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)
-			{
+                        {
     cout << e.what() << endl;
-			}
+                        }
   } catch(...) {
     cout << "Unknown Exception occured." << endl;
   }
@@ -94,18 +94,18 @@
   // Samisa : clean up memory allocated for stub
   try
   {
-	  delete ws; 
+          delete ws; 
   }
   catch(exception& exception)
   {
-  	cout << "Exception on clean up of ws : " << exception.what()<<endl;
+        cout << "Exception on clean up of ws : " << exception.what()<<endl;
   }
   catch(...)
   {
-  	cout << "Unknown exception on clean up of ws : " << endl;
+        cout << "Unknown exception on clean up of ws : " << endl;
   }
-		iRetryIterationCount--;
-		} while( iRetryIterationCount > 0 && !bSuccess);
+                iRetryIterationCount--;
+                } while( iRetryIterationCount > 0 && !bSuccess);
     if(endpoint_set)
       free(endpoint);
   cout << "---------------------- TEST COMPLETE -----------------------------"<< endl;

Modified: webservices/axis/trunk/c/tests/auto_build/testcases/client/cpp/ComplexTypeOptionalChoiceClient.cpp
URL: http://svn.apache.org/viewcvs/webservices/axis/trunk/c/tests/auto_build/testcases/client/cpp/ComplexTypeOptionalChoiceClient.cpp?rev=397747&r1=397746&r2=397747&view=diff
==============================================================================
--- webservices/axis/trunk/c/tests/auto_build/testcases/client/cpp/ComplexTypeOptionalChoiceClient.cpp (original)
+++ webservices/axis/trunk/c/tests/auto_build/testcases/client/cpp/ComplexTypeOptionalChoiceClient.cpp Thu Apr 27 20:03:51 2006
@@ -40,11 +40,11 @@
 
   endpoint_set = parse_args_for_endpoint(&argc, argv, &endpoint);
 
-		bool bSuccess = false;
-		int	iRetryIterationCount = 3;
+                bool bSuccess = false;
+                int     iRetryIterationCount = 3;
 
-		do
-		{
+                do
+                {
   try {
     if(endpoint_set) {
       ws = new XSD_byte(endpoint, APTHTTP1_1);
@@ -60,36 +60,36 @@
     SimpleComplexType1* result = NULL;
     result = ws->asComplexType(input);
 
-	if ( result == NULL )
-		cout << "result object is null" << endl;
+        if ( result == NULL )
+                cout << "result object is null" << endl;
 
     cout << "Result field1 is = " << result->field1 << endl;
-	/* cout << "Result field2 is = " << result->field2 << endl;
-	cout << "Result field3 is = " << result->field3 << endl; */ 
+        /* cout << "Result field2 is = " << result->field2 << endl;
+        cout << "Result field3 is = " << result->field3 << endl; */ 
 
-	bSuccess = true;
+        bSuccess = true;
 
     returnValue = 0; // Success
 
   } 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)
-			{
+                        {
     cout << e.what() << endl;
-			}
+                        }
   } catch(...) {
     cout << "Unknown Exception occured." << endl;
   }
@@ -97,18 +97,18 @@
   // Samisa : clean up memory allocated for stub
   try
   {
-	  delete ws; 
+          delete ws; 
   }
   catch(exception& exception)
   {
-  	cout << "Exception on clean up of ws : " << exception.what()<<endl;
+        cout << "Exception on clean up of ws : " << exception.what()<<endl;
   }
   catch(...)
   {
-  	cout << "Unknown exception on clean up of ws : " << endl;
+        cout << "Unknown exception on clean up of ws : " << endl;
   }
-		iRetryIterationCount--;
-		} while( iRetryIterationCount > 0 && !bSuccess);
+                iRetryIterationCount--;
+                } while( iRetryIterationCount > 0 && !bSuccess);
     if(endpoint_set)
       free(endpoint);
   cout << "---------------------- TEST COMPLETE -----------------------------"<< endl;

Modified: webservices/axis/trunk/c/tests/auto_build/testcases/client/cpp/ComplexTypeWithNillableSimpleElementClient.cpp
URL: http://svn.apache.org/viewcvs/webservices/axis/trunk/c/tests/auto_build/testcases/client/cpp/ComplexTypeWithNillableSimpleElementClient.cpp?rev=397747&r1=397746&r2=397747&view=diff
==============================================================================
--- webservices/axis/trunk/c/tests/auto_build/testcases/client/cpp/ComplexTypeWithNillableSimpleElementClient.cpp (original)
+++ webservices/axis/trunk/c/tests/auto_build/testcases/client/cpp/ComplexTypeWithNillableSimpleElementClient.cpp Thu Apr 27 20:03:51 2006
@@ -18,37 +18,37 @@
 
 int main( int argc, char* argv[])
 {
-	char *	pszEndpoint = "http://localhost:9080/ComplexTypeWithNillableSimpleElement";
+        char *  pszEndpoint = "http://localhost:9080/ComplexTypeWithNillableSimpleElement";
 
     if( argc > 1)
-	{
+        {
         pszEndpoint = argv[1];
-	}
+        }
 
     try
     {
-		ComplexTypeWithNillableSimpleElement *	pWS = new ComplexTypeWithNillableSimpleElement( pszEndpoint, APTHTTP1_1);
+                ComplexTypeWithNillableSimpleElement *  pWS = new ComplexTypeWithNillableSimpleElement( pszEndpoint, APTHTTP1_1);
 
-		SimpleComplexType *	pSCTI = new SimpleComplexType();
-		SimpleComplexType * pSCTO = NULL;
-		xsd__int *			pI = new xsd__int();
-		xsd__int			iInput = 1738;
-		xsd__int			iOutput = 8371;
+                SimpleComplexType *     pSCTI = new SimpleComplexType();
+                SimpleComplexType * pSCTO = NULL;
+                xsd__int *                      pI = new xsd__int();
+                xsd__int                        iInput = 1738;
+                xsd__int                        iOutput = 8371;
 
-		*pI = iInput;
+                *pI = iInput;
 
-		pSCTI->setcomplexTypeElement( pI);
+                pSCTI->setcomplexTypeElement( pI);
 
-		pSCTO = pWS->echo( pSCTI);
+                pSCTO = pWS->echo( pSCTI);
 
-		cout << "The output should be the reverse of the input." << endl <<
-			 "Input = " << *pI << " Output = " << *pSCTO->getcomplexTypeElement() << endl <<
-			 (iOutput == *pSCTO->getcomplexTypeElement() ? "Success" : "Failed") << endl;
+                cout << "The output should be the reverse of the input." << endl <<
+                         "Input = " << *pI << " Output = " << *pSCTO->getcomplexTypeElement() << endl <<
+                         (iOutput == *pSCTO->getcomplexTypeElement() ? "Success" : "Failed") << endl;
 
-		delete pI;
-		delete pSCTI;
-		delete pSCTO;
-		delete pWS;
+                delete pI;
+                delete pSCTI;
+                delete pSCTO;
+                delete pWS;
     }
     catch( AxisException& e)
     {
@@ -65,5 +65,5 @@
 
     cout << "---------------------- TEST COMPLETE -----------------------------" << endl;
 
-	return 0;
+        return 0;
 }

Modified: webservices/axis/trunk/c/tests/auto_build/testcases/client/cpp/ConnectionCloseClient.cpp
URL: http://svn.apache.org/viewcvs/webservices/axis/trunk/c/tests/auto_build/testcases/client/cpp/ConnectionCloseClient.cpp?rev=397747&r1=397746&r2=397747&view=diff
==============================================================================
--- webservices/axis/trunk/c/tests/auto_build/testcases/client/cpp/ConnectionCloseClient.cpp (original)
+++ webservices/axis/trunk/c/tests/auto_build/testcases/client/cpp/ConnectionCloseClient.cpp Thu Apr 27 20:03:51 2006
@@ -25,79 +25,79 @@
 
 int main(int argc, char* argv[])
 {
-	char endpoint[256];
-	const char* url="http://localhost:80/axis/Calculator";
-	const char* op = 0;
-	int i1=0, i2=0;
-	int iResult;
-
-	signal(SIGILL, sig_handler);
-	signal(SIGABRT, sig_handler);
-	signal(SIGSEGV, sig_handler);
-	//signal(SIGQUIT, sig_handler);
-	//signal(SIGBUS, sig_handler);
-	signal(SIGFPE, sig_handler);
+        char endpoint[256];
+        const char* url="http://localhost:80/axis/Calculator";
+        const char* op = 0;
+        int i1=0, i2=0;
+        int iResult;
+
+        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];
+        url = argv[1];
 
-		bool bSuccess = false;
-		int	iRetryIterationCount = 3;
+                bool bSuccess = false;
+                int     iRetryIterationCount = 3;
         sprintf(endpoint, "%s", url);
      Calculator ws(endpoint);
 
-		do
-		{
-	try
-	{
-
-		op = "add";
-		i1 = 2;
-		i2 = 3;
-
-		if (strcmp(op, "add") == 0)
-		{
-			iResult = ws.add(i1, i2);
-			cout << iResult << endl;
-			bSuccess = true;
-		}
-	}
-	catch(AxisException& e)
-	{
-		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);
+                do
+                {
+        try
+        {
+
+                op = "add";
+                i1 = 2;
+                i2 = 3;
+
+                if (strcmp(op, "add") == 0)
+                {
+                        iResult = ws.add(i1, i2);
+                        cout << iResult << endl;
+                        bSuccess = true;
+                }
+        }
+        catch(AxisException& e)
+        {
+                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);
   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);
 }
 

Modified: webservices/axis/trunk/c/tests/auto_build/testcases/client/cpp/CookiesClient.cpp
URL: http://svn.apache.org/viewcvs/webservices/axis/trunk/c/tests/auto_build/testcases/client/cpp/CookiesClient.cpp?rev=397747&r1=397746&r2=397747&view=diff
==============================================================================
--- webservices/axis/trunk/c/tests/auto_build/testcases/client/cpp/CookiesClient.cpp (original)
+++ webservices/axis/trunk/c/tests/auto_build/testcases/client/cpp/CookiesClient.cpp Thu Apr 27 20:03:51 2006
@@ -27,28 +27,28 @@
 
 int main(int argc, char* argv[])
 {
-	char endpoint[256];
-	const char* url="http://localhost:80/axis/Calculator";
-	const char* op = 0;
-	int i1=0, i2=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];
-
-	try
-	{
-		sprintf(endpoint, "%s", url);
-		Calculator ws(endpoint);
-
-		op = "add";
-		i1 = 2;
-		i2 = 3;
+        char endpoint[256];
+        const char* url="http://localhost:80/axis/Calculator";
+        const char* op = 0;
+        int i1=0, i2=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];
+
+        try
+        {
+                sprintf(endpoint, "%s", url);
+                Calculator ws(endpoint);
+
+                op = "add";
+                i1 = 2;
+                i2 = 3;
 
         ws.setMaintainSession(true);
         cout << "Calling calculator for the first time and expecting Set-Cookie back"<<endl;
@@ -109,22 +109,22 @@
         calculator.deleteTransportProperty("Cookie");
         cout <<"Calling the service and expecting no cookies to be there"<<endl;
         callCalculatorAndPrintProperties(calculator, i1, i2);
-	}
-	catch(AxisException& e)
-	{
-			cout << "Exception : " << e.what() << endl;
-	}
-	catch(exception& e)
-	{
-	    cout << "Unknown exception has occured : " << e.what() << endl;
-	}
-	catch(...)
-	{
-	    cout << "Unknown exception has occured" << endl;
-	}
+        }
+        catch(AxisException& e)
+        {
+                        cout << "Exception : " << e.what() << endl;
+        }
+        catch(exception& e)
+        {
+            cout << "Unknown exception has occured : " << e.what() << endl;
+        }
+        catch(...)
+        {
+            cout << "Unknown exception has occured" << endl;
+        }
   cout<< "---------------------- TEST COMPLETE -----------------------------"<< endl;
-	
-	return 0;
+        
+        return 0;
 }
 
 void callCalculatorAndPrintProperties(Calculator& calculator, int i1, int i2)
@@ -168,22 +168,22 @@
 
 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 < (int) strlen(p); x++)
-	{
-		if (!isdigit(p[x])) return false;
-	}
-	return true;
+        for (int x=0; x < (int) 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);
 }
 

Modified: webservices/axis/trunk/c/tests/auto_build/testcases/client/cpp/ElementFormDefaultTestClient.cpp
URL: http://svn.apache.org/viewcvs/webservices/axis/trunk/c/tests/auto_build/testcases/client/cpp/ElementFormDefaultTestClient.cpp?rev=397747&r1=397746&r2=397747&view=diff
==============================================================================
--- webservices/axis/trunk/c/tests/auto_build/testcases/client/cpp/ElementFormDefaultTestClient.cpp (original)
+++ webservices/axis/trunk/c/tests/auto_build/testcases/client/cpp/ElementFormDefaultTestClient.cpp Thu Apr 27 20:03:51 2006
@@ -47,481 +47,481 @@
             sprintf(endpoint, "%s", url);
             ElementFormDefaultTest ws(endpoint);
 
-			int arraySize = 2;
-			int count = 0;
-			int outputSize = 0;
-			
-			// form="unqualified"
-			cout << "Use of form=\"unqualified\"" << endl;
-			{
-				// Prepare input parameters			
-				xsd__string stringElement = new char[7];
-				strcpy(stringElement, "Hello!");
-				xsd__integer integerElement = 123;
-				xsd__integer_Array * integerArrayElement = new xsd__integer_Array();
-				xsd__integer** arrayOfInteger = new xsd__integer*[arraySize];
-				for (count = 0 ; count < arraySize ; count++ )
-				{
-					arrayOfInteger[count] = new xsd__integer(count);
-				}
-				integerArrayElement->set(arrayOfInteger, arraySize);
-				xsd__integer * optionalInteger = new xsd__integer(234); // While optional, we can only test correct namespace handling if we have a value!
-				xsd__integer * nillableInteger = NULL;
-
-				UnqualifiedSimpleComplexType * complexType = new UnqualifiedSimpleComplexType();
-				complexType->setsomeData(345);
-
-				UnqualifiedSimpleComplexType_Array * arrayOfComplexType = new UnqualifiedSimpleComplexType_Array();
-				UnqualifiedSimpleComplexType** complexTypeArray = new UnqualifiedSimpleComplexType*[arraySize];
-				for (count = 0 ; count < arraySize ; count++ )
-				{
-					complexTypeArray[count] = new UnqualifiedSimpleComplexType();
-					complexTypeArray[count]->setsomeData(count);
-				}
-				arrayOfComplexType->set(complexTypeArray, arraySize);
-
-				// Prepare output parameters
-				xsd__string outStringElement = NULL;
-				xsd__integer outIntegerElement;
-				xsd__integer_Array * outIntegerArrayElement = NULL;
-				xsd__integer * outOptionalIntegerElement = NULL;
-				xsd__integer * outNillableIntegerElement = NULL;
-				UnqualifiedSimpleComplexType * outComplexType = NULL;
-				UnqualifiedSimpleComplexType_Array * outArrayOfComplexType = NULL;
-
-				// Call method on web service
-				ws.elementFormDefaultIsUnqualified(stringElement,
-					integerElement,
-					integerArrayElement,
-					optionalInteger,
-					nillableInteger,
-					complexType,
-					arrayOfComplexType,
-					&outStringElement,
-					&outIntegerElement,
-					&outIntegerArrayElement, 
-					&outOptionalIntegerElement, 
-					&outNillableIntegerElement, 
-					&outComplexType, 
-					&outArrayOfComplexType);
-
-				// Clean up inputs
-				delete [] stringElement;
-				for (count = 0 ; count < arraySize ; count++ )
-				{
-					delete arrayOfInteger[count];
-				}
-				delete [] arrayOfInteger;
-				delete integerArrayElement;
-				delete optionalInteger;
-				delete complexType;
-				for (count = 0 ; count < arraySize ; count++ )
-				{
-					delete complexTypeArray[count];
-				}
-				delete [] complexTypeArray;
-				delete arrayOfComplexType;
-				
-
-				// Print output values
-				cout << "String element = " << outStringElement << endl;
-				delete [] outStringElement;
-				cout << "Integer element = " << outIntegerElement << endl;
-				cout << "Array of integer elements" << endl;
-				outputSize = 0;
-				const xsd__integer** outArrayOfIntegers = outIntegerArrayElement->get(outputSize);
-				for (count = 0 ; count < outputSize ; count++ )
-				{
-					if (outArrayOfIntegers[count] != NULL)
-					{
-						cout << " element[" << count << "] = " << *outArrayOfIntegers[count] << endl;
-					}
-					else
-					{
-						cout << " element[" << count << "] = NULL" << endl;
-					}
-				}
-				delete outIntegerArrayElement;
-				if (outOptionalIntegerElement != NULL)
-				{
-					cout << "Optional integer element = " << *outOptionalIntegerElement << endl;
-					delete outOptionalIntegerElement;
-				}
-				else
-				{
-					cout << "Optional integer element = NULL" << endl;
-				}
-				if (outNillableIntegerElement != NULL)
-				{
-					cout << "Nillable integer element = " << *outNillableIntegerElement << endl;
-					delete outNillableIntegerElement;
-				}
-				else
-				{
-					cout << "Nillable integer element = NULL" << endl;
-				}
-				cout << "SimpleComplexType->someData = " << outComplexType->someData << endl;
-				delete outComplexType;
-				cout << "Array of complex elements" << endl;
-				outputSize = 0;
-				UnqualifiedSimpleComplexType** outComplexArray = outArrayOfComplexType->get(outputSize);
-				for (count = 0 ; count < outputSize ; count++ )
-				{
-					if (outComplexArray[count] != NULL)
-					{
-						cout << " element[" << count << "] = " << outComplexArray[count]->someData << endl;
-					}
-					else
-					{
-						cout << " element[" << count << "] = NULL" << endl;
-					}
-				}
-				delete outArrayOfComplexType;
-			}
-
-
-			// form="qualified"
-			cout << "Use of form=\"qualified\"" << endl;
-			{
-				// Prepare input parameters			
-				xsd__string stringElement = new char[7];
-				strcpy(stringElement, "Hello!");
-				xsd__integer integerElement = 123;
-				xsd__integer_Array * integerArrayElement = new xsd__integer_Array();
-				xsd__integer** arrayOfInteger = new xsd__integer*[arraySize];
-				for (count = 0 ; count < arraySize ; count++ )
-				{
-					arrayOfInteger[count] = new xsd__integer(count);
-				}
-				integerArrayElement->set(arrayOfInteger, arraySize);
-				xsd__integer * optionalInteger = new xsd__integer(234); // While optional, we can only test correct namespace handling if we have a value!
-				xsd__integer * nillableInteger = NULL;
-
-				QualifiedSimpleComplexType * complexType = new QualifiedSimpleComplexType();
-				complexType->setsomeData(345);
-
-				QualifiedSimpleComplexType_Array * arrayOfComplexType = new QualifiedSimpleComplexType_Array();
-				QualifiedSimpleComplexType** complexTypeArray = new QualifiedSimpleComplexType*[arraySize];
-				for (count = 0 ; count < arraySize ; count++ )
-				{
-					complexTypeArray[count] = new QualifiedSimpleComplexType();
-					complexTypeArray[count]->setsomeData(count);
-				}
-				arrayOfComplexType->set(complexTypeArray, arraySize);
-
-				// Prepare output parameters
-				xsd__string outStringElement = NULL;
-				xsd__integer outIntegerElement;
-				xsd__integer_Array * outIntegerArrayElement = NULL;
-				xsd__integer * outOptionalIntegerElement = NULL;
-				xsd__integer * outNillableIntegerElement = NULL;
-				QualifiedSimpleComplexType * outComplexType = NULL;
-				QualifiedSimpleComplexType_Array * outArrayOfComplexType = NULL;
-
-				// Call method on web service
-				ws.elementFormDefaultIsQualified(stringElement,
-					integerElement,
-					integerArrayElement,
-					optionalInteger,
-					nillableInteger,
-					complexType,
-					arrayOfComplexType,
-					&outStringElement,
-					&outIntegerElement,
-					&outIntegerArrayElement, 
-					&outOptionalIntegerElement, 
-					&outNillableIntegerElement, 
-					&outComplexType, 
-					&outArrayOfComplexType);
-
-				// Clean up inputs
-				delete [] stringElement;
-				for (count = 0 ; count < arraySize ; count++ )
-				{
-					delete arrayOfInteger[count];
-				}
-				delete [] arrayOfInteger;
-				delete integerArrayElement;
-				delete optionalInteger;
-				delete complexType;
-				for (count = 0 ; count < arraySize ; count++ )
-				{
-					delete complexTypeArray[count];
-				}
-				delete [] complexTypeArray;
-				delete arrayOfComplexType;
-
-				// Print output values
-				cout << "String element = " << outStringElement << endl;
-				delete [] outStringElement;
-				cout << "Integer element = " << outIntegerElement << endl;
-				cout << "Array of integer elements" << endl;
-				outputSize = 0;
-				const xsd__integer** outArrayOfIntegers = outIntegerArrayElement->get(outputSize);
-				for (count = 0 ; count < outputSize ; count++ )
-				{
-					if (outArrayOfIntegers[count] != NULL)
-					{
-						cout << " element[" << count << "] = " << *outArrayOfIntegers[count] << endl;
-					}
-					else
-					{
-						cout << " element[" << count << "] = NULL" << endl;
-					}
-				}
-				delete outIntegerArrayElement;
-				if (outOptionalIntegerElement != NULL)
-				{
-					cout << "Optional integer element = " << *outOptionalIntegerElement << endl;
-					delete outOptionalIntegerElement;
-				}
-				else
-				{
-					cout << "Optional integer element = NULL" << endl;
-				}
-				if (outNillableIntegerElement != NULL)
-				{
-					cout << "Nillable integer element = " << *outNillableIntegerElement << endl;
-					delete outNillableIntegerElement;
-				}
-				else
-				{
-					cout << "Nillable integer element = NULL" << endl;
-				}
-				cout << "SimpleComplexType->someData = " << outComplexType->someData << endl;
-				delete outComplexType;
-				cout << "Array of complex elements" << endl;
-				outputSize = 0;
-				QualifiedSimpleComplexType** outComplexArray = outArrayOfComplexType->get(outputSize);
-				for (count = 0 ; count < outputSize ; count++ )
-				{
-					if (outComplexArray[count] != NULL)
-					{
-						cout << " element[" << count << "] = " << outComplexArray[count]->someData << endl;
-					}
-					else
-					{
-						cout << " element[" << count << "] = NULL" << endl;
-					}
-				}
-				delete outArrayOfComplexType;
-			}
-
-			// Nested within a Complex Type
-			// form="unqualified"
-			cout << "Use of form=\"unqualified\" nested within a complex type" << endl;
-			{
-				// Prepare input parameters			
-				xsd__string stringElement = new char[7];
-				strcpy(stringElement, "Hello!");
-				xsd__integer integerElement = 123;
-				xsd__integer_Array * integerArrayElement = new xsd__integer_Array();
-				xsd__integer** arrayOfInteger = new xsd__integer*[arraySize];
-				for (count = 0 ; count < arraySize ; count++ )
-				{
-					arrayOfInteger[count] = new xsd__integer(count);
-				}
-				integerArrayElement->set(arrayOfInteger, arraySize);
-				xsd__integer * optionalInteger = new xsd__integer(234); // While optional, we can only test correct namespace handling if we have a value!
-				xsd__integer * nillableInteger = NULL;
-
-				UnqualifiedSimpleComplexType * complexType = new UnqualifiedSimpleComplexType();
-				complexType->setsomeData(345);
-
-				UnqualifiedSimpleComplexType_Array * arrayOfComplexType = new UnqualifiedSimpleComplexType_Array();
-				UnqualifiedSimpleComplexType** complexTypeArray = new UnqualifiedSimpleComplexType*[arraySize];
-				for (count = 0 ; count < arraySize ; count++ )
-				{
-					complexTypeArray[count] = new UnqualifiedSimpleComplexType();
-					complexTypeArray[count]->setsomeData(count);
-				}
-				arrayOfComplexType->set(complexTypeArray, arraySize);
-
-				ElementFormDefaultIsUnqualified input;
-				input.setaStringType(stringElement);
-				input.setanIntegerType(integerElement);
-				input.setanIntegerArray(integerArrayElement);
-				input.setanOptionalIntegerType(optionalInteger);
-				input.setaNillableIntegerType(nillableInteger);
-				input.setSimpleComplexType(complexType);
-				input.setarrayOfSimpleComplexType(arrayOfComplexType);
-
-				// Call method on web service
-				ElementFormDefaultIsUnqualified * output = ws.nestedElementFormDefaultIsUnqualified(&input);
-
-				// Clean up inputs
-				for (count = 0 ; count < arraySize ; count++ )
-				{
-					delete arrayOfInteger[count];
-				}
-				delete [] arrayOfInteger;
-				delete integerArrayElement;
-				for (count = 0 ; count < arraySize ; count++ )
-				{
-					delete complexTypeArray[count];
-				}
-				delete [] complexTypeArray;
-				delete arrayOfComplexType;
-
-				// Print output values
-				cout << "String element = " << output->aStringType << endl;
-				cout << "Integer element = " << output->anIntegerType << endl;
-				cout << "Array of integer elements" << endl;
-				outputSize = 0;
-				const xsd__integer** outArrayOfIntegers = output->anIntegerArray->get(outputSize);
-				for (count = 0 ; count < outputSize ; count++ )
-				{
-					if (outArrayOfIntegers[count] != NULL)
-					{
-						cout << " element[" << count << "] = " << *outArrayOfIntegers[count] << endl;
-					}
-					else
-					{
-						cout << " element[" << count << "] = NULL" << endl;
-					}
-				}
-				if (output->anOptionalIntegerType != NULL)
-				{
-					cout << "Optional integer element = " << *output->anOptionalIntegerType << endl;
-				}
-				else
-				{
-					cout << "Optional integer element = NULL" << endl;
-				}
-				if (output->aNillableIntegerType != NULL)
-				{
-					cout << "Nillable integer element = " << *output->aNillableIntegerType << endl;
-				}
-				else
-				{
-					cout << "Nillable integer element = NULL" << endl;
-				}
-				cout << "SimpleComplexType->someData = " << output->SimpleComplexType->someData << endl;
-				cout << "Array of complex elements" << endl;
-				outputSize = 0;
-				UnqualifiedSimpleComplexType** outComplexArray = output->arrayOfSimpleComplexType->get(outputSize);
-				for (count = 0 ; count < outputSize ; count++ )
-				{
-					if (outComplexArray[count] != NULL)
-					{
-						cout << " element[" << count << "] = " << outComplexArray[count]->someData << endl;
-					}
-					else
-					{
-						cout << " element[" << count << "] = NULL" << endl;
-					}
-				}
-				delete output;
-			}
-
-			// form="qualified"
-			cout << "Use of form=\"qualified\" nested within a complex type" << endl;
-			{
-				// Prepare input parameters			
-				xsd__string stringElement = new char[7];
-				strcpy(stringElement, "Hello!");
-				xsd__integer integerElement = 123;
-				xsd__integer_Array * integerArrayElement = new xsd__integer_Array();
-				xsd__integer** arrayOfInteger = new xsd__integer*[arraySize];
-				for (count = 0 ; count < arraySize ; count++ )
-				{
-					arrayOfInteger[count] = new xsd__integer(count);
-				}
-				integerArrayElement->set(arrayOfInteger, arraySize);
-				xsd__integer * optionalInteger = new xsd__integer(234); // While optional, we can only test correct namespace handling if we have a value!
-				xsd__integer * nillableInteger = NULL;
-
-				QualifiedSimpleComplexType * complexType = new QualifiedSimpleComplexType();
-				complexType->setsomeData(345);
-
-				QualifiedSimpleComplexType_Array * arrayOfComplexType = new QualifiedSimpleComplexType_Array();
-				QualifiedSimpleComplexType** complexTypeArray = new QualifiedSimpleComplexType*[arraySize];
-				for (count = 0 ; count < arraySize ; count++ )
-				{
-					complexTypeArray[count] = new QualifiedSimpleComplexType();
-					complexTypeArray[count]->setsomeData(count);
-				}
-				arrayOfComplexType->set(complexTypeArray, arraySize);
-
-				ElementFormDefaultIsQualified input;
-				input.setaStringType(stringElement);
-				input.setanIntegerType(integerElement);
-				input.setanIntegerArray(integerArrayElement);
-				input.setanOptionalIntegerType(optionalInteger);
-				input.setaNillableIntegerType(nillableInteger);
-				input.setSimpleComplexType(complexType);
-				input.setarrayOfSimpleComplexType(arrayOfComplexType);
-
-				// Call method on web service
-				ElementFormDefaultIsQualified * output = ws.nestedElementFormDefaultIsQualified(&input);
-
-				// Clean up inputs
-				for (count = 0 ; count < arraySize ; count++ )
-				{
-					delete arrayOfInteger[count];
-				}
-				delete [] arrayOfInteger;
-				delete integerArrayElement;
-				for (count = 0 ; count < arraySize ; count++ )
-				{
-					delete complexTypeArray[count];
-				}
-				delete [] complexTypeArray;
-				delete arrayOfComplexType;
-
-				// Print output values
-				cout << "String element = " << output->aStringType << endl;
-				cout << "Integer element = " << output->anIntegerType << endl;
-				cout << "Array of integer elements" << endl;
-				outputSize = 0;
-				const xsd__integer** outArrayOfIntegers = output->anIntegerArray->get(outputSize);
-				for (count = 0 ; count < outputSize ; count++ )
-				{
-					if (outArrayOfIntegers[count] != NULL)
-					{
-						cout << " element[" << count << "] = " << *outArrayOfIntegers[count] << endl;
-					}
-					else
-					{
-						cout << " element[" << count << "] = NULL" << endl;
-					}
-				}
-				if (output->anOptionalIntegerType != NULL)
-				{
-					cout << "Optional integer element = " << *output->anOptionalIntegerType << endl;
-				}
-				else
-				{
-					cout << "Optional integer element = NULL" << endl;
-				}
-				if (output->aNillableIntegerType != NULL)
-				{
-					cout << "Nillable integer element = " << *output->aNillableIntegerType << endl;
-				}
-				else
-				{
-					cout << "Nillable integer element = NULL" << endl;
-				}
-				cout << "SimpleComplexType->someData = " << output->SimpleComplexType->someData << endl;
-				cout << "Array of complex elements" << endl;
-				outputSize = 0;
-				QualifiedSimpleComplexType** outComplexArray = output->arrayOfSimpleComplexType->get(outputSize);
-				for (count = 0 ; count < outputSize ; count++ )
-				{
-					if (outComplexArray[count] != NULL)
-					{
-						cout << " element[" << count << "] = " << outComplexArray[count]->someData << endl;
-					}
-					else
-					{
-						cout << " element[" << count << "] = NULL" << endl;
-					}
-				}
-				delete output;
-			}
+                        int arraySize = 2;
+                        int count = 0;
+                        int outputSize = 0;
+                        
+                        // form="unqualified"
+                        cout << "Use of form=\"unqualified\"" << endl;
+                        {
+                                // Prepare input parameters                     
+                                xsd__string stringElement = new char[7];
+                                strcpy(stringElement, "Hello!");
+                                xsd__integer integerElement = 123;
+                                xsd__integer_Array * integerArrayElement = new xsd__integer_Array();
+                                xsd__integer** arrayOfInteger = new xsd__integer*[arraySize];
+                                for (count = 0 ; count < arraySize ; count++ )
+                                {
+                                        arrayOfInteger[count] = new xsd__integer(count);
+                                }
+                                integerArrayElement->set(arrayOfInteger, arraySize);
+                                xsd__integer * optionalInteger = new xsd__integer(234); // While optional, we can only test correct namespace handling if we have a value!
+                                xsd__integer * nillableInteger = NULL;
+
+                                UnqualifiedSimpleComplexType * complexType = new UnqualifiedSimpleComplexType();
+                                complexType->setsomeData(345);
+
+                                UnqualifiedSimpleComplexType_Array * arrayOfComplexType = new UnqualifiedSimpleComplexType_Array();
+                                UnqualifiedSimpleComplexType** complexTypeArray = new UnqualifiedSimpleComplexType*[arraySize];
+                                for (count = 0 ; count < arraySize ; count++ )
+                                {
+                                        complexTypeArray[count] = new UnqualifiedSimpleComplexType();
+                                        complexTypeArray[count]->setsomeData(count);
+                                }
+                                arrayOfComplexType->set(complexTypeArray, arraySize);
+
+                                // Prepare output parameters
+                                xsd__string outStringElement = NULL;
+                                xsd__integer outIntegerElement;
+                                xsd__integer_Array * outIntegerArrayElement = NULL;
+                                xsd__integer * outOptionalIntegerElement = NULL;
+                                xsd__integer * outNillableIntegerElement = NULL;
+                                UnqualifiedSimpleComplexType * outComplexType = NULL;
+                                UnqualifiedSimpleComplexType_Array * outArrayOfComplexType = NULL;
+
+                                // Call method on web service
+                                ws.elementFormDefaultIsUnqualified(stringElement,
+                                        integerElement,
+                                        integerArrayElement,
+                                        optionalInteger,
+                                        nillableInteger,
+                                        complexType,
+                                        arrayOfComplexType,
+                                        &outStringElement,
+                                        &outIntegerElement,
+                                        &outIntegerArrayElement, 
+                                        &outOptionalIntegerElement, 
+                                        &outNillableIntegerElement, 
+                                        &outComplexType, 
+                                        &outArrayOfComplexType);
+
+                                // Clean up inputs
+                                delete [] stringElement;
+                                for (count = 0 ; count < arraySize ; count++ )
+                                {
+                                        delete arrayOfInteger[count];
+                                }
+                                delete [] arrayOfInteger;
+                                delete integerArrayElement;
+                                delete optionalInteger;
+                                delete complexType;
+                                for (count = 0 ; count < arraySize ; count++ )
+                                {
+                                        delete complexTypeArray[count];
+                                }
+                                delete [] complexTypeArray;
+                                delete arrayOfComplexType;
+                                
+
+                                // Print output values
+                                cout << "String element = " << outStringElement << endl;
+                                delete [] outStringElement;
+                                cout << "Integer element = " << outIntegerElement << endl;
+                                cout << "Array of integer elements" << endl;
+                                outputSize = 0;
+                                const xsd__integer** outArrayOfIntegers = outIntegerArrayElement->get(outputSize);
+                                for (count = 0 ; count < outputSize ; count++ )
+                                {
+                                        if (outArrayOfIntegers[count] != NULL)
+                                        {
+                                                cout << " element[" << count << "] = " << *outArrayOfIntegers[count] << endl;
+                                        }
+                                        else
+                                        {
+                                                cout << " element[" << count << "] = NULL" << endl;
+                                        }
+                                }
+                                delete outIntegerArrayElement;
+                                if (outOptionalIntegerElement != NULL)
+                                {
+                                        cout << "Optional integer element = " << *outOptionalIntegerElement << endl;
+                                        delete outOptionalIntegerElement;
+                                }
+                                else
+                                {
+                                        cout << "Optional integer element = NULL" << endl;
+                                }
+                                if (outNillableIntegerElement != NULL)
+                                {
+                                        cout << "Nillable integer element = " << *outNillableIntegerElement << endl;
+                                        delete outNillableIntegerElement;
+                                }
+                                else
+                                {
+                                        cout << "Nillable integer element = NULL" << endl;
+                                }
+                                cout << "SimpleComplexType->someData = " << outComplexType->someData << endl;
+                                delete outComplexType;
+                                cout << "Array of complex elements" << endl;
+                                outputSize = 0;
+                                UnqualifiedSimpleComplexType** outComplexArray = outArrayOfComplexType->get(outputSize);
+                                for (count = 0 ; count < outputSize ; count++ )
+                                {
+                                        if (outComplexArray[count] != NULL)
+                                        {
+                                                cout << " element[" << count << "] = " << outComplexArray[count]->someData << endl;
+                                        }
+                                        else
+                                        {
+                                                cout << " element[" << count << "] = NULL" << endl;
+                                        }
+                                }
+                                delete outArrayOfComplexType;
+                        }
+
+
+                        // form="qualified"
+                        cout << "Use of form=\"qualified\"" << endl;
+                        {
+                                // Prepare input parameters                     
+                                xsd__string stringElement = new char[7];
+                                strcpy(stringElement, "Hello!");
+                                xsd__integer integerElement = 123;
+                                xsd__integer_Array * integerArrayElement = new xsd__integer_Array();
+                                xsd__integer** arrayOfInteger = new xsd__integer*[arraySize];
+                                for (count = 0 ; count < arraySize ; count++ )
+                                {
+                                        arrayOfInteger[count] = new xsd__integer(count);
+                                }
+                                integerArrayElement->set(arrayOfInteger, arraySize);
+                                xsd__integer * optionalInteger = new xsd__integer(234); // While optional, we can only test correct namespace handling if we have a value!
+                                xsd__integer * nillableInteger = NULL;
+
+                                QualifiedSimpleComplexType * complexType = new QualifiedSimpleComplexType();
+                                complexType->setsomeData(345);
+
+                                QualifiedSimpleComplexType_Array * arrayOfComplexType = new QualifiedSimpleComplexType_Array();
+                                QualifiedSimpleComplexType** complexTypeArray = new QualifiedSimpleComplexType*[arraySize];
+                                for (count = 0 ; count < arraySize ; count++ )
+                                {
+                                        complexTypeArray[count] = new QualifiedSimpleComplexType();
+                                        complexTypeArray[count]->setsomeData(count);
+                                }
+                                arrayOfComplexType->set(complexTypeArray, arraySize);
+
+                                // Prepare output parameters
+                                xsd__string outStringElement = NULL;
+                                xsd__integer outIntegerElement;
+                                xsd__integer_Array * outIntegerArrayElement = NULL;
+                                xsd__integer * outOptionalIntegerElement = NULL;
+                                xsd__integer * outNillableIntegerElement = NULL;
+                                QualifiedSimpleComplexType * outComplexType = NULL;
+                                QualifiedSimpleComplexType_Array * outArrayOfComplexType = NULL;
+
+                                // Call method on web service
+                                ws.elementFormDefaultIsQualified(stringElement,
+                                        integerElement,
+                                        integerArrayElement,
+                                        optionalInteger,
+                                        nillableInteger,
+                                        complexType,
+                                        arrayOfComplexType,
+                                        &outStringElement,
+                                        &outIntegerElement,
+                                        &outIntegerArrayElement, 
+                                        &outOptionalIntegerElement, 
+                                        &outNillableIntegerElement, 
+                                        &outComplexType, 
+                                        &outArrayOfComplexType);
+
+                                // Clean up inputs
+                                delete [] stringElement;
+                                for (count = 0 ; count < arraySize ; count++ )
+                                {
+                                        delete arrayOfInteger[count];
+                                }
+                                delete [] arrayOfInteger;
+                                delete integerArrayElement;
+                                delete optionalInteger;
+                                delete complexType;
+                                for (count = 0 ; count < arraySize ; count++ )
+                                {
+                                        delete complexTypeArray[count];
+                                }
+                                delete [] complexTypeArray;
+                                delete arrayOfComplexType;
+
+                                // Print output values
+                                cout << "String element = " << outStringElement << endl;
+                                delete [] outStringElement;
+                                cout << "Integer element = " << outIntegerElement << endl;
+                                cout << "Array of integer elements" << endl;
+                                outputSize = 0;
+                                const xsd__integer** outArrayOfIntegers = outIntegerArrayElement->get(outputSize);
+                                for (count = 0 ; count < outputSize ; count++ )
+                                {
+                                        if (outArrayOfIntegers[count] != NULL)
+                                        {
+                                                cout << " element[" << count << "] = " << *outArrayOfIntegers[count] << endl;
+                                        }
+                                        else
+                                        {
+                                                cout << " element[" << count << "] = NULL" << endl;
+                                        }
+                                }
+                                delete outIntegerArrayElement;
+                                if (outOptionalIntegerElement != NULL)
+                                {
+                                        cout << "Optional integer element = " << *outOptionalIntegerElement << endl;
+                                        delete outOptionalIntegerElement;
+                                }
+                                else
+                                {
+                                        cout << "Optional integer element = NULL" << endl;
+                                }
+                                if (outNillableIntegerElement != NULL)
+                                {
+                                        cout << "Nillable integer element = " << *outNillableIntegerElement << endl;
+                                        delete outNillableIntegerElement;
+                                }
+                                else
+                                {
+                                        cout << "Nillable integer element = NULL" << endl;
+                                }
+                                cout << "SimpleComplexType->someData = " << outComplexType->someData << endl;
+                                delete outComplexType;
+                                cout << "Array of complex elements" << endl;
+                                outputSize = 0;
+                                QualifiedSimpleComplexType** outComplexArray = outArrayOfComplexType->get(outputSize);
+                                for (count = 0 ; count < outputSize ; count++ )
+                                {
+                                        if (outComplexArray[count] != NULL)
+                                        {
+                                                cout << " element[" << count << "] = " << outComplexArray[count]->someData << endl;
+                                        }
+                                        else
+                                        {
+                                                cout << " element[" << count << "] = NULL" << endl;
+                                        }
+                                }
+                                delete outArrayOfComplexType;
+                        }
+
+                        // Nested within a Complex Type
+                        // form="unqualified"
+                        cout << "Use of form=\"unqualified\" nested within a complex type" << endl;
+                        {
+                                // Prepare input parameters                     
+                                xsd__string stringElement = new char[7];
+                                strcpy(stringElement, "Hello!");
+                                xsd__integer integerElement = 123;
+                                xsd__integer_Array * integerArrayElement = new xsd__integer_Array();
+                                xsd__integer** arrayOfInteger = new xsd__integer*[arraySize];
+                                for (count = 0 ; count < arraySize ; count++ )
+                                {
+                                        arrayOfInteger[count] = new xsd__integer(count);
+                                }
+                                integerArrayElement->set(arrayOfInteger, arraySize);
+                                xsd__integer * optionalInteger = new xsd__integer(234); // While optional, we can only test correct namespace handling if we have a value!
+                                xsd__integer * nillableInteger = NULL;
+
+                                UnqualifiedSimpleComplexType * complexType = new UnqualifiedSimpleComplexType();
+                                complexType->setsomeData(345);
+
+                                UnqualifiedSimpleComplexType_Array * arrayOfComplexType = new UnqualifiedSimpleComplexType_Array();
+                                UnqualifiedSimpleComplexType** complexTypeArray = new UnqualifiedSimpleComplexType*[arraySize];
+                                for (count = 0 ; count < arraySize ; count++ )
+                                {
+                                        complexTypeArray[count] = new UnqualifiedSimpleComplexType();
+                                        complexTypeArray[count]->setsomeData(count);
+                                }
+                                arrayOfComplexType->set(complexTypeArray, arraySize);
+
+                                ElementFormDefaultIsUnqualified input;
+                                input.setaStringType(stringElement);
+                                input.setanIntegerType(integerElement);
+                                input.setanIntegerArray(integerArrayElement);
+                                input.setanOptionalIntegerType(optionalInteger);
+                                input.setaNillableIntegerType(nillableInteger);
+                                input.setSimpleComplexType(complexType);
+                                input.setarrayOfSimpleComplexType(arrayOfComplexType);
+
+                                // Call method on web service
+                                ElementFormDefaultIsUnqualified * output = ws.nestedElementFormDefaultIsUnqualified(&input);
+
+                                // Clean up inputs
+                                for (count = 0 ; count < arraySize ; count++ )
+                                {
+                                        delete arrayOfInteger[count];
+                                }
+                                delete [] arrayOfInteger;
+                                delete integerArrayElement;
+                                for (count = 0 ; count < arraySize ; count++ )
+                                {
+                                        delete complexTypeArray[count];
+                                }
+                                delete [] complexTypeArray;
+                                delete arrayOfComplexType;
+
+                                // Print output values
+                                cout << "String element = " << output->aStringType << endl;
+                                cout << "Integer element = " << output->anIntegerType << endl;
+                                cout << "Array of integer elements" << endl;
+                                outputSize = 0;
+                                const xsd__integer** outArrayOfIntegers = output->anIntegerArray->get(outputSize);
+                                for (count = 0 ; count < outputSize ; count++ )
+                                {
+                                        if (outArrayOfIntegers[count] != NULL)
+                                        {
+                                                cout << " element[" << count << "] = " << *outArrayOfIntegers[count] << endl;
+                                        }
+                                        else
+                                        {
+                                                cout << " element[" << count << "] = NULL" << endl;
+                                        }
+                                }
+                                if (output->anOptionalIntegerType != NULL)
+                                {
+                                        cout << "Optional integer element = " << *output->anOptionalIntegerType << endl;
+                                }
+                                else
+                                {
+                                        cout << "Optional integer element = NULL" << endl;
+                                }
+                                if (output->aNillableIntegerType != NULL)
+                                {
+                                        cout << "Nillable integer element = " << *output->aNillableIntegerType << endl;
+                                }
+                                else
+                                {
+                                        cout << "Nillable integer element = NULL" << endl;
+                                }
+                                cout << "SimpleComplexType->someData = " << output->SimpleComplexType->someData << endl;
+                                cout << "Array of complex elements" << endl;
+                                outputSize = 0;
+                                UnqualifiedSimpleComplexType** outComplexArray = output->arrayOfSimpleComplexType->get(outputSize);
+                                for (count = 0 ; count < outputSize ; count++ )
+                                {
+                                        if (outComplexArray[count] != NULL)
+                                        {
+                                                cout << " element[" << count << "] = " << outComplexArray[count]->someData << endl;
+                                        }
+                                        else
+                                        {
+                                                cout << " element[" << count << "] = NULL" << endl;
+                                        }
+                                }
+                                delete output;
+                        }
+
+                        // form="qualified"
+                        cout << "Use of form=\"qualified\" nested within a complex type" << endl;
+                        {
+                                // Prepare input parameters                     
+                                xsd__string stringElement = new char[7];
+                                strcpy(stringElement, "Hello!");
+                                xsd__integer integerElement = 123;
+                                xsd__integer_Array * integerArrayElement = new xsd__integer_Array();
+                                xsd__integer** arrayOfInteger = new xsd__integer*[arraySize];
+                                for (count = 0 ; count < arraySize ; count++ )
+                                {
+                                        arrayOfInteger[count] = new xsd__integer(count);
+                                }
+                                integerArrayElement->set(arrayOfInteger, arraySize);
+                                xsd__integer * optionalInteger = new xsd__integer(234); // While optional, we can only test correct namespace handling if we have a value!
+                                xsd__integer * nillableInteger = NULL;
+
+                                QualifiedSimpleComplexType * complexType = new QualifiedSimpleComplexType();
+                                complexType->setsomeData(345);
+
+                                QualifiedSimpleComplexType_Array * arrayOfComplexType = new QualifiedSimpleComplexType_Array();
+                                QualifiedSimpleComplexType** complexTypeArray = new QualifiedSimpleComplexType*[arraySize];
+                                for (count = 0 ; count < arraySize ; count++ )
+                                {
+                                        complexTypeArray[count] = new QualifiedSimpleComplexType();
+                                        complexTypeArray[count]->setsomeData(count);
+                                }
+                                arrayOfComplexType->set(complexTypeArray, arraySize);
+
+                                ElementFormDefaultIsQualified input;
+                                input.setaStringType(stringElement);
+                                input.setanIntegerType(integerElement);
+                                input.setanIntegerArray(integerArrayElement);
+                                input.setanOptionalIntegerType(optionalInteger);
+                                input.setaNillableIntegerType(nillableInteger);
+                                input.setSimpleComplexType(complexType);
+                                input.setarrayOfSimpleComplexType(arrayOfComplexType);
+
+                                // Call method on web service
+                                ElementFormDefaultIsQualified * output = ws.nestedElementFormDefaultIsQualified(&input);
+
+                                // Clean up inputs
+                                for (count = 0 ; count < arraySize ; count++ )
+                                {
+                                        delete arrayOfInteger[count];
+                                }
+                                delete [] arrayOfInteger;
+                                delete integerArrayElement;
+                                for (count = 0 ; count < arraySize ; count++ )
+                                {
+                                        delete complexTypeArray[count];
+                                }
+                                delete [] complexTypeArray;
+                                delete arrayOfComplexType;
+
+                                // Print output values
+                                cout << "String element = " << output->aStringType << endl;
+                                cout << "Integer element = " << output->anIntegerType << endl;
+                                cout << "Array of integer elements" << endl;
+                                outputSize = 0;
+                                const xsd__integer** outArrayOfIntegers = output->anIntegerArray->get(outputSize);
+                                for (count = 0 ; count < outputSize ; count++ )
+                                {
+                                        if (outArrayOfIntegers[count] != NULL)
+                                        {
+                                                cout << " element[" << count << "] = " << *outArrayOfIntegers[count] << endl;
+                                        }
+                                        else
+                                        {
+                                                cout << " element[" << count << "] = NULL" << endl;
+                                        }
+                                }
+                                if (output->anOptionalIntegerType != NULL)
+                                {
+                                        cout << "Optional integer element = " << *output->anOptionalIntegerType << endl;
+                                }
+                                else
+                                {
+                                        cout << "Optional integer element = NULL" << endl;
+                                }
+                                if (output->aNillableIntegerType != NULL)
+                                {
+                                        cout << "Nillable integer element = " << *output->aNillableIntegerType << endl;
+                                }
+                                else
+                                {
+                                        cout << "Nillable integer element = NULL" << endl;
+                                }
+                                cout << "SimpleComplexType->someData = " << output->SimpleComplexType->someData << endl;
+                                cout << "Array of complex elements" << endl;
+                                outputSize = 0;
+                                QualifiedSimpleComplexType** outComplexArray = output->arrayOfSimpleComplexType->get(outputSize);
+                                for (count = 0 ; count < outputSize ; count++ )
+                                {
+                                        if (outComplexArray[count] != NULL)
+                                        {
+                                                cout << " element[" << count << "] = " << outComplexArray[count]->someData << endl;
+                                        }
+                                        else
+                                        {
+                                                cout << " element[" << count << "] = NULL" << endl;
+                                        }
+                                }
+                                delete output;
+                        }
 
 
-			// All tests were successful
+                        // All tests were successful
             bSuccess = 1;
         }
         catch(AxisException& e)



Mime
View raw message