axis2_mep_client.h File Reference

#include <axis2_defines.h>
#include <axis2_env.h>
#include <axis2_error.h>
#include <axis2_op.h>
#include <axiom_node.h>
#include <axiom_soap_envelope.h>

Go to the source code of this file.

Classes

struct  axis2_mep_client_ops
struct  axis2_mep_client

Defines

#define AXIS2_MEP_CLIENT_GET_SOAP_ACTION(mep_client, env)   ((mep_client)->ops->get_soap_action(mep_client, env))
#define AXIS2_MEP_CLIENT_PREPARE_INVOCATION(mep_client, env, op, msg_ctx)   ((mep_client)->ops->prepare_invocation(mep_client, env, op, msg_ctx))
#define AXIS2_MEP_CLIENT_PREPARE_SOAP_ENVELOPE(mep_client, env, to_send)   ((mep_client)->ops->prepare_soap_envelope(mep_client, env, to_send))
#define AXIS2_MEP_CLIENT_INFER_TRANSPORT(mep_client, env, epr)   ((mep_client)->ops->infer_transport(mep_client, env, epr))
#define AXIS2_MEP_CLIENT_CREATE_DEFAULT_SOAP_ENVELOPE(mep_client, env)   ((mep_client)->ops->create_default_soap_envelope(mep_client, env))
#define AXIS2_MEP_CLIENT_ENGAGE_MODULE(mep_client, env, qname)   ((mep_client)->ops->engage_module(mep_client, env, qname))
#define AXIS2_MEP_CLIENT_SET_SOAP_VERSION_URI(mep_client, env, soap_version_uri)   ((mep_client)->ops->set_soap_version_uri(mep_client, env, soap_version_uri))
#define AXIS2_MEP_CLIENT_SET_SOAP_ACTION(mep_client, env, soap_action)   ((mep_client)->ops->set_soap_action(mep_client, env, soap_action))
#define AXIS2_MEP_CLIENT_SET_WSA_ACTION(mep_client, env, wsa_action)   ((mep_client)->ops->set_wsa_action(mep_client, env, wsa_action))
#define AXIS2_MEP_CLIENT_GET_SVC_CTX(mep_client, env)   ((mep_client)->ops->get_svc_ctx(mep_client, env))
#define AXIS2_MEP_CLIENT_FREE(mep_client, env)   ((mep_client)->ops->free (mep_client, env))

Typedefs

typedef axis2_mep_client_ops axis2_mep_client_ops_t
typedef axis2_mep_client axis2_mep_client_t

Functions

AXIS2_EXTERN axis2_mep_client_taxis2_mep_client_create (const axis2_env_t *env, axis2_svc_ctx_t *svc_ctx, const axis2_char_t *mep)
axis2_msg_ctx_taxis2_mep_client_two_way_send (const axis2_env_t *env, axis2_msg_ctx_t *msg_ctx)
axis2_msg_ctx_taxis2_mep_client_receive (const axis2_env_t *env, axis2_msg_ctx_t *msg_ctx)


Detailed Description


Define Documentation

#define AXIS2_MEP_CLIENT_CREATE_DEFAULT_SOAP_ENVELOPE ( mep_client,
env   )     ((mep_client)->ops->create_default_soap_envelope(mep_client, env))

Creates default SOAP envelope.

See also:
axis2_mep_client_ops::create_default_soap_envelope

#define AXIS2_MEP_CLIENT_ENGAGE_MODULE ( mep_client,
env,
qname   )     ((mep_client)->ops->engage_module(mep_client, env, qname))

Engages named module.

See also:
axis2_mep_client_ops::engage_module

#define AXIS2_MEP_CLIENT_FREE ( mep_client,
env   )     ((mep_client)->ops->free (mep_client, env))

Frees mep client.

See also:
axis2_mep_client_ops::free

#define AXIS2_MEP_CLIENT_GET_SOAP_ACTION ( mep_client,
env   )     ((mep_client)->ops->get_soap_action(mep_client, env))

Gets SOAP action.

See also:
axis2_mep_client_ops::get_soap_action

#define AXIS2_MEP_CLIENT_GET_SVC_CTX ( mep_client,
env   )     ((mep_client)->ops->get_svc_ctx(mep_client, env))

Gets service context.

See also:
axis2_mep_client_ops::get_svc_ctx

#define AXIS2_MEP_CLIENT_INFER_TRANSPORT ( mep_client,
env,
epr   )     ((mep_client)->ops->infer_transport(mep_client, env, epr))

Infers transport.

See also:
axis2_mep_client_ops::infer_transport

#define AXIS2_MEP_CLIENT_PREPARE_INVOCATION ( mep_client,
env,
op,
msg_ctx   )     ((mep_client)->ops->prepare_invocation(mep_client, env, op, msg_ctx))

Prepares mep client for invocation.

See also:
axis2_mep_client_ops::prepare_invocation

#define AXIS2_MEP_CLIENT_PREPARE_SOAP_ENVELOPE ( mep_client,
env,
to_send   )     ((mep_client)->ops->prepare_soap_envelope(mep_client, env, to_send))

Prepares SOAP envelope.

See also:
axis2_mep_client_ops::prepare_soap_envelope

#define AXIS2_MEP_CLIENT_SET_SOAP_ACTION ( mep_client,
env,
soap_action   )     ((mep_client)->ops->set_soap_action(mep_client, env, soap_action))

Sets SOAP action.

See also:
axis2_mep_client_ops::set_soap_action

#define AXIS2_MEP_CLIENT_SET_SOAP_VERSION_URI ( mep_client,
env,
soap_version_uri   )     ((mep_client)->ops->set_soap_version_uri(mep_client, env, soap_version_uri))

Sets SOAP version URI.

See also:
axis2_mep_client_ops::set_soap_version_uri

#define AXIS2_MEP_CLIENT_SET_WSA_ACTION ( mep_client,
env,
wsa_action   )     ((mep_client)->ops->set_wsa_action(mep_client, env, wsa_action))

Sets WSA action.

See also:
axis2_mep_client_ops::set_wsa_action


Typedef Documentation

typedef struct axis2_mep_client_ops axis2_mep_client_ops_t

Type name for struct axis2_mep_client_ops

typedef struct axis2_mep_client axis2_mep_client_t

Type name for struct axis2_mep_client


Function Documentation

AXIS2_EXTERN axis2_mep_client_t* axis2_mep_client_create ( const axis2_env_t env,
axis2_svc_ctx_t svc_ctx,
const axis2_char_t *  mep 
)

Creates a mep client struct for a specified service context.

Parameters:
env pointer to environment struct
svc_ctx pointer to service context. Newly created client assumes ownership of the svc_ctx
mep URI representing the message exchange pattern
Returns:
a pointer to newly created mep client struct, or NULL on error with error code set in environment's error

axis2_msg_ctx_t* axis2_mep_client_receive ( const axis2_env_t env,
axis2_msg_ctx_t msg_ctx 
)

Receives a message corresponding to a request depicted by given message context.

Parameters:
env pointer to environment struct
msg_ctx pointer to message context representing the response to be received
Returns:
message context representing the received response

axis2_msg_ctx_t* axis2_mep_client_two_way_send ( const axis2_env_t env,
axis2_msg_ctx_t msg_ctx 
)

Sends a message represented by the given message context and captures the response in return message context.

Parameters:
env pointer to environment struct
msg_ctx pointer to message context representing the message to be sent
Returns:
message context representing the received response


Generated on Tue Oct 3 22:35:50 2006 for Axis2/C by  doxygen 1.4.7