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 da...@apache.org on 2004/07/07 07:51:12 UTC

cvs commit: ws-axis/c/tests/client/httpHeader/test8/rpc Makefile.am

damitha     2004/07/06 22:51:12

  Modified:    c/tests/client/httpHeader/gen_src/rpc Tag: Release1-2-branch
                        InteropTestPortType.cpp InteropTestPortType.h
               c/tests/client/httpHeader/test1/rpc Tag: Release1-2-branch
                        Makefile.am
               c/tests/client/httpHeader/test2/rpc Tag: Release1-2-branch
                        Makefile.am
               c/tests/client/httpHeader/test3/rpc Tag: Release1-2-branch
                        Makefile.am
               c/tests/client/httpHeader/test4/rpc Tag: Release1-2-branch
                        Makefile.am
               c/tests/client/httpHeader/test5/rpc Tag: Release1-2-branch
                        Makefile.am
               c/tests/client/httpHeader/test7/rpc Tag: Release1-2-branch
                        Makefile.am
               c/tests/client/httpHeader/test8/rpc Tag: Release1-2-branch
                        Makefile.am
  Log:
  (null)
  
  Revision  Changes    Path
  No                   revision
  No                   revision
  1.1.2.1   +98 -168   ws-axis/c/tests/client/httpHeader/gen_src/rpc/InteropTestPortType.cpp
  
  Index: InteropTestPortType.cpp
  ===================================================================
  RCS file: /home/cvs/ws-axis/c/tests/client/httpHeader/gen_src/rpc/InteropTestPortType.cpp,v
  retrieving revision 1.1
  retrieving revision 1.1.2.1
  diff -u -r1.1 -r1.1.2.1
  --- InteropTestPortType.cpp	26 Jun 2004 14:08:18 -0000	1.1
  +++ InteropTestPortType.cpp	7 Jul 2004 05:51:11 -0000	1.1.2.1
  @@ -39,10 +39,6 @@
   xsd__string InteropTestPortType::echoString(xsd__string Value0)
   {
   	xsd__string Ret;
  -	char* cFaultcode;
  -	char* cFaultstring;
  -	char* cFaultactor;
  -	char* cFaultdetail;
   	try
   	{
   		if (AXIS_SUCCESS != m_pCall->initialize(CPP_RPC_PROVIDER, NORMAL_CHANNEL)) 
  @@ -62,20 +58,19 @@
   		m_pCall->unInitialize();
   		return Ret;
   	}
  -	catch(AxisGenException& e)
  +	catch(AxisException& e)
   	{
   		int iExceptionCode = e.getExceptionCode();
   		if(AXISC_NODE_VALUE_MISMATCH_EXCEPTION != iExceptionCode)
   		{
   			throw;
   		}
  -		else if (AXIS_SUCCESS == m_pCall->checkFault("Fault","http://localhost/axis/InteropBase" ))//Exception handling code goes here
  -		{
  -			cFaultcode = m_pCall->getElementAsString("faultcode", 0);
  -			cFaultstring = m_pCall->getElementAsString("faultstring", 0);
  -			cFaultactor = m_pCall->getElementAsString("faultactor", 0);
  -				  cFaultdetail = m_pCall->getElementAsString("faultdetail", 0);
  -				  throw AxisGenException(cFaultdetail);
  +                ISoapFault* pSoapFault = (ISoapFault*) m_pCall->checkFault("Fault",
  +		    "http://localhost/axis/InteropBase");
  +                if(pSoapFault)
  +                {
  +		    m_pCall->unInitialize();
  +                    throw AxisClientException(pSoapFault);
   		}
   		else throw;
   	}
  @@ -88,10 +83,6 @@
   xsd__string_Array InteropTestPortType::echoStringArray(xsd__string_Array Value0)
   {
   	xsd__string_Array RetArray = {NULL, 0};
  -	char* cFaultcode;
  -	char* cFaultstring;
  -	char* cFaultactor;
  -	char* cFaultdetail;
   	try
   	{
   		if (AXIS_SUCCESS != m_pCall->initialize(CPP_RPC_PROVIDER, NORMAL_CHANNEL)) 
  @@ -111,20 +102,19 @@
   		m_pCall->unInitialize();
   		return RetArray;
   	}
  -	catch(AxisGenException& e)
  +	catch(AxisException& e)
   	{
   		int iExceptionCode = e.getExceptionCode();
   		if(AXISC_NODE_VALUE_MISMATCH_EXCEPTION != iExceptionCode)
   		{
   			throw;
   		}
  -		else if (AXIS_SUCCESS == m_pCall->checkFault("Fault","http://localhost/axis/InteropBase" ))//Exception handling code goes here
  -		{
  -			cFaultcode = m_pCall->getElementAsString("faultcode", 0);
  -			cFaultstring = m_pCall->getElementAsString("faultstring", 0);
  -			cFaultactor = m_pCall->getElementAsString("faultactor", 0);
  -				  cFaultdetail = m_pCall->getElementAsString("faultdetail", 0);
  -				  throw AxisGenException(cFaultdetail);
  +                ISoapFault* pSoapFault = (ISoapFault*) m_pCall->checkFault("Fault",
  +		    "http://localhost/axis/InteropBase");
  +                if(pSoapFault)
  +                {
  +		    m_pCall->unInitialize();
  +                    throw AxisClientException(pSoapFault);
   		}
   		else throw;
   	}
  @@ -137,10 +127,6 @@
   int InteropTestPortType::echoInteger(int Value0)
   {
   	int Ret;
  -	char* cFaultcode;
  -	char* cFaultstring;
  -	char* cFaultactor;
  -	char* cFaultdetail;
   	try
   	{
   		if (AXIS_SUCCESS != m_pCall->initialize(CPP_RPC_PROVIDER, NORMAL_CHANNEL)) 
  @@ -160,20 +146,19 @@
   		m_pCall->unInitialize();
   		return Ret;
   	}
  -	catch(AxisGenException& e)
  +	catch(AxisException& e)
   	{
   		int iExceptionCode = e.getExceptionCode();
   		if(AXISC_NODE_VALUE_MISMATCH_EXCEPTION != iExceptionCode)
   		{
   			throw;
   		}
  -		else if (AXIS_SUCCESS == m_pCall->checkFault("Fault","http://localhost/axis/InteropBase" ))//Exception handling code goes here
  -		{
  -			cFaultcode = m_pCall->getElementAsString("faultcode", 0);
  -			cFaultstring = m_pCall->getElementAsString("faultstring", 0);
  -			cFaultactor = m_pCall->getElementAsString("faultactor", 0);
  -				  cFaultdetail = m_pCall->getElementAsString("faultdetail", 0);
  -				  throw AxisGenException(cFaultdetail);
  +                ISoapFault* pSoapFault = (ISoapFault*) m_pCall->checkFault("Fault",
  +		    "http://localhost/axis/InteropBase");
  +                if(pSoapFault)
  +                {
  +		    m_pCall->unInitialize();
  +                    throw AxisClientException(pSoapFault);
   		}
   		else throw;
   	}
  @@ -186,10 +171,6 @@
   xsd__int_Array InteropTestPortType::echoIntegerArray(xsd__int_Array Value0)
   {
   	xsd__int_Array RetArray = {NULL, 0};
  -	char* cFaultcode;
  -	char* cFaultstring;
  -	char* cFaultactor;
  -	char* cFaultdetail;
   	try
   	{
   		if (AXIS_SUCCESS != m_pCall->initialize(CPP_RPC_PROVIDER, NORMAL_CHANNEL)) 
  @@ -209,20 +190,19 @@
   		m_pCall->unInitialize();
   		return RetArray;
   	}
  -	catch(AxisGenException& e)
  +	catch(AxisException& e)
   	{
   		int iExceptionCode = e.getExceptionCode();
   		if(AXISC_NODE_VALUE_MISMATCH_EXCEPTION != iExceptionCode)
   		{
   			throw;
   		}
  -		else if (AXIS_SUCCESS == m_pCall->checkFault("Fault","http://localhost/axis/InteropBase" ))//Exception handling code goes here
  -		{
  -			cFaultcode = m_pCall->getElementAsString("faultcode", 0);
  -			cFaultstring = m_pCall->getElementAsString("faultstring", 0);
  -			cFaultactor = m_pCall->getElementAsString("faultactor", 0);
  -				  cFaultdetail = m_pCall->getElementAsString("faultdetail", 0);
  -				  throw AxisGenException(cFaultdetail);
  +                ISoapFault* pSoapFault = (ISoapFault*) m_pCall->checkFault("Fault",
  +		    "http://localhost/axis/InteropBase");
  +                if(pSoapFault)
  +                {
  +		    m_pCall->unInitialize();
  +                    throw AxisClientException(pSoapFault);
   		}
   		else throw;
   	}
  @@ -235,10 +215,6 @@
   float InteropTestPortType::echoFloat(float Value0)
   {
   	float Ret;
  -	char* cFaultcode;
  -	char* cFaultstring;
  -	char* cFaultactor;
  -	char* cFaultdetail;
   	try
   	{
   		if (AXIS_SUCCESS != m_pCall->initialize(CPP_RPC_PROVIDER, NORMAL_CHANNEL)) 
  @@ -258,20 +234,19 @@
   		m_pCall->unInitialize();
   		return Ret;
   	}
  -	catch(AxisGenException& e)
  +	catch(AxisException& e)
   	{
   		int iExceptionCode = e.getExceptionCode();
   		if(AXISC_NODE_VALUE_MISMATCH_EXCEPTION != iExceptionCode)
   		{
   			throw;
   		}
  -		else if (AXIS_SUCCESS == m_pCall->checkFault("Fault","http://localhost/axis/InteropBase" ))//Exception handling code goes here
  -		{
  -			cFaultcode = m_pCall->getElementAsString("faultcode", 0);
  -			cFaultstring = m_pCall->getElementAsString("faultstring", 0);
  -			cFaultactor = m_pCall->getElementAsString("faultactor", 0);
  -				  cFaultdetail = m_pCall->getElementAsString("faultdetail", 0);
  -				  throw AxisGenException(cFaultdetail);
  +                ISoapFault* pSoapFault = (ISoapFault*) m_pCall->checkFault("Fault",
  +		    "http://localhost/axis/InteropBase");
  +                if(pSoapFault)
  +                {
  +		    m_pCall->unInitialize();
  +                    throw AxisClientException(pSoapFault);
   		}
   		else throw;
   	}
  @@ -284,10 +259,6 @@
   xsd__float_Array InteropTestPortType::echoFloatArray(xsd__float_Array Value0)
   {
   	xsd__float_Array RetArray = {NULL, 0};
  -	char* cFaultcode;
  -	char* cFaultstring;
  -	char* cFaultactor;
  -	char* cFaultdetail;
   	try
   	{
   		if (AXIS_SUCCESS != m_pCall->initialize(CPP_RPC_PROVIDER, NORMAL_CHANNEL)) 
  @@ -307,20 +278,19 @@
   		m_pCall->unInitialize();
   		return RetArray;
   	}
  -	catch(AxisGenException& e)
  +	catch(AxisException& e)
   	{
   		int iExceptionCode = e.getExceptionCode();
   		if(AXISC_NODE_VALUE_MISMATCH_EXCEPTION != iExceptionCode)
   		{
   			throw;
   		}
  -		else if (AXIS_SUCCESS == m_pCall->checkFault("Fault","http://localhost/axis/InteropBase" ))//Exception handling code goes here
  -		{
  -			cFaultcode = m_pCall->getElementAsString("faultcode", 0);
  -			cFaultstring = m_pCall->getElementAsString("faultstring", 0);
  -			cFaultactor = m_pCall->getElementAsString("faultactor", 0);
  -				  cFaultdetail = m_pCall->getElementAsString("faultdetail", 0);
  -				  throw AxisGenException(cFaultdetail);
  +                ISoapFault* pSoapFault = (ISoapFault*) m_pCall->checkFault("Fault",
  +		    "http://localhost/axis/InteropBase");
  +                if(pSoapFault)
  +                {
  +		    m_pCall->unInitialize();
  +                    throw AxisClientException(pSoapFault);
   		}
   		else throw;
   	}
  @@ -333,10 +303,6 @@
   SOAPStruct* InteropTestPortType::echoStruct(SOAPStruct* Value0)
   {
   	SOAPStruct* pReturn = NULL;
  -	char* cFaultcode;
  -	char* cFaultstring;
  -	char* cFaultactor;
  -	char* cFaultdetail;
   	try
   	{
   		if (AXIS_SUCCESS != m_pCall->initialize(CPP_RPC_PROVIDER, NORMAL_CHANNEL)) 
  @@ -356,20 +322,19 @@
   		m_pCall->unInitialize();
   		return pReturn;
   	}
  -	catch(AxisGenException& e)
  +	catch(AxisException& e)
   	{
   		int iExceptionCode = e.getExceptionCode();
   		if(AXISC_NODE_VALUE_MISMATCH_EXCEPTION != iExceptionCode)
   		{
   			throw;
   		}
  -		else if (AXIS_SUCCESS == m_pCall->checkFault("Fault","http://localhost/axis/InteropBase" ))//Exception handling code goes here
  -		{
  -			cFaultcode = m_pCall->getElementAsString("faultcode", 0);
  -			cFaultstring = m_pCall->getElementAsString("faultstring", 0);
  -			cFaultactor = m_pCall->getElementAsString("faultactor", 0);
  -				  cFaultdetail = m_pCall->getElementAsString("faultdetail", 0);
  -				  throw AxisGenException(cFaultdetail);
  +                ISoapFault* pSoapFault = (ISoapFault*) m_pCall->checkFault("Fault",
  +		    "http://localhost/axis/InteropBase");
  +                if(pSoapFault)
  +                {
  +		    m_pCall->unInitialize();
  +                    throw AxisClientException(pSoapFault);
   		}
   		else throw;
   	}
  @@ -382,10 +347,6 @@
   SOAPStruct_Array InteropTestPortType::echoStructArray(SOAPStruct_Array Value0)
   {
   	SOAPStruct_Array RetArray = {NULL, 0};
  -	char* cFaultcode;
  -	char* cFaultstring;
  -	char* cFaultactor;
  -	char* cFaultdetail;
   	try
   	{
   		if (AXIS_SUCCESS != m_pCall->initialize(CPP_RPC_PROVIDER, NORMAL_CHANNEL)) 
  @@ -405,20 +366,19 @@
   		m_pCall->unInitialize();
   		return RetArray;
   	}
  -	catch(AxisGenException& e)
  +	catch(AxisException& e)
   	{
   		int iExceptionCode = e.getExceptionCode();
   		if(AXISC_NODE_VALUE_MISMATCH_EXCEPTION != iExceptionCode)
   		{
   			throw;
   		}
  -		else if (AXIS_SUCCESS == m_pCall->checkFault("Fault","http://localhost/axis/InteropBase" ))//Exception handling code goes here
  -		{
  -			cFaultcode = m_pCall->getElementAsString("faultcode", 0);
  -			cFaultstring = m_pCall->getElementAsString("faultstring", 0);
  -			cFaultactor = m_pCall->getElementAsString("faultactor", 0);
  -				  cFaultdetail = m_pCall->getElementAsString("faultdetail", 0);
  -				  throw AxisGenException(cFaultdetail);
  +                ISoapFault* pSoapFault = (ISoapFault*) m_pCall->checkFault("Fault",
  +		    "http://localhost/axis/InteropBase");
  +                if(pSoapFault)
  +                {
  +		    m_pCall->unInitialize();
  +                    throw AxisClientException(pSoapFault);
   		}
   		else throw;
   	}
  @@ -430,10 +390,6 @@
    */
   void InteropTestPortType::echoVoid()
   {
  -	char* cFaultcode;
  -	char* cFaultstring;
  -	char* cFaultactor;
  -	char* cFaultdetail;
   	try
   	{
   		if (AXIS_SUCCESS != m_pCall->initialize(CPP_RPC_PROVIDER, NORMAL_CHANNEL)) 
  @@ -451,20 +407,19 @@
   		}
   		m_pCall->unInitialize();
   	}
  -	catch(AxisGenException& e)
  +	catch(AxisException& e)
   	{
   		int iExceptionCode = e.getExceptionCode();
   		if(AXISC_NODE_VALUE_MISMATCH_EXCEPTION != iExceptionCode)
   		{
   			throw;
   		}
  -		else if (AXIS_SUCCESS == m_pCall->checkFault("Fault","http://localhost/axis/InteropBase" ))//Exception handling code goes here
  -		{
  -			cFaultcode = m_pCall->getElementAsString("faultcode", 0);
  -			cFaultstring = m_pCall->getElementAsString("faultstring", 0);
  -			cFaultactor = m_pCall->getElementAsString("faultactor", 0);
  -				  cFaultdetail = m_pCall->getElementAsString("faultdetail", 0);
  -				  throw AxisGenException(cFaultdetail);
  +                ISoapFault* pSoapFault = (ISoapFault*) m_pCall->checkFault("Fault",
  +		    "http://localhost/axis/InteropBase");
  +                if(pSoapFault)
  +                {
  +		    m_pCall->unInitialize();
  +                    throw AxisClientException(pSoapFault);
   		}
   		else throw;
   	}
  @@ -477,10 +432,6 @@
   xsd__base64Binary InteropTestPortType::echoBase64(xsd__base64Binary Value0)
   {
   	xsd__base64Binary Ret;
  -	char* cFaultcode;
  -	char* cFaultstring;
  -	char* cFaultactor;
  -	char* cFaultdetail;
   	try
   	{
   		if (AXIS_SUCCESS != m_pCall->initialize(CPP_RPC_PROVIDER, NORMAL_CHANNEL)) 
  @@ -500,20 +451,19 @@
   		m_pCall->unInitialize();
   		return Ret;
   	}
  -	catch(AxisGenException& e)
  +	catch(AxisException& e)
   	{
   		int iExceptionCode = e.getExceptionCode();
   		if(AXISC_NODE_VALUE_MISMATCH_EXCEPTION != iExceptionCode)
   		{
   			throw;
   		}
  -		else if (AXIS_SUCCESS == m_pCall->checkFault("Fault","http://localhost/axis/InteropBase" ))//Exception handling code goes here
  -		{
  -			cFaultcode = m_pCall->getElementAsString("faultcode", 0);
  -			cFaultstring = m_pCall->getElementAsString("faultstring", 0);
  -			cFaultactor = m_pCall->getElementAsString("faultactor", 0);
  -				  cFaultdetail = m_pCall->getElementAsString("faultdetail", 0);
  -				  throw AxisGenException(cFaultdetail);
  +                ISoapFault* pSoapFault = (ISoapFault*) m_pCall->checkFault("Fault",
  +		    "http://localhost/axis/InteropBase");
  +                if(pSoapFault)
  +                {
  +		    m_pCall->unInitialize();
  +                    throw AxisClientException(pSoapFault);
   		}
   		else throw;
   	}
  @@ -526,10 +476,6 @@
   xsd__dateTime InteropTestPortType::echoDate(xsd__dateTime Value0)
   {
   	xsd__dateTime Ret;
  -	char* cFaultcode;
  -	char* cFaultstring;
  -	char* cFaultactor;
  -	char* cFaultdetail;
   	try
   	{
   		if (AXIS_SUCCESS != m_pCall->initialize(CPP_RPC_PROVIDER, NORMAL_CHANNEL)) 
  @@ -549,20 +495,19 @@
   		m_pCall->unInitialize();
   		return Ret;
   	}
  -	catch(AxisGenException& e)
  +	catch(AxisException& e)
   	{
   		int iExceptionCode = e.getExceptionCode();
   		if(AXISC_NODE_VALUE_MISMATCH_EXCEPTION != iExceptionCode)
   		{
   			throw;
   		}
  -		else if (AXIS_SUCCESS == m_pCall->checkFault("Fault","http://localhost/axis/InteropBase" ))//Exception handling code goes here
  -		{
  -			cFaultcode = m_pCall->getElementAsString("faultcode", 0);
  -			cFaultstring = m_pCall->getElementAsString("faultstring", 0);
  -			cFaultactor = m_pCall->getElementAsString("faultactor", 0);
  -				  cFaultdetail = m_pCall->getElementAsString("faultdetail", 0);
  -				  throw AxisGenException(cFaultdetail);
  +                ISoapFault* pSoapFault = (ISoapFault*) m_pCall->checkFault("Fault",
  +		    "http://localhost/axis/InteropBase");
  +                if(pSoapFault)
  +                {
  +		    m_pCall->unInitialize();
  +                    throw AxisClientException(pSoapFault);
   		}
   		else throw;
   	}
  @@ -575,10 +520,6 @@
   xsd__hexBinary InteropTestPortType::echoHexBinary(xsd__hexBinary Value0)
   {
   	xsd__hexBinary Ret;
  -	char* cFaultcode;
  -	char* cFaultstring;
  -	char* cFaultactor;
  -	char* cFaultdetail;
   	try
   	{
   		if (AXIS_SUCCESS != m_pCall->initialize(CPP_RPC_PROVIDER, NORMAL_CHANNEL)) 
  @@ -598,20 +539,19 @@
   		m_pCall->unInitialize();
   		return Ret;
   	}
  -	catch(AxisGenException& e)
  +	catch(AxisException& e)
   	{
   		int iExceptionCode = e.getExceptionCode();
   		if(AXISC_NODE_VALUE_MISMATCH_EXCEPTION != iExceptionCode)
   		{
   			throw;
   		}
  -		else if (AXIS_SUCCESS == m_pCall->checkFault("Fault","http://localhost/axis/InteropBase" ))//Exception handling code goes here
  -		{
  -			cFaultcode = m_pCall->getElementAsString("faultcode", 0);
  -			cFaultstring = m_pCall->getElementAsString("faultstring", 0);
  -			cFaultactor = m_pCall->getElementAsString("faultactor", 0);
  -				  cFaultdetail = m_pCall->getElementAsString("faultdetail", 0);
  -				  throw AxisGenException(cFaultdetail);
  +                ISoapFault* pSoapFault = (ISoapFault*) m_pCall->checkFault("Fault",
  +		    "http://localhost/axis/InteropBase");
  +                if(pSoapFault)
  +                {
  +		    m_pCall->unInitialize();
  +                    throw AxisClientException(pSoapFault);
   		}
   		else throw;
   	}
  @@ -624,10 +564,6 @@
   xsd__decimal InteropTestPortType::echoDecimal(xsd__decimal Value0)
   {
   	xsd__decimal Ret;
  -	char* cFaultcode;
  -	char* cFaultstring;
  -	char* cFaultactor;
  -	char* cFaultdetail;
   	try
   	{
   		if (AXIS_SUCCESS != m_pCall->initialize(CPP_RPC_PROVIDER, NORMAL_CHANNEL)) 
  @@ -647,20 +583,19 @@
   		m_pCall->unInitialize();
   		return Ret;
   	}
  -	catch(AxisGenException& e)
  +	catch(AxisException& e)
   	{
   		int iExceptionCode = e.getExceptionCode();
   		if(AXISC_NODE_VALUE_MISMATCH_EXCEPTION != iExceptionCode)
   		{
   			throw;
   		}
  -		else if (AXIS_SUCCESS == m_pCall->checkFault("Fault","http://localhost/axis/InteropBase" ))//Exception handling code goes here
  -		{
  -			cFaultcode = m_pCall->getElementAsString("faultcode", 0);
  -			cFaultstring = m_pCall->getElementAsString("faultstring", 0);
  -			cFaultactor = m_pCall->getElementAsString("faultactor", 0);
  -				  cFaultdetail = m_pCall->getElementAsString("faultdetail", 0);
  -				  throw AxisGenException(cFaultdetail);
  +                ISoapFault* pSoapFault = (ISoapFault*) m_pCall->checkFault("Fault",
  +		    "http://localhost/axis/InteropBase");
  +                if(pSoapFault)
  +                {
  +		    m_pCall->unInitialize();
  +                    throw AxisClientException(pSoapFault);
   		}
   		else throw;
   	}
  @@ -673,10 +608,6 @@
   xsd__boolean InteropTestPortType::echoBoolean(xsd__boolean Value0)
   {
   	xsd__boolean Ret;
  -	char* cFaultcode;
  -	char* cFaultstring;
  -	char* cFaultactor;
  -	char* cFaultdetail;
   	try
   	{
   		if (AXIS_SUCCESS != m_pCall->initialize(CPP_RPC_PROVIDER, NORMAL_CHANNEL)) 
  @@ -696,20 +627,19 @@
   		m_pCall->unInitialize();
   		return Ret;
   	}
  -	catch(AxisGenException& e)
  +	catch(AxisException& e)
   	{
   		int iExceptionCode = e.getExceptionCode();
   		if(AXISC_NODE_VALUE_MISMATCH_EXCEPTION != iExceptionCode)
   		{
   			throw;
   		}
  -		else if (AXIS_SUCCESS == m_pCall->checkFault("Fault","http://localhost/axis/InteropBase" ))//Exception handling code goes here
  -		{
  -			cFaultcode = m_pCall->getElementAsString("faultcode", 0);
  -			cFaultstring = m_pCall->getElementAsString("faultstring", 0);
  -			cFaultactor = m_pCall->getElementAsString("faultactor", 0);
  -				  cFaultdetail = m_pCall->getElementAsString("faultdetail", 0);
  -				  throw AxisGenException(cFaultdetail);
  +                ISoapFault* pSoapFault = (ISoapFault*) m_pCall->checkFault("Fault",
  +		    "http://localhost/axis/InteropBase");
  +                if(pSoapFault)
  +                {
  +		    m_pCall->unInitialize();
  +                    throw AxisClientException(pSoapFault);
   		}
   		else throw;
   	}
  
  
  
  1.1.2.1   +2 -14     ws-axis/c/tests/client/httpHeader/gen_src/rpc/InteropTestPortType.h
  
  Index: InteropTestPortType.h
  ===================================================================
  RCS file: /home/cvs/ws-axis/c/tests/client/httpHeader/gen_src/rpc/InteropTestPortType.h,v
  retrieving revision 1.1
  retrieving revision 1.1.2.1
  diff -u -r1.1 -r1.1.2.1
  --- InteropTestPortType.h	26 Jun 2004 14:08:18 -0000	1.1
  +++ InteropTestPortType.h	7 Jul 2004 05:51:11 -0000	1.1.2.1
  @@ -10,20 +10,8 @@
   /*include Exception header files here*/
   #include "SOAPStruct_Array.h"
   #include "SOAPStruct.h"
  -
  -
  -
  -
  -
  -
  -
  -
  -
  -
  -
  -
  -
  -
  +#include <axis/ISoapFault.h>
  +#include "AxisClientException.h"
   
   class InteropTestPortType :public Stub
   {
  
  
  
  No                   revision
  No                   revision
  1.1.2.1   +1 -1      ws-axis/c/tests/client/httpHeader/test1/rpc/Makefile.am
  
  Index: Makefile.am
  ===================================================================
  RCS file: /home/cvs/ws-axis/c/tests/client/httpHeader/test1/rpc/Makefile.am,v
  retrieving revision 1.1
  retrieving revision 1.1.2.1
  diff -u -r1.1 -r1.1.2.1
  --- Makefile.am	26 Jun 2004 14:08:18 -0000	1.1
  +++ Makefile.am	7 Jul 2004 05:51:11 -0000	1.1.2.1
  @@ -1,7 +1,7 @@
   bin_PROGRAMS = httpHeaderTest1RPC
   SUBDIRS =
   AM_CPPFLAGS = $(CPPFLAGS)
  -httpHeaderTest1RPC_SOURCES = TestClient.cpp  ../../gen_src/rpc/InteropTestPortType.cpp ../../gen_src/rpc/SOAPStruct.cpp 
  +httpHeaderTest1RPC_SOURCES = TestClient.cpp  ../../gen_src/rpc/InteropTestPortType.cpp ../../gen_src/rpc/SOAPStruct.cpp ../../gen_src/rpc/AxisClientException.cpp
   
   httpHeaderTest1RPC_LDADD   =  $(LDFLAGS) -laxiscpp_client
   INCLUDES = -I$(AXISCPP_HOME)/include
  
  
  
  No                   revision
  No                   revision
  1.1.2.1   +1 -1      ws-axis/c/tests/client/httpHeader/test2/rpc/Makefile.am
  
  Index: Makefile.am
  ===================================================================
  RCS file: /home/cvs/ws-axis/c/tests/client/httpHeader/test2/rpc/Makefile.am,v
  retrieving revision 1.1
  retrieving revision 1.1.2.1
  diff -u -r1.1 -r1.1.2.1
  --- Makefile.am	26 Jun 2004 14:08:18 -0000	1.1
  +++ Makefile.am	7 Jul 2004 05:51:11 -0000	1.1.2.1
  @@ -1,7 +1,7 @@
   bin_PROGRAMS = httpHeaderTest2RPC
   SUBDIRS =
   AM_CPPFLAGS = $(CPPFLAGS)
  -httpHeaderTest2RPC_SOURCES = TestClient.cpp  ../../gen_src/rpc/InteropTestPortType.cpp ../../gen_src/rpc/SOAPStruct.cpp 
  +httpHeaderTest2RPC_SOURCES = TestClient.cpp  ../../gen_src/rpc/InteropTestPortType.cpp ../../gen_src/rpc/SOAPStruct.cpp ../../gen_src/rpc/AxisClientException.cpp
   
   httpHeaderTest2RPC_LDADD   =  $(LDFLAGS) -laxiscpp_client
   INCLUDES = -I$(AXISCPP_HOME)/include
  
  
  
  No                   revision
  No                   revision
  1.1.2.1   +1 -1      ws-axis/c/tests/client/httpHeader/test3/rpc/Makefile.am
  
  Index: Makefile.am
  ===================================================================
  RCS file: /home/cvs/ws-axis/c/tests/client/httpHeader/test3/rpc/Makefile.am,v
  retrieving revision 1.1
  retrieving revision 1.1.2.1
  diff -u -r1.1 -r1.1.2.1
  --- Makefile.am	26 Jun 2004 14:08:18 -0000	1.1
  +++ Makefile.am	7 Jul 2004 05:51:12 -0000	1.1.2.1
  @@ -1,7 +1,7 @@
   bin_PROGRAMS = httpHeaderTest3RPC
   SUBDIRS =
   AM_CPPFLAGS = $(CPPFLAGS)
  -httpHeaderTest3RPC_SOURCES = TestClient.cpp  ../../gen_src/rpc/InteropTestPortType.cpp ../../gen_src/rpc/SOAPStruct.cpp 
  +httpHeaderTest3RPC_SOURCES = TestClient.cpp  ../../gen_src/rpc/InteropTestPortType.cpp ../../gen_src/rpc/SOAPStruct.cpp ../../gen_src/rpc/AxisClientException.cpp
   
   httpHeaderTest3RPC_LDADD   =  $(LDFLAGS) -laxiscpp_client
   INCLUDES = -I$(AXISCPP_HOME)/include
  
  
  
  No                   revision
  No                   revision
  1.1.2.1   +1 -1      ws-axis/c/tests/client/httpHeader/test4/rpc/Makefile.am
  
  Index: Makefile.am
  ===================================================================
  RCS file: /home/cvs/ws-axis/c/tests/client/httpHeader/test4/rpc/Makefile.am,v
  retrieving revision 1.1
  retrieving revision 1.1.2.1
  diff -u -r1.1 -r1.1.2.1
  --- Makefile.am	28 Jun 2004 05:55:55 -0000	1.1
  +++ Makefile.am	7 Jul 2004 05:51:12 -0000	1.1.2.1
  @@ -1,7 +1,7 @@
   bin_PROGRAMS = httpHeaderTest4RPC
   SUBDIRS =
   AM_CPPFLAGS = $(CPPFLAGS)
  -httpHeaderTest4RPC_SOURCES = TestClient.cpp  ../../gen_src/rpc/InteropTestPortType.cpp ../../gen_src/rpc/SOAPStruct.cpp 
  +httpHeaderTest4RPC_SOURCES = TestClient.cpp  ../../gen_src/rpc/InteropTestPortType.cpp ../../gen_src/rpc/SOAPStruct.cpp ../../gen_src/rpc/AxisClientException.cpp
   
   httpHeaderTest4RPC_LDADD   =  $(LDFLAGS) -laxiscpp_client
   INCLUDES = -I$(AXISCPP_HOME)/include
  
  
  
  No                   revision
  No                   revision
  1.1.2.1   +1 -1      ws-axis/c/tests/client/httpHeader/test5/rpc/Makefile.am
  
  Index: Makefile.am
  ===================================================================
  RCS file: /home/cvs/ws-axis/c/tests/client/httpHeader/test5/rpc/Makefile.am,v
  retrieving revision 1.1
  retrieving revision 1.1.2.1
  diff -u -r1.1 -r1.1.2.1
  --- Makefile.am	28 Jun 2004 05:55:55 -0000	1.1
  +++ Makefile.am	7 Jul 2004 05:51:12 -0000	1.1.2.1
  @@ -1,7 +1,7 @@
   bin_PROGRAMS = httpHeaderTest5RPC
   SUBDIRS =
   AM_CPPFLAGS = $(CPPFLAGS)
  -httpHeaderTest5RPC_SOURCES = TestClient.cpp  ../../gen_src/rpc/InteropTestPortType.cpp ../../gen_src/rpc/SOAPStruct.cpp 
  +httpHeaderTest5RPC_SOURCES = TestClient.cpp  ../../gen_src/rpc/InteropTestPortType.cpp ../../gen_src/rpc/SOAPStruct.cpp ../../gen_src/rpc/AxisClientException.cpp
   
   httpHeaderTest5RPC_LDADD   =  $(LDFLAGS) -laxiscpp_client
   INCLUDES = -I$(AXISCPP_HOME)/include
  
  
  
  No                   revision
  No                   revision
  1.1.2.1   +1 -1      ws-axis/c/tests/client/httpHeader/test7/rpc/Makefile.am
  
  Index: Makefile.am
  ===================================================================
  RCS file: /home/cvs/ws-axis/c/tests/client/httpHeader/test7/rpc/Makefile.am,v
  retrieving revision 1.1
  retrieving revision 1.1.2.1
  diff -u -r1.1 -r1.1.2.1
  --- Makefile.am	28 Jun 2004 05:55:55 -0000	1.1
  +++ Makefile.am	7 Jul 2004 05:51:12 -0000	1.1.2.1
  @@ -1,7 +1,7 @@
   bin_PROGRAMS = httpHeaderTest7RPC
   SUBDIRS =
   AM_CPPFLAGS = $(CPPFLAGS)
  -httpHeaderTest7RPC_SOURCES = TestClient.cpp  ../../gen_src/rpc/InteropTestPortType.cpp ../../gen_src/rpc/SOAPStruct.cpp 
  +httpHeaderTest7RPC_SOURCES = TestClient.cpp  ../../gen_src/rpc/InteropTestPortType.cpp ../../gen_src/rpc/SOAPStruct.cpp ../../gen_src/rpc/AxisClientException.cpp
   
   httpHeaderTest7RPC_LDADD   =  $(LDFLAGS) -laxiscpp_client
   INCLUDES = -I$(AXISCPP_HOME)/include
  
  
  
  No                   revision
  No                   revision
  1.1.2.1   +1 -1      ws-axis/c/tests/client/httpHeader/test8/rpc/Makefile.am
  
  Index: Makefile.am
  ===================================================================
  RCS file: /home/cvs/ws-axis/c/tests/client/httpHeader/test8/rpc/Makefile.am,v
  retrieving revision 1.1
  retrieving revision 1.1.2.1
  diff -u -r1.1 -r1.1.2.1
  --- Makefile.am	28 Jun 2004 05:55:55 -0000	1.1
  +++ Makefile.am	7 Jul 2004 05:51:12 -0000	1.1.2.1
  @@ -1,7 +1,7 @@
   bin_PROGRAMS = httpHeaderTest8RPC
   SUBDIRS =
   AM_CPPFLAGS = $(CPPFLAGS)
  -httpHeaderTest8RPC_SOURCES = TestClient.cpp  ../../gen_src/rpc/InteropTestPortType.cpp ../../gen_src/rpc/SOAPStruct.cpp 
  +httpHeaderTest8RPC_SOURCES = TestClient.cpp  ../../gen_src/rpc/InteropTestPortType.cpp ../../gen_src/rpc/SOAPStruct.cpp ../../gen_src/rpc/AxisClientException.cpp
   
   httpHeaderTest8RPC_LDADD   =  $(LDFLAGS) -laxiscpp_client
   INCLUDES = -I$(AXISCPP_HOME)/include