YAZ  5.23.1
Functions | Variables
soap.c File Reference

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"
 

Detailed Description

Implements SOAP.

This implements encoding and decoding of SOAP packages using Libxml2.

Definition in file soap.c.

Function Documentation

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 
)
int z_soap_error ( ODR  o,
Z_SOAP p,
const char *  fault_code,
const char *  fault_string,
const char *  details 
)

Variable Documentation

const char* soap_v1_1 = "http://schemas.xmlsoap.org/soap/envelope/"
static

Definition at line 23 of file soap.c.

Referenced by z_soap_codec_enc_xsl().

const char* soap_v1_2 = "http://www.w3.org/2001/06/soap-envelope"
static

Definition at line 24 of file soap.c.

Referenced by z_soap_codec_enc_xsl().