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:52:02 UTC

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

damitha     2004/07/06 22:52:02

  Modified:    c/tests/client/soapHeader/gen_src/rpc Tag: Release1-2-branch
                        InteropTestPortType.cpp InteropTestPortType.h
               c/tests/client/soapHeader/test1/rpc Tag: Release1-2-branch
                        Makefile.am
               c/tests/client/soapHeader/test2/rpc Tag: Release1-2-branch
                        Makefile Makefile.am
               c/tests/client/soapHeader/test3/rpc Tag: Release1-2-branch
                        Makefile.am
               c/tests/client/soapHeader/test4/rpc Tag: Release1-2-branch
                        Makefile.am
               c/tests/client/soapHeader/test6/rpc Tag: Release1-2-branch
                        Makefile.am
               c/tests/client/soapHeader/test8/rpc Tag: Release1-2-branch
                        Makefile.am
  Log:
  (null)
  
  Revision  Changes    Path
  No                   revision
  No                   revision
  1.2.2.1   +98 -168   ws-axis/c/tests/client/soapHeader/gen_src/rpc/InteropTestPortType.cpp
  
  Index: InteropTestPortType.cpp
  ===================================================================
  RCS file: /home/cvs/ws-axis/c/tests/client/soapHeader/gen_src/rpc/InteropTestPortType.cpp,v
  retrieving revision 1.2
  retrieving revision 1.2.2.1
  diff -u -r1.2 -r1.2.2.1
  --- InteropTestPortType.cpp	24 Jun 2004 10:26:15 -0000	1.2
  +++ InteropTestPortType.cpp	7 Jul 2004 05:52:01 -0000	1.2.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/soapHeader/gen_src/rpc/InteropTestPortType.h
  
  Index: InteropTestPortType.h
  ===================================================================
  RCS file: /home/cvs/ws-axis/c/tests/client/soapHeader/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	24 Jun 2004 07:45:02 -0000	1.1
  +++ InteropTestPortType.h	7 Jul 2004 05:52:01 -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/soapHeader/test1/rpc/Makefile.am
  
  Index: Makefile.am
  ===================================================================
  RCS file: /home/cvs/ws-axis/c/tests/client/soapHeader/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	24 Jun 2004 07:45:02 -0000	1.1
  +++ Makefile.am	7 Jul 2004 05:52:02 -0000	1.1.2.1
  @@ -1,7 +1,7 @@
   bin_PROGRAMS = soapHeaderTest1RPC
   SUBDIRS =
   AM_CPPFLAGS = $(CPPFLAGS)
  -soapHeaderTest1RPC_SOURCES = TestClient.cpp  ../../gen_src/rpc/InteropTestPortType.cpp ../../gen_src/rpc/SOAPStruct.cpp 
  +soapHeaderTest1RPC_SOURCES = TestClient.cpp  ../../gen_src/rpc/InteropTestPortType.cpp ../../gen_src/rpc/SOAPStruct.cpp ../../gen_src/rpc/AxisClientException.cpp
   
   soapHeaderTest1RPC_LDADD   =  $(LDFLAGS) -laxiscpp_client
   INCLUDES = -I$(AXISCPP_HOME)/include
  
  
  
  No                   revision
  No                   revision
  1.2.2.1   +25 -3     ws-axis/c/tests/client/soapHeader/test2/rpc/Makefile
  
  Index: Makefile
  ===================================================================
  RCS file: /home/cvs/ws-axis/c/tests/client/soapHeader/test2/rpc/Makefile,v
  retrieving revision 1.2
  retrieving revision 1.2.2.1
  diff -u -r1.2 -r1.2.2.1
  --- Makefile	25 Jun 2004 10:07:59 -0000	1.2
  +++ Makefile	7 Jul 2004 05:52:02 -0000	1.2.2.1
  @@ -87,7 +87,7 @@
   bin_PROGRAMS = soapHeaderTest2RPC
   SUBDIRS = 
   AM_CPPFLAGS = $(CPPFLAGS)
  -soapHeaderTest2RPC_SOURCES = TestClient.cpp  ../../gen_src/rpc/InteropTestPortType.cpp ../../gen_src/rpc/SOAPStruct.cpp 
  +soapHeaderTest2RPC_SOURCES = TestClient.cpp  ../../gen_src/rpc/InteropTestPortType.cpp ../../gen_src/rpc/SOAPStruct.cpp ../../gen_src/rpc/AxisClientException.cpp
   
   soapHeaderTest2RPC_LDADD = $(LDFLAGS) -laxiscpp_client
   INCLUDES = -I$(AXISCPP_HOME)/include
  @@ -99,7 +99,8 @@
   PROGRAMS = $(bin_PROGRAMS)
   
   am_soapHeaderTest2RPC_OBJECTS = TestClient.$(OBJEXT) \
  -	InteropTestPortType.$(OBJEXT) SOAPStruct.$(OBJEXT)
  +	InteropTestPortType.$(OBJEXT) SOAPStruct.$(OBJEXT) \
  +	AxisClientException.$(OBJEXT)
   soapHeaderTest2RPC_OBJECTS = $(am_soapHeaderTest2RPC_OBJECTS)
   soapHeaderTest2RPC_DEPENDENCIES =
   soapHeaderTest2RPC_LDFLAGS =
  @@ -111,7 +112,8 @@
   LIBS = 
   depcomp = $(SHELL) $(top_srcdir)/../depcomp
   am__depfiles_maybe = depfiles
  -DEP_FILES = ./$(DEPDIR)/InteropTestPortType.Po \
  +DEP_FILES = ./$(DEPDIR)/AxisClientException.Po \
  +	./$(DEPDIR)/InteropTestPortType.Po \
   	./$(DEPDIR)/SOAPStruct.Po ./$(DEPDIR)/TestClient.Po
   CXXCOMPILE = $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) \
   	$(AM_CPPFLAGS) $(CPPFLAGS) $(AM_CXXFLAGS) $(CXXFLAGS)
  @@ -172,6 +174,7 @@
   	done
   InteropTestPortType.$(OBJEXT): ../../gen_src/rpc/InteropTestPortType.cpp
   SOAPStruct.$(OBJEXT): ../../gen_src/rpc/SOAPStruct.cpp
  +AxisClientException.$(OBJEXT): ../../gen_src/rpc/AxisClientException.cpp
   soapHeaderTest2RPC$(EXEEXT): $(soapHeaderTest2RPC_OBJECTS) $(soapHeaderTest2RPC_DEPENDENCIES) 
   	@rm -f soapHeaderTest2RPC$(EXEEXT)
   	$(CXXLINK) $(soapHeaderTest2RPC_LDFLAGS) $(soapHeaderTest2RPC_OBJECTS) $(soapHeaderTest2RPC_LDADD) $(LIBS)
  @@ -182,6 +185,7 @@
   distclean-compile:
   	-rm -f *.tab.c
   
  +include ./$(DEPDIR)/AxisClientException.Po
   include ./$(DEPDIR)/InteropTestPortType.Po
   include ./$(DEPDIR)/SOAPStruct.Po
   include ./$(DEPDIR)/TestClient.Po
  @@ -242,6 +246,24 @@
   	depfile='$(DEPDIR)/SOAPStruct.Plo' tmpdepfile='$(DEPDIR)/SOAPStruct.TPlo' \
   	$(CXXDEPMODE) $(depcomp) \
   	$(LIBTOOL) --mode=compile $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(AM_CXXFLAGS) $(CXXFLAGS) -c -o SOAPStruct.lo `test -f '../../gen_src/rpc/SOAPStruct.cpp' || echo '$(srcdir)/'`../../gen_src/rpc/SOAPStruct.cpp
  +
  +AxisClientException.o: ../../gen_src/rpc/AxisClientException.cpp
  +	source='../../gen_src/rpc/AxisClientException.cpp' object='AxisClientException.o' libtool=no \
  +	depfile='$(DEPDIR)/AxisClientException.Po' tmpdepfile='$(DEPDIR)/AxisClientException.TPo' \
  +	$(CXXDEPMODE) $(depcomp) \
  +	$(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(AM_CXXFLAGS) $(CXXFLAGS) -c -o AxisClientException.o `test -f '../../gen_src/rpc/AxisClientException.cpp' || echo '$(srcdir)/'`../../gen_src/rpc/AxisClientException.cpp
  +
  +AxisClientException.obj: ../../gen_src/rpc/AxisClientException.cpp
  +	source='../../gen_src/rpc/AxisClientException.cpp' object='AxisClientException.obj' libtool=no \
  +	depfile='$(DEPDIR)/AxisClientException.Po' tmpdepfile='$(DEPDIR)/AxisClientException.TPo' \
  +	$(CXXDEPMODE) $(depcomp) \
  +	$(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(AM_CXXFLAGS) $(CXXFLAGS) -c -o AxisClientException.obj `cygpath -w ../../gen_src/rpc/AxisClientException.cpp`
  +
  +AxisClientException.lo: ../../gen_src/rpc/AxisClientException.cpp
  +	source='../../gen_src/rpc/AxisClientException.cpp' object='AxisClientException.lo' libtool=yes \
  +	depfile='$(DEPDIR)/AxisClientException.Plo' tmpdepfile='$(DEPDIR)/AxisClientException.TPlo' \
  +	$(CXXDEPMODE) $(depcomp) \
  +	$(LIBTOOL) --mode=compile $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(AM_CXXFLAGS) $(CXXFLAGS) -c -o AxisClientException.lo `test -f '../../gen_src/rpc/AxisClientException.cpp' || echo '$(srcdir)/'`../../gen_src/rpc/AxisClientException.cpp
   CXXDEPMODE = depmode=gcc3
   
   mostlyclean-libtool:
  
  
  
  1.1.2.1   +1 -1      ws-axis/c/tests/client/soapHeader/test2/rpc/Makefile.am
  
  Index: Makefile.am
  ===================================================================
  RCS file: /home/cvs/ws-axis/c/tests/client/soapHeader/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	25 Jun 2004 09:57:41 -0000	1.1
  +++ Makefile.am	7 Jul 2004 05:52:02 -0000	1.1.2.1
  @@ -1,7 +1,7 @@
   bin_PROGRAMS = soapHeaderTest2RPC
   SUBDIRS =
   AM_CPPFLAGS = $(CPPFLAGS)
  -soapHeaderTest2RPC_SOURCES = TestClient.cpp  ../../gen_src/rpc/InteropTestPortType.cpp ../../gen_src/rpc/SOAPStruct.cpp 
  +soapHeaderTest2RPC_SOURCES = TestClient.cpp  ../../gen_src/rpc/InteropTestPortType.cpp ../../gen_src/rpc/SOAPStruct.cpp ../../gen_src/rpc/AxisClientException.cpp
   
   soapHeaderTest2RPC_LDADD   =  $(LDFLAGS) -laxiscpp_client
   INCLUDES = -I$(AXISCPP_HOME)/include
  
  
  
  No                   revision
  No                   revision
  1.1.2.1   +1 -1      ws-axis/c/tests/client/soapHeader/test3/rpc/Makefile.am
  
  Index: Makefile.am
  ===================================================================
  RCS file: /home/cvs/ws-axis/c/tests/client/soapHeader/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	25 Jun 2004 04:25:30 -0000	1.1
  +++ Makefile.am	7 Jul 2004 05:52:02 -0000	1.1.2.1
  @@ -1,7 +1,7 @@
   bin_PROGRAMS = soapHeaderTest3RPC
   SUBDIRS =
   AM_CPPFLAGS = $(CPPFLAGS)
  -soapHeaderTest3RPC_SOURCES = TestClient.cpp  ../../gen_src/rpc/InteropTestPortType.cpp ../../gen_src/rpc/SOAPStruct.cpp 
  +soapHeaderTest3RPC_SOURCES = TestClient.cpp  ../../gen_src/rpc/InteropTestPortType.cpp ../../gen_src/rpc/SOAPStruct.cpp ../../gen_src/rpc/AxisClientException.cpp
   
   soapHeaderTest3RPC_LDADD   =  $(LDFLAGS) -laxiscpp_client
   INCLUDES = -I$(AXISCPP_HOME)/include
  
  
  
  No                   revision
  No                   revision
  1.1.2.1   +1 -1      ws-axis/c/tests/client/soapHeader/test4/rpc/Makefile.am
  
  Index: Makefile.am
  ===================================================================
  RCS file: /home/cvs/ws-axis/c/tests/client/soapHeader/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	24 Jun 2004 07:45:02 -0000	1.1
  +++ Makefile.am	7 Jul 2004 05:52:02 -0000	1.1.2.1
  @@ -1,7 +1,7 @@
   bin_PROGRAMS = soapHeaderTest4RPC
   SUBDIRS =
   AM_CPPFLAGS = $(CPPFLAGS)
  -soapHeaderTest4RPC_SOURCES = TestClient.cpp  ../../gen_src/rpc/InteropTestPortType.cpp ../../gen_src/rpc/SOAPStruct.cpp 
  +soapHeaderTest4RPC_SOURCES = TestClient.cpp  ../../gen_src/rpc/InteropTestPortType.cpp ../../gen_src/rpc/SOAPStruct.cpp ../../gen_src/rpc/AxisClientException.cpp
   
   soapHeaderTest4RPC_LDADD   =  $(LDFLAGS) -laxiscpp_client
   INCLUDES = -I$(AXISCPP_HOME)/include
  
  
  
  No                   revision
  No                   revision
  1.1.2.1   +1 -1      ws-axis/c/tests/client/soapHeader/test6/rpc/Makefile.am
  
  Index: Makefile.am
  ===================================================================
  RCS file: /home/cvs/ws-axis/c/tests/client/soapHeader/test6/rpc/Makefile.am,v
  retrieving revision 1.1
  retrieving revision 1.1.2.1
  diff -u -r1.1 -r1.1.2.1
  --- Makefile.am	24 Jun 2004 07:45:02 -0000	1.1
  +++ Makefile.am	7 Jul 2004 05:52:02 -0000	1.1.2.1
  @@ -1,7 +1,7 @@
   bin_PROGRAMS = soapHeaderTest6RPC
   SUBDIRS =
   AM_CPPFLAGS = $(CPPFLAGS)
  -soapHeaderTest6RPC_SOURCES = TestClient.cpp  ../../gen_src/rpc/InteropTestPortType.cpp ../../gen_src/rpc/SOAPStruct.cpp 
  +soapHeaderTest6RPC_SOURCES = TestClient.cpp  ../../gen_src/rpc/InteropTestPortType.cpp ../../gen_src/rpc/SOAPStruct.cpp ../../gen_src/rpc/AxisClientException.cpp
   
   soapHeaderTest6RPC_LDADD   =  $(LDFLAGS) -laxiscpp_client
   INCLUDES = -I$(AXISCPP_HOME)/include
  
  
  
  No                   revision
  No                   revision
  1.1.2.1   +1 -1      ws-axis/c/tests/client/soapHeader/test8/rpc/Makefile.am
  
  Index: Makefile.am
  ===================================================================
  RCS file: /home/cvs/ws-axis/c/tests/client/soapHeader/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	24 Jun 2004 07:45:03 -0000	1.1
  +++ Makefile.am	7 Jul 2004 05:52:02 -0000	1.1.2.1
  @@ -1,7 +1,7 @@
   bin_PROGRAMS = soapHeaderTest8RPC
   SUBDIRS =
   AM_CPPFLAGS = $(CPPFLAGS)
  -soapHeaderTest8RPC_SOURCES = TestClient.cpp  ../../gen_src/rpc/InteropTestPortType.cpp ../../gen_src/rpc/SOAPStruct.cpp 
  +soapHeaderTest8RPC_SOURCES = TestClient.cpp  ../../gen_src/rpc/InteropTestPortType.cpp ../../gen_src/rpc/SOAPStruct.cpp ../../gen_src/rpc/AxisClientException.cpp
   
   soapHeaderTest8RPC_LDADD   =  $(LDFLAGS) -laxiscpp_client
   INCLUDES = -I$(AXISCPP_HOME)/include