axis2_mep_client_ops Struct Reference

#include <axis2_mep_client.h>

List of all members.

Public Attributes

const axis2_char_t *(* get_soap_action )(const axis2_mep_client_t *mep_client, const axis2_env_t *env)
axis2_status_t(* prepare_invocation )(axis2_mep_client_t *mep_client, const axis2_env_t *env, axis2_op_t *op, axis2_msg_ctx_t *msg_ctx)
axis2_msg_ctx_t *(* prepare_soap_envelope )(axis2_mep_client_t *mep_client, const axis2_env_t *env, axiom_node_t *to_send)
axis2_transport_out_desc_t *(* infer_transport )(axis2_mep_client_t *mep_client, const axis2_env_t *env, axis2_endpoint_ref_t *epr)
axiom_soap_envelope_t *(* create_default_soap_envelope )(axis2_mep_client_t *mep_client, const axis2_env_t *env)
axis2_status_t(* engage_module )(axis2_mep_client_t *mep_client, const axis2_env_t *env, const axis2_qname_t *qname)
axis2_status_t(* set_soap_version_uri )(axis2_mep_client_t *mep_client, const axis2_env_t *env, const axis2_char_t *soap_version_uri)
axis2_status_t(* set_soap_action )(axis2_mep_client_t *mep_client, const axis2_env_t *env, const axis2_char_t *soap_action)
axis2_status_t(* set_wsa_action )(axis2_mep_client_t *mep_client, const axis2_env_t *env, const axis2_char_t *wsa_action)
axis2_svc_ctx_t *(* get_svc_ctx )(const axis2_mep_client_t *mep_client, const axis2_env_t *env)
axis2_status_t(* free )(axis2_mep_client_t *mep_client, const axis2_env_t *env)


Detailed Description

MEP client ops struct. Encapsulator struct for ops of axis2_mep_client.


Member Data Documentation

axiom_soap_envelope_t*( * axis2_mep_client_ops::create_default_soap_envelope)(axis2_mep_client_t *mep_client, const axis2_env_t *env)
 

Creates default SOAP envelope.

Parameters:
mep_client pointer to mep client struct
env pointer to environment struct
Returns:
pointer to default SOAP envelope created

axis2_status_t( * axis2_mep_client_ops::engage_module)(axis2_mep_client_t *mep_client, const axis2_env_t *env, const axis2_qname_t *qname)
 

Engage named module. The named module must have been configured in the Axis2 configuration. For a module to be detected by the deployment engine, the modules has to be placed in the AXIS2_REPOSITORY/modules directory.

Parameters:
mep_client pointer to mep client struct
env pointer to environment struct
qname QName representing the module name
Returns:
AXIS2_SUCCESS on success, else AXIS2_FAILURE

axis2_status_t( * axis2_mep_client_ops::free)(axis2_mep_client_t *mep_client, const axis2_env_t *env)
 

Frees MEP client struct.

Parameters:
mep_client pointer to mep client struct
env pointer to environment struct
Returns:
AXIS2_SUCCESS on success, else AXIS2_FAILURE

const axis2_char_t*( * axis2_mep_client_ops::get_soap_action)(const axis2_mep_client_t *mep_client, const axis2_env_t *env)
 

Gets SOAP action.

Parameters:
mep_client pointer to mep client struct
env pointer to environment struct
Returns:
a pointer to SOAP action string

axis2_svc_ctx_t*( * axis2_mep_client_ops::get_svc_ctx)(const axis2_mep_client_t *mep_client, const axis2_env_t *env)
 

Gets service context.

Parameters:
mep_client pointer to mep client struct
env pointer to environment struct
Returns:
pointer to service context struct if set, else NULL

axis2_transport_out_desc_t*( * axis2_mep_client_ops::infer_transport)(axis2_mep_client_t *mep_client, const axis2_env_t *env, axis2_endpoint_ref_t *epr)
 

Tries to infer the transport looking at the URL, the URL can be http:// tcp:// mail:// local://. The method will look for the transport name as the protocol part of the transport.

Parameters:
mep_client pointer to mep client struct
env pointer to environment struct
epr endpoint reference struct representing the endpoint URL
Returns:
pointer to the transport description with inferred information

axis2_status_t( * axis2_mep_client_ops::prepare_invocation)(axis2_mep_client_t *mep_client, const axis2_env_t *env, axis2_op_t *op, axis2_msg_ctx_t *msg_ctx)
 

Prepares the message context for invocation. Here the properties kept in the mep_client are copied to the message context.

Parameters:
mep_client pointer to mep client struct
env pointer to environment struct
op pointer operation to be invoked
msg_ctx pointer to message context to be filled
Returns:
AXIS2_SUCCESS on success, else AXIS2_FAILURE

axis2_msg_ctx_t*( * axis2_mep_client_ops::prepare_soap_envelope)(axis2_mep_client_t *mep_client, const axis2_env_t *env, axiom_node_t *to_send)
 

Prepares the SOAP envelope using the payload.

Parameters:
mep_client pointer to mep client struct
env pointer to environment struct
to_send payload to be sent in AXIOM node format
Returns:
a pointer to message context struct filled with the SOAP envelope to be sent

axis2_status_t( * axis2_mep_client_ops::set_soap_action)(axis2_mep_client_t *mep_client, const axis2_env_t *env, const axis2_char_t *soap_action)
 

Sets SOAP action.

Parameters:
mep_client pointer to mep client struct
env pointer to environment struct
soap_action SOAP action
Returns:
AXIS2_SUCCESS on success, else AXIS2_FAILURE

axis2_status_t( * axis2_mep_client_ops::set_soap_version_uri)(axis2_mep_client_t *mep_client, const axis2_env_t *env, const axis2_char_t *soap_version_uri)
 

Sets SOAP version URI.

Parameters:
mep_client pointer to mep client struct
env pointer to environment struct
soap_version_uri SOAP version URI
Returns:
AXIS2_SUCCESS on success, else AXIS2_FAILURE

axis2_status_t( * axis2_mep_client_ops::set_wsa_action)(axis2_mep_client_t *mep_client, const axis2_env_t *env, const axis2_char_t *wsa_action)
 

Sets WSA action.

Parameters:
mep_client pointer to mep client struct
env pointer to environment struct
wsa_action Web services Addressing action
Returns:
AXIS2_SUCCESS on success, else AXIS2_FAILURE


The documentation for this struct was generated from the following file:
Generated on Thu Aug 31 17:32:40 2006 for Axis2/C by  doxygen 1.4.6