YAZ  5.34.0
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

◆ z_soap_codec()

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().

◆ z_soap_codec_enc()

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().

◆ z_soap_codec_enc_xsl()

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 
)

◆ z_soap_error()

int z_soap_error ( ODR  o,
Z_SOAP p,
const char *  fault_code,
const char *  fault_string,
const char *  details 
)

Variable Documentation

◆ soap_v1_1

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().

◆ soap_v1_2

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().