soap-client.c File Reference

#include <libxml/tree.h>
#include <libxml/uri.h>
#include <nanohttp/nanohttp-error.h>
#include <nanohttp/nanohttp-logging.h>
#include "soap-fault.h"
#include "soap-env.h"
#include "soap-ctx.h"
#include "soap-addressing.h"
#include "soap-service.h"
#include "soap-router.h"
#include "soap-transport.h"
#include "soap-client.h"

Go to the source code of this file.


herror_t soap_client_init_args (int argc, char **argv)
void soap_client_destroy (void)
herror_t soap_client_invoke (struct SoapCtx *req, struct SoapCtx **res, const char *url, const char *action)

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.

env envelope to send
response the result envelope
url url to the soap server
soap_action value for "SoapAction:" in the HTTP request header.
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