HydraExpress distinguishes between general exceptions and SOAP faults:
Exceptions are signaled by throwing a rwsf::Exception or one of its derived classes, and include all non-SOAP exceptions, including XML parsing errors.
Faults are indicated by throwing either an instance of the generic rwsf::SoapFaultException deriving fromrwsf::SoapFault, or an instance of a specially-generated class if the fault was defined in the WSDL. Some faults are returned in SOAP messages.
In the WSDL-generated client and server sample implementations, HydraExpress catches SOAP faults in the invoke_<methodName>() service operation methods, whether the faults are generic or defined in the WSDL. All other exceptions are caught in main().
This chapter discusses exceptions specific to the development of Web services using HydraExpress's Web fabrication capabilities.
© Copyright Rogue Wave Software, Inc. All Rights Reserved. All Rights Reserved. Rogue Wave is a registered trademark of Rogue Wave Software, Inc. in the United States and other countries. HydraExpress is a trademark of Rogue Wave Software, Inc. All other trademarks are the property of their respective owners.
Contact Rogue Wave about documentation or support issues.