You are viewing a plain text version of this content. The canonical link for it is here.
Posted to axis-cvs@ws.apache.org by ja...@apache.org on 2005/11/14 07:17:42 UTC

svn commit: r344056 - /webservices/axis/trunk/c/tests/auto_build/testcases/dynamic/Combo_TTest/SimpleTypeArrayWS.cpp

Author: jamejose
Date: Sun Nov 13 22:17:25 2005
New Revision: 344056

URL: http://svn.apache.org/viewcvs?rev=344056&view=rev
Log:
Updated the testcase with new Array APIs

Modified:
    webservices/axis/trunk/c/tests/auto_build/testcases/dynamic/Combo_TTest/SimpleTypeArrayWS.cpp

Modified: webservices/axis/trunk/c/tests/auto_build/testcases/dynamic/Combo_TTest/SimpleTypeArrayWS.cpp
URL: http://svn.apache.org/viewcvs/webservices/axis/trunk/c/tests/auto_build/testcases/dynamic/Combo_TTest/SimpleTypeArrayWS.cpp?rev=344056&r1=344055&r2=344056&view=diff
==============================================================================
--- webservices/axis/trunk/c/tests/auto_build/testcases/dynamic/Combo_TTest/SimpleTypeArrayWS.cpp (original)
+++ webservices/axis/trunk/c/tests/auto_build/testcases/dynamic/Combo_TTest/SimpleTypeArrayWS.cpp Sun Nov 13 22:17:25 2005
@@ -1,17 +1,3 @@
-// Copyright 2003-2004 The Apache Software Foundation.
-// 
-// Licensed under the Apache License, Version 2.0 (the "License");
-// you may not use this file except in compliance with the License.
-// You may obtain a copy of the License at
-// 
-//        http://www.apache.org/licenses/LICENSE-2.0
-// 
-// Unless required by applicable law or agreed to in writing, software
-// distributed under the License is distributed on an "AS IS" BASIS,
-// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
-// See the License for the specific language governing permissions and
-// limitations under the License.
-
 /*
  * This file was auto-generated by the Axis C++ Web Service Generator (WSDL2Ws)
  * This file contains Client Stub implementation for remote web service.
@@ -20,6 +6,7 @@
 #include "SimpleTypeArrayWS.hpp"
 
 #include <axis/AxisWrapperAPI.hpp>
+#include <axis/Axis.hpp>
 
 extern int Axis_DeSerialize_Type(Type* param, IWrapperSoapDeSerializer* pDZ);
 extern void* Axis_Create_Type(Type *Obj, bool bArray = false, int nSize=0);
@@ -115,52 +102,15 @@
 				}
 
 				m_pCall->unInitialize();
+				delete pSoapFault;
 				throw ofe;
 		}
 		else
 		{
 			m_pCall->unInitialize();
+			delete pSoapFault;
 			throw;
 		}
 	}
 }
 
-/*Methods for supporting SecureChannel*/
-
-void SimpleTypeArrayWS::SetSecure( char * pszArguments, ...)
-{
-	int		iArgIndex = 0;
-	va_list	args;
-	char *	pszArg = NULL;
-	
-	va_start( args, pszArguments);
-	
-	if( (pszArg = pszArguments) != NULL)
-	{
-		do
-		{
-			if( pszArg == (char *) 1)
-			{
-				sArguments[iArgIndex] = "true";
-			}
-			else
-			{
-				sArguments[iArgIndex] = pszArg;
-			}
-
-		iArgIndex++;
-		} while( (pszArg = va_arg( args, char *)) != NULL && iArgIndex < 8);
-
-		if( iArgIndex == 6)
-		{
-			sArguments[iArgIndex] = "false";
-		}
-	}
-
-	va_end( args);
-}
-
-void SimpleTypeArrayWS::includeSecure()
-{
-	m_pCall->setTransportProperty( SECURE_PROPERTIES, (const char *) &sArguments);
-}