soap-client.h File Reference

Go to the source code of this file.

Defines

#define SOAP_ERROR_CLIENT   5000
#define SOAP_ERROR_CLIENT_GENERIC   (SOAP_ERROR_CLIENT + 0)
#define SOAP_ERROR_CLIENT_INIT   (SOAP_ERROR_CLIENT + 1)
#define CSOAP_CLIENT_FORCE_ENCRYPT   "-CSOAPencrypt"
#define CSOAP_CLIENT_FORCE_DECRYPT   "-CSOAPdecrypt"
#define CSOAP_CLIENT_FORCE_SIGN   "-CSOAPsign"
#define CSOAP_CLIENT_FORCE_VERIFY   "-CSOAPverify"

Functions

herror_t soap_client_init_args (int argc, char **argv)
herror_t soap_client_invoke (struct SoapCtx *ctx, struct SoapCtx **response, const char *url, const char *soap_action)
void soap_client_destroy (void)


Define Documentation

#define CSOAP_CLIENT_FORCE_DECRYPT   "-CSOAPdecrypt"
 

Commandline argument to force decryption of incoming messages.

See also:
soap_xmlsec_decrypt

Definition at line 140 of file soap-client.h.

#define CSOAP_CLIENT_FORCE_ENCRYPT   "-CSOAPencrypt"
 

Commandline argument to force encryption of outgoing messages.

See also:
soap_xmlsec_encrypt

Definition at line 131 of file soap-client.h.

#define CSOAP_CLIENT_FORCE_SIGN   "-CSOAPsign"
 

Commandline argument to force signature on outgoing messages.

See also:
soap_xmlsec_sign

Definition at line 149 of file soap-client.h.

#define CSOAP_CLIENT_FORCE_VERIFY   "-CSOAPverify"
 

Commandline argument to force signature on incoming messages.

See also:
soap_xmlsec_verify

Definition at line 158 of file soap-client.h.

#define SOAP_ERROR_CLIENT   5000
 

Definition at line 120 of file soap-client.h.

#define SOAP_ERROR_CLIENT_GENERIC   (SOAP_ERROR_CLIENT + 0)
 

Definition at line 121 of file soap-client.h.

#define SOAP_ERROR_CLIENT_INIT   (SOAP_ERROR_CLIENT + 1)
 

Definition at line 122 of file soap-client.h.


Function Documentation

void soap_client_destroy void   ) 
 

Destroy the soap client module

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

References soap_transport_client_destroy().

herror_t soap_client_init_args int  argc,
char **  argv
 

Initializes the client side soap engine

Definition at line 85 of file soap-client.c.

References H_OK, herror_message(), log_error2, soap_transport_client_init_args(), and soap_xmlsec_client_init_args().

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

Definition at line 117 of file soap-client.c.

References SoapCtx::env, H_OK, herror_message(), log_error2, log_verbose1, log_verbose2, soap_addressing_get_message_id_string(), soap_addressing_set_action_string(), soap_addressing_set_from_address_string(), soap_addressing_set_message_id_string(), soap_addressing_set_to_address_string(), soap_transport_client_invoke(), soap_transport_get_name(), soap_xmlsec_decrypt(), soap_xmlsec_encrypt(), soap_xmlsec_sign(), and soap_xmlsec_verify().


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