soap-fault.c File Reference

#include <libxml/xpath.h>
#include <nanohttp/nanohttp-error.h>
#include <nanohttp/nanohttp-logging.h>
#include "soap-xml.h"
#include "soap-env.h"
#include "soap-ctx.h"
#include "soap-service.h"
#include "soap-router.h"
#include "soap-server.h"
#include "soap-fault.h"

Go to the source code of this file.

Defines

#define _SOAP_FAULT_TEMPLATE_

Functions

xmlDocPtr soap_fault_build (int fault_code, const char *fault_string, const char *fault_actor, const char *detail)


Define Documentation

#define _SOAP_FAULT_TEMPLATE_
 

Value:

"<SOAP-ENV:Envelope" \
        " xmlns:SOAP-ENV=\"%s\"" \
        " SOAP-ENV:encoding=\"%s\"" \
        " xmlns:xsi=\"%s\"" \
        " xmlns:xsd=\"%s\">" \
         "<SOAP-ENV:Header />" \
         "<SOAP-ENV:Body>" \
          "<SOAP-ENV:Fault>"\
           "<faultcode>%s</faultcode>"\
           "<faultstring>%s</faultstring>"\
           "<faultactor>%s</faultactor>"\
           "<detail>%s</detail>"\
          "</SOAP-ENV:Fault>" \
         "</SOAP-ENV:Body>"\
        "</SOAP-ENV:Envelope>"

Definition at line 60 of file soap-fault.c.

Referenced by soap_fault_build().


Function Documentation

xmlDocPtr soap_fault_build int  fault_code,
const char *  fault_string,
const char *  fault_actor,
const char *  detail
 

Definition at line 85 of file soap-fault.c.

References _SOAP_FAULT_TEMPLATE_, log_error1, log_error2, log_verbose1, log_verbose2, soap_fault_build(), SOAP_FAULT_DATA_ENCODING_UNKOWN, SOAP_FAULT_MUST_UNDERSTAND, SOAP_FAULT_RECEIVER, SOAP_FAULT_SENDER, SOAP_FAULT_VERSION_MISMATCH, and soap_server_get_name().

Referenced by soap_env_new_with_fault(), and soap_fault_build().


Generated on Thu Jan 25 23:36:04 2007 for csoap by  doxygen 1.4.6