1 #ifndef __ISDS_SOAP_H__
2 #define __ISDS_SOAP_H__
6 /* Close connection to server and destroy CURL handle associated
8 isds_error
_isds_close_connection(struct isds_ctx
*context
);
11 * @context holds the base URL,
12 * @file is a (CGI) file of SOAP URL,
13 * @request is XML node set with SOAP request body.
14 * @file must be NULL, @request should be NULL rather than empty, if they should
15 * not be signaled in the SOAP request.
16 * @reponse is automatically allocated() node set with SOAP response body.
17 * You must xmlFreeNodeList() it. This is literal body, empty (NULL), one node
18 * or more nodes can be returned.
19 * @raw_response is automatically allocated bit stream with response body. Use
20 * NULL if you don't care
21 * @raw_response_length is size of @raw_response in bytes
22 * In case of error the response will be deallocated automatically.
23 * Side effect: message buffer */
24 isds_error
_isds_soap(struct isds_ctx
*context
, const char *file
,
25 const xmlNodePtr request
, xmlNodePtr
*response
,
26 void **raw_response
, size_t *raw_response_length
);