You are viewing a plain text version of this content. The canonical link for it is here.
Posted to c-user@axis.apache.org by ad...@bt.com on 2004/09/21 09:49:51 UTC

RE: Axis C++ 1.3 Beta is released - SOAP:Fault issue

Did anyone read this query?

Regards,

Adrian

-----Original Message-----
From: adrian.p.smith@bt.com [mailto:adrian.p.smith@bt.com]
Sent: 16 September 2004 15:25
To: axis-c-user@ws.apache.org
Subject: RE: Axis C++ 1.3 Beta is released


Many thanks guys. That is moving me in the right direction.

I have another question......

If my (non-Axis) service returns a SOAP:Fault (not WSDL defined), what client code to I need to access the <faultcode> etc.?

I seem to catch an AxisException and then look at the ExceptionCode, but then what?....

Regards,
-- 
Adrian Smith 
 BT Group



-----Original Message-----
From: axis cpp [mailto:axiscppteam@yahoo.com]
Sent: 16 September 2004 11:42
To: axis-c-dev@ws.apache.org
Subject: Axis C++ 1.3 Beta is released


Hi All,
The Apache Axis C++ team would like to announce the
Beta release of Axis c++ 1.3.
The binary and source distributions can be downloaded
from
http://ws.apache.org/axis/cpp/download.html
                                                      
                                                      
               
The Axis C++ 1.3 Beta release contains several bugfixes including ones in the jira issue data base from Axis C++ 1.3 Alpha.                                                      
               


Also Axis C++ 1.3 Beta contains the following features, over from Axis C++ 1.2.                                       

  Libwww client transport support
  Improvements to wsdl2ws tool
   -Synchronizing the wsdl2ws tool with the latest
Axis Java
   -Support for non-wrapped style code generation for
doclit type
  Namespace support
  Simpler build and deploying process in Linux
  Clear seperation of API and non API header files


Thanks,               
Axis C++ team.



Do you Yahoo!?
New and Improved Yahoo! Mail - 100MB free storage!

RE: Axis C++ 1.3 Beta is released - SOAP:Fault issue

Posted by Samisa Abeysinghe <sa...@yahoo.com>.
At the moment all that you can do is that, once you catch an exception, to access the message
related to the exception using 'what()' call or 'const string getMessage(int iExceptionCode)'
call.

This may not be that useful. There is an API defined in include/axis/ISoapFault.h to deal with
SOAP fault codes, dault actors etc. However, unfortunately, the generated stub code hides this
from the user and throws a high level exception. Hence, as I understand, SOAP specific fault
details are not available to the end user.

ISoapFault* pSoapFault = (ISoapFault*) m_pCall->checkFault("Fault","http://localhost/axis/base" );
if(pSoapFault)
{
    m_pCall->unInitialize();
    throw AxisClientException(pSoapFault);
}

And 
void AxisClientException::processException (ISoapFault* pFault)
{
        /*User can do something like deserializing the struct into a string*/
}

You may be able to manyally edit the generated code and try to access this information.


Regards,
Samisa...

--- adrian.p.smith@bt.com wrote:

> Did anyone read this query?
> 
> Regards,
> 
> Adrian
> 
> -----Original Message-----
> From: adrian.p.smith@bt.com [mailto:adrian.p.smith@bt.com]
> Sent: 16 September 2004 15:25
> To: axis-c-user@ws.apache.org
> Subject: RE: Axis C++ 1.3 Beta is released
> 
> 
> Many thanks guys. That is moving me in the right direction.
> 
> I have another question......
> 
> If my (non-Axis) service returns a SOAP:Fault (not WSDL defined), what client code to I need to
> access the <faultcode> etc.?
> 
> I seem to catch an AxisException and then look at the ExceptionCode, but then what?....
> 
> Regards,
> -- 
> Adrian Smith 
>  BT Group
> 
> 
> 
> -----Original Message-----
> From: axis cpp [mailto:axiscppteam@yahoo.com]
> Sent: 16 September 2004 11:42
> To: axis-c-dev@ws.apache.org
> Subject: Axis C++ 1.3 Beta is released
> 
> 
> Hi All,
> The Apache Axis C++ team would like to announce the
> Beta release of Axis c++ 1.3.
> The binary and source distributions can be downloaded
> from
> http://ws.apache.org/axis/cpp/download.html
>                                                       
>                                                       
>                
> The Axis C++ 1.3 Beta release contains several bugfixes including ones in the jira issue data
> base from Axis C++ 1.3 Alpha.                                                      
>                
> 
> 
> Also Axis C++ 1.3 Beta contains the following features, over from Axis C++ 1.2.                 
>                      
> 
>   Libwww client transport support
>   Improvements to wsdl2ws tool
>    -Synchronizing the wsdl2ws tool with the latest
> Axis Java
>    -Support for non-wrapped style code generation for
> doclit type
>   Namespace support
>   Simpler build and deploying process in Linux
>   Clear seperation of API and non API header files
> 
> 
> Thanks,               
> Axis C++ team.
> 
> 
> 
> Do you Yahoo!?
> New and Improved Yahoo! Mail - 100MB free storage!
> 



		
_______________________________
Do you Yahoo!?
Declare Yourself - Register online to vote today!
http://vote.yahoo.com