Name

soap_make_error — Creates a SOAP error reply XML message based on its parameters.

Synopsis

varchar soap_make_error ( in soap_code varchar ,
in sql_state varchar ,
in error_message varchar ,
in soap_version integer ,
in do_uddi integer );

Description

This function creates a SOAP error reply based on the given parameters. It returns the generated XML as a varchar value.

Parameters

soap_code

Required. The fault code according to the SOAP specification.

sql_state

Required. The error's SQL state.

error_message

Required. The error text.

soap_version

Optional (default 11). The SOAP version used to encode the SOAP error reply.

do_uddi

Optional (default 0). 1 = produce UDDI error format; 0 = SOAP error format.

Return Types

Returns generated XML as a varchar.