www.openlinksw.com
docs.openlinksw.com

Book Home

Contents
Preface

Virtuoso Functions Guide

Administration
Aggregate Functions
Array Manipulation
BPEL APIs
Backup
Compression
Cursor
Date & Time Manipulation
Debug
Dictionary Manipulation
Encoding & Decoding
File Manipulation
Free Text
Hashing / Cryptographic
LDAP
Locale
Mail
Miscellaneous
Number
Remote SQL Data Source
Replication
SOAP
http_body_read
soap_box_structure
soap_box_xml_entity
soap_call
soap_client
soap_current_url
soap_dt_define
soap_make_error
soap_print_box
soap_sdl
soap_server
soap_wsdl
soap_wsdl_import
wst_cli
SQL
String
Transaction
Type Mapping
UDDI
User Defined Types & The CLR
Virtuoso Java PL API
Virtuoso Server Extension Interface (VSEI)
Web Server & Internet
XML
XPATH & XQUERY

Functions Index

soap_make_error

Creates a SOAP error reply XML message based on its parameters.
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.