# WSFError.h File Reference

Defines WSF/CPP specific error codes. More...

`#include <Environment.h>`

Go to the source code of this file.

## Defines
#define | WSF_LOG_USER_MSG axutil_log_impl_log_user
#define | WSF_LOG_DEBUG_MSG axutil_log_impl_log_debug
#define | WSF_LOG_INFO_MSG axutil_log_impl_log_info
#define | WSF_LOG_WARNING_MSG axutil_log_impl_log_warning
#define | WSF_LOG_ERROR_MSG axutil_log_impl_log_error
#define | WSF_LOG_CRITICAL_MSG axutil_log_impl_log_critical
#define | WSF_LOG_TRACE_MSG axutil_log_impl_log_trace
#define | WSF_LOG_SI AXIS2_LOG_SI
#define | CREATION_OF_EXECUTION_ENVIRONMENT_FAILED "Creation of Execution Environment Failed"
#define | CREATION_OF_NEETHI_POLICY_OBJECT_FAILED "Unable to create NeethiPolicy object"
#define | CREATION_OF_OM_ATTRIBUTE_OBJECT_FAILED "Unable to create OMAttribute object"
#define | CREATION_OF_OM_DATA_HANDLER_OBJECT_FAILED "Unable to create OMDataHandler object"
#define | CREATION_OF_OM_ELEMENT_OBJECT_FAILED "Unable to create OMElement object"
#define | CREATION_OF_OM_NAMESPACE_OBJECT_FAILED "Unable to create OMNamespace object"
#define | CREATION_OF_OM_TEXT_OBJECT_FAILED "Unable to create OMText object"
#define | CREATION_OF_SERVICE_CLIENT_FAILED "Initialization of Service Client Failed"
#define | CREATION_OF_SERVICE_CLIENT_OPTIONS_FAILED "Creation of Service Options Failed"
#define | CREATION_OF_CALLBACK_OBJECT_FAILED "Creation of Callback Failed"
#define | SETTING_UP_SERVICE_CLIENT_OPTIONS_FAILED "Setting up Options Failed"
#define | SETTING_SOAP_ACTION_FAILED "Failure occured while setting SOAP Action"
#define | SETTING_WSA_ACTION_FAILED "Failure occured while setting Web Services Addressing (WSA) Action"
#define | SEND_RECIEVE_OPERATION_FAILED "Send Recieve Operation Failed"
#define | ROBUST_SEND_OPERATION_FAILED "Robust Send Operation Failed"
#define | UNABLE_TO_RETRIEVE_RESPONSE_ELEMENT "Unable to retrieve Response Element"
#define | SOAP_FAULT_RECIEVED "A SOAP Fault Occured"
#define | EMPTY_PAYLOAD_RECIEVED "Empty Payload"

## Detailed Description

Defines WSF/CPP specific error codes.

## Define Documentation

#define CREATION_OF_CALLBACK_OBJECT_FAILED "Creation of Callback Failed"

Creation of Callback Object failed.

#define CREATION_OF_EXECUTION_ENVIRONMENT_FAILED "Creation of Execution Environment Failed"

Creation of the execution environment failed.

#define CREATION_OF_NEETHI_POLICY_OBJECT_FAILED "Unable to create NeethiPolicy object"

Instantiation of NeethiPolicy Object filed. Could be due to invalid xml input, invalid policy.

#define CREATION_OF_OM_ATTRIBUTE_OBJECT_FAILED "Unable to create OMAttribute object"

Instantiation of OMAttribute Object failed.

#define CREATION_OF_OM_DATA_HANDLER_OBJECT_FAILED "Unable to create OMDataHandler object"

Creation of OMDataHandler Object failed.

#define CREATION_OF_OM_ELEMENT_OBJECT_FAILED "Unable to create OMElement object"

Creation of OMElement Object failed.

#define CREATION_OF_OM_NAMESPACE_OBJECT_FAILED "Unable to create OMNamespace object"

Creation of OMNamespace object failed.

#define CREATION_OF_OM_TEXT_OBJECT_FAILED "Unable to create OMText object"

Creation of OMText Object failed.

#define CREATION_OF_SERVICE_CLIENT_FAILED "Initialization of Service Client Failed"

Iinitialization of Service Client Failed. Can be due to a. Incorrect repository path. b. Missing axis2.xml file in the repository. c. Library loading issues to missing dependancy DLLs in the path.

#define CREATION_OF_SERVICE_CLIENT_OPTIONS_FAILED "Creation of Service Options Failed"

Creation of Service Client Options Failed.

#define EMPTY_PAYLOAD_RECIEVED "Empty Payload"

Empty payload has been provided to the service client object.

#define ROBUST_SEND_OPERATION_FAILED "Robust Send Operation Failed"

Send Robust Operation failed.

#define SEND_RECIEVE_OPERATION_FAILED "Send Recieve Operation Failed"

Send Receive Operation Failed. This can be due to multiple situations. Check the log files for more details on the error occured

#define SETTING_SOAP_ACTION_FAILED "Failure occured while setting SOAP Action"

Setting SOAP Action failed

#define SETTING_UP_SERVICE_CLIENT_OPTIONS_FAILED "Setting up Options Failed"

Setting of service client options failed.

#define SETTING_WSA_ACTION_FAILED "Failure occured while setting Web Services Addressing (WSA) Action"

Setting WSA Action failed.

#define SOAP_FAULT_RECIEVED "A SOAP Fault Occured"

Received a SOAP fault as the response.

#define UNABLE_TO_RETRIEVE_RESPONSE_ELEMENT "Unable to retrieve Response Element"

Retrival of the response Object failed.

#define WSF_LOG_CRITICAL_MSG axutil_log_impl_log_critical

Macro to use for logging critical issues. critical usually means the server of client failure.

#define WSF_LOG_DEBUG_MSG axutil_log_impl_log_debug

Macro to use for logging debug information.

#define WSF_LOG_ERROR_MSG axutil_log_impl_log_error

Macro to use for logging errors.

#define WSF_LOG_INFO_MSG axutil_log_impl_log_info

Macro to use for logging information.

#define WSF_LOG_SI AXIS2_LOG_SI

Maps AXIS2_LOG_SI macro which writes the source information to the log file ( Line number and file name ) to WSF_LOG_SI

#define WSF_LOG_TRACE_MSG axutil_log_impl_log_trace

Macro to use for logging trace information.

#define WSF_LOG_USER_MSG axutil_log_impl_log_user

Macro to use for logging user level information.

#define WSF_LOG_WARNING_MSG axutil_log_impl_log_warning

Macro to use for logging warnings.