soap-service.h File Reference

Go to the source code of this file.

Classes

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 _SoapService SoapService
typedef _SoapServiceNode SoapServiceNode

Functions

SoapServiceNodesoap_service_node_new (SoapService *service, SoapServiceNode *next)
SoapServicesoap_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/

Definition in file soap-service.h.


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/

Definition at line 50 of file soap-service.h.

Referenced by soap_server_process().

#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/

Definition at line 60 of file soap-service.h.

Referenced by soap_server_process(), and soap_service_new().


Typedef Documentation

typedef struct _SoapService SoapService
 

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

Definition at line 62 of file soap-service.h.

typedef struct _SoapServiceNode SoapServiceNode
 


Function Documentation

void soap_service_free SoapService service  ) 
 

Definition at line 109 of file soap-service.c.

References _SoapService::method, and _SoapService::urn.

Referenced by soap_router_free().

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

Definition at line 77 of file soap-service.c.

References CSOAP_SERVICE_UP, _SoapService::func, log_error2, log_warn1, _SoapService::method, _SoapService::status, and _SoapService::urn.

Referenced by soap_router_register_default_service(), and soap_router_register_service().

SoapServiceNode* soap_service_node_new SoapService service,
SoapServiceNode next
 

Definition at line 61 of file soap-service.c.

References log_error2, _SoapServiceNode::next, and _SoapServiceNode::service.

Referenced by soap_router_register_default_service(), and soap_router_register_service().


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