C library for SOAP (Simple Object Access Protocol)


soap-service.h File Reference

Go to the source code of this file.

Data Structures

struct  _SoapService
struct  _SoapServiceNode

Defines

#define CSOAP_SERVICE_DOWN   0
#define CSOAP_SERVICE_UP   1

Typedefs

typedef herror_t(* SoapServiceFunc )(struct SoapCtx *request, struct SoapCtx *response)
typedef struct _SoapService SoapService
typedef struct _SoapServiceNode SoapServiceNode

Functions

SoapServiceNode * soap_service_node_new (SoapService *service, SoapServiceNode *next)
SoapService * soap_service_new (const char *urn, const char *method, SoapServiceFunc f)
void soap_service_free (SoapService *service)


Detailed Description

A Web service is a software system designed to support interoperable machine-to-machine interaction over a network. It has an interface described in a machine-processable format (specifically WSDL). Other systems interact with the Web service in a manner prescribed by its description using SOAP messages, typically conveyed using HTTP with an XML serialization in conjunction with other Web-related standards.

See also:
http://www.w3.org/TR/wslc/

http://www.w3.org/TR/wsdl

http://www.w3.org/TR/owl-ref/


Define Documentation

#define CSOAP_SERVICE_DOWN   0

This service status shows that the provider agent is not capable of accepting any requests (i.e. the service is not available).

See also:
http://www.w3.org/TR/wslc/

#define CSOAP_SERVICE_UP   1

This service status shows that the provider agent is capable of accepting and processing requests (i.e. the service is available)

See also:
http://www.w3.org/TR/wslc/


Typedef Documentation

typedef struct _SoapService SoapService

typedef herror_t(* SoapServiceFunc)(struct SoapCtx *request, struct SoapCtx *response)


Function Documentation

void soap_service_free ( SoapService *  service  ) 

SoapService* soap_service_new ( const char *  urn,
const char *  method,
SoapServiceFunc  f 
)

SoapServiceNode* soap_service_node_new ( SoapService *  service,
SoapServiceNode *  next 
)


csoap project homepage: http://csoap.sourceforge.net