soap-client.h File Reference
#include <nanohttp/nanohttp-client.h>
#include <libcsoap/soap-ctx.h>
#include <libcsoap/soap-env.h>
#include <libcsoap/soap-addressing.h>
Go to the source code of this file.
Define Documentation
| #define CSOAP_CLIENT_FORCE_DECRYPT "-CSOAPdecrypt" |
| #define CSOAP_CLIENT_FORCE_ENCRYPT "-CSOAPencrypt" |
| #define CSOAP_CLIENT_FORCE_SIGN "-CSOAPsign" |
Commandline argument to force signature on outgoing messages.
- See also:
- soap_xmlsec_sign
| #define CSOAP_CLIENT_FORCE_VERIFY "-CSOAPverify" |
| #define SOAP_ERROR_CLIENT 5000 |
| #define SOAP_ERROR_CLIENT_GENERIC (SOAP_ERROR_CLIENT + 0) |
| #define SOAP_ERROR_CLIENT_INIT (SOAP_ERROR_CLIENT + 1) |
Function Documentation
| void soap_client_destroy |
( |
void |
|
) |
|
Destroy the soap client module
| herror_t soap_client_init_args |
( |
int |
argc, |
|
|
char ** |
argv | |
|
) |
| | |
Initializes the client side soap engine
| herror_t soap_client_invoke |
( |
struct SoapCtx * |
ctx, |
|
|
struct SoapCtx ** |
response, |
|
|
const char * |
url, |
|
|
const char * |
soap_action | |
|
) |
| | |
Establish connection to the soap server and send the given envelope.
- Parameters:
-
| env | envelope to send |
| response | the result envelope |
| url | url to the soap server |
| soap_action | value for "SoapAction:" in the HTTP request header. |
- Returns:
- H_OK if success