YAZ
5.34.0
|
Implements SOAP. More...
#include <yaz/soap.h>
#include <yaz/match_glob.h>
#include <libxml/parser.h>
#include <libxml/tree.h>
Go to the source code of this file.
Functions | |
int | z_soap_codec_enc_xsl (ODR o, Z_SOAP **pp, char **content_buf, int *content_len, Z_SOAP_Handler *handlers, const char *encoding, const char *stylesheet) |
int | z_soap_codec_enc (ODR o, Z_SOAP **pp, char **content_buf, int *content_len, Z_SOAP_Handler *handlers, const char *encoding) |
int | z_soap_codec (ODR o, Z_SOAP **pp, char **content_buf, int *content_len, Z_SOAP_Handler *handlers) |
int | z_soap_error (ODR o, Z_SOAP *p, const char *fault_code, const char *fault_string, const char *details) |
Variables | |
static const char * | soap_v1_1 = "http://schemas.xmlsoap.org/soap/envelope/" |
static const char * | soap_v1_2 = "http://www.w3.org/2001/06/soap-envelope" |
Implements SOAP.
This implements encoding and decoding of SOAP packages using Libxml2.
Definition in file soap.c.
int z_soap_codec | ( | ODR | o, |
Z_SOAP ** | pp, | ||
char ** | content_buf, | ||
int * | content_len, | ||
Z_SOAP_Handler * | handlers | ||
) |
Definition at line 340 of file soap.c.
References z_soap_codec_enc().
Referenced by yaz_srw_decode(), and ZOOM_handle_sru().
int z_soap_codec_enc | ( | ODR | o, |
Z_SOAP ** | pp, | ||
char ** | content_buf, | ||
int * | content_len, | ||
Z_SOAP_Handler * | handlers, | ||
const char * | encoding | ||
) |
Definition at line 331 of file soap.c.
References z_soap_codec_enc_xsl().
Referenced by yaz_sru_soap_encode(), and z_soap_codec().
int z_soap_codec_enc_xsl | ( | ODR | o, |
Z_SOAP ** | pp, | ||
char ** | content_buf, | ||
int * | content_len, | ||
Z_SOAP_Handler * | handlers, | ||
const char * | encoding, | ||
const char * | stylesheet | ||
) |
Definition at line 26 of file soap.c.
References odr::direction, Z_SOAP_Handler::f, Z_SOAP::generic, Z_SOAP_Generic::no, Z_SOAP_Generic::ns, Z_SOAP::ns, Z_SOAP_Handler::ns, ODR_DECODE, odr_malloc(), odr_strdup(), Z_SOAP_Generic::p, soap_v1_1, soap_v1_2, Z_SOAP::u, Z_SOAP::which, yaz_match_glob(), z_soap_error(), Z_SOAP_fault, and Z_SOAP_generic.
Referenced by process_http_request(), and z_soap_codec_enc().
int z_soap_error | ( | ODR | o, |
Z_SOAP * | p, | ||
const char * | fault_code, | ||
const char * | fault_string, | ||
const char * | details | ||
) |
Definition at line 347 of file soap.c.
References Z_SOAP_Fault::details, Z_SOAP_Fault::fault_code, Z_SOAP_Fault::fault_string, odr_malloc(), odr_strdup(), Z_SOAP::soap_error, Z_SOAP::u, Z_SOAP::which, and Z_SOAP_error.
Referenced by process_http_request(), and z_soap_codec_enc_xsl().
|
static |
Definition at line 23 of file soap.c.
Referenced by z_soap_codec_enc_xsl().
|
static |
Definition at line 24 of file soap.c.
Referenced by z_soap_codec_enc_xsl().