C library for SOAP (Simple Object Access Protocol)


Server
[cSOAP]


Data Structures

struct  _SoapRouterNode

Typedefs

typedef struct _SoapRouterNode SoapRouterNode

Functions

herror_t soap_server_init_args (int argc, char **argv)
herror_t soap_server_register_router (struct SoapRouter *router, const char *context)
const char * soap_server_get_name (void)
herror_t soap_server_run (void)
void soap_server_destroy (void)

Typedef Documentation


Function Documentation

void soap_server_destroy ( void   ) 

This function frees the SOAP server.

See also:
httpd_destroy()

udpd_destroy()

smtpd_destroy()

const char* soap_server_get_name ( void   ) 

This function returns an URI name of the server.

herror_t soap_server_init_args ( int  argc,
char **  argv 
)

This function initializes the soap server with commandline arguments.

Parameters:
argc commandline arg count
argv commandline arg vector
Returns:
H_OK on success.
See also:
httpd_init_args()

udpd_init_args()

herror_t soap_server_register_router ( struct SoapRouter *  router,
const char *  context 
)

This function registers a router to the SOAP server.

   scheme://host:port/[context]
 

Parameters:
router The router to register
context the url context
Returns:
H_OK on success.
See also:
soap_router_new()

soap_router_register_service()

herror_t soap_server_run ( void   ) 

This function enters the server loop and starts to listen to incoming requests.

See also:
httpd_run()

udpd_run()

smptd_run()


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