axis2_svc_ops Struct Reference
[service]

#include <axis2_svc.h>

List of all members.

Public Attributes

axis2_status_t(* free )(axis2_svc_t *svc, const axis2_env_t *env)
axis2_status_t(* add_op )(axis2_svc_t *svc, const axis2_env_t *env, struct axis2_op *op)
axis2_op *(* get_op_with_qname )(const axis2_svc_t *svc, const axis2_env_t *env, const axis2_qname_t *op_qname)
axis2_op *(* get_op_with_name )(const axis2_svc_t *svc, const axis2_env_t *env, const axis2_char_t *op_name)
axis2_hash_t *(* get_all_ops )(const axis2_svc_t *svc, const axis2_env_t *env)
axis2_status_t(* set_parent )(axis2_svc_t *svc, const axis2_env_t *env, struct axis2_svc_grp *svc_grp)
axis2_svc_grp *(* get_parent )(const axis2_svc_t *svc, const axis2_env_t *env)
axis2_status_t(* set_qname )(axis2_svc_t *svc, const axis2_env_t *env, const axis2_qname_t *qname)
const axis2_qname_t *(* get_qname )(const axis2_svc_t *svc, const axis2_env_t *env)
axis2_status_t(* add_param )(axis2_svc_t *svc, const axis2_env_t *env, axis2_param_t *param)
axis2_param_t *(* get_param )(const axis2_svc_t *svc, const axis2_env_t *env, const axis2_char_t *name)
axis2_array_list_t *(* get_all_params )(const axis2_svc_t *svc, const axis2_env_t *env)
axis2_bool_t(* is_param_locked )(axis2_svc_t *svc, const axis2_env_t *env, const axis2_char_t *param_name)
axis2_status_t(* set_wsdl_interface )(axis2_svc_t *svc, const axis2_env_t *env, struct axis2_wsdl_interface *wsdl_interface)
axis2_wsdl_interface *(* get_wsdl_interface )(const axis2_svc_t *svc, const axis2_env_t *env)
axis2_status_t(* engage_module )(axis2_svc_t *svc, const axis2_env_t *env, struct axis2_module_desc *module_desc, struct axis2_conf *conf)
axis2_status_t(* add_module_ops )(axis2_svc_t *svc, const axis2_env_t *env, struct axis2_module_desc *module_desc, struct axis2_conf *axis2_config)
axis2_status_t(* add_to_engaged_module_list )(axis2_svc_t *svc, const axis2_env_t *env, struct axis2_module_desc *module_desc)
axis2_array_list_t *(* get_all_engaged_modules )(const axis2_svc_t *svc, const axis2_env_t *env)
void *(* get_wsdl_op )(const axis2_svc_t *svc, const axis2_env_t *env, const axis2_qname_t *op_qname)
axis2_status_t(* set_style )(axis2_svc_t *svc, const axis2_env_t *env, const axis2_char_t *style)
const axis2_char_t *(* get_style )(const axis2_svc_t *svc, const axis2_env_t *env)
axis2_flow *(* get_in_flow )(const axis2_svc_t *svc, const axis2_env_t *env)
axis2_status_t(* set_in_flow )(axis2_svc_t *svc, const axis2_env_t *env, struct axis2_flow *in_flow)
axis2_flow *(* get_out_flow )(const axis2_svc_t *svc, const axis2_env_t *env)
axis2_status_t(* set_out_flow )(axis2_svc_t *svc, const axis2_env_t *env, struct axis2_flow *out_flow)
axis2_flow *(* get_fault_in_flow )(const axis2_svc_t *svc, const axis2_env_t *env)
axis2_status_t(* set_fault_in_flow )(axis2_svc_t *svc, const axis2_env_t *env, struct axis2_flow *fault_flow)
axis2_flow *(* get_fault_out_flow )(const axis2_svc_t *svc, const axis2_env_t *env)
axis2_status_t(* set_fault_out_flow )(axis2_svc_t *svc, const axis2_env_t *env, struct axis2_flow *fault_flow)
axis2_op *(* get_op_by_soap_action )(const axis2_svc_t *svc, const axis2_env_t *env, const axis2_char_t *soap_action)
axis2_op *(* get_op_by_soap_action_and_endpoint )(const axis2_svc_t *svc, const axis2_env_t *env, const axis2_char_t *soap_action, const axis2_qname_t *endpoint)
const axis2_char_t *(* get_name )(const axis2_svc_t *svc, const axis2_env_t *env)
axis2_status_t(* set_name )(axis2_svc_t *svc, const axis2_env_t *env, const axis2_char_t *svc_name)
axis2_status_t(* set_last_update )(axis2_svc_t *svc, const axis2_env_t *env)
long(* get_last_update )(const axis2_svc_t *svc, const axis2_env_t *env)
const axis2_char_t *(* get_svc_desc )(const axis2_svc_t *svc, const axis2_env_t *env)
axis2_status_t(* set_svc_desc )(axis2_svc_t *svc, const axis2_env_t *env, const axis2_char_t *svc_desc)
const axis2_char_t *(* get_file_name )(const axis2_svc_t *svc, const axis2_env_t *env)
axis2_status_t(* set_file_name )(axis2_svc_t *svc, const axis2_env_t *env, const axis2_char_t *file_name)
axis2_hash_t *(* get_all_endpoints )(const axis2_svc_t *svc, const axis2_env_t *env)
axis2_status_t(* set_all_endpoints )(axis2_svc_t *svc, const axis2_env_t *env, axis2_hash_t *endpoints)
axis2_status_t(* set_endpoint )(axis2_svc_t *svc, const axis2_env_t *env, struct axis2_wsdl_endpoint *endpoint)
axis2_wsdl_endpoint *(* get_endpoint )(const axis2_svc_t *svc, const axis2_env_t *env, const axis2_qname_t *qname)
const axis2_char_t *(* get_namespace )(const axis2_svc_t *svc, const axis2_env_t *env)
axis2_status_t(* add_mapping )(axis2_svc_t *svc, const axis2_env_t *env, const axis2_char_t *wsa_action, struct axis2_op *axis2_op)
axis2_status_t(* add_module_qname )(axis2_svc_t *svc, const axis2_env_t *env, const axis2_qname_t *module_qname)
axis2_array_list_t *(* get_all_module_qnames )(const axis2_svc_t *svc, const axis2_env_t *env)
axis2_bool_t(* is_schema_location_adjusted )(axis2_svc_t *svc, const axis2_env_t *env)
axis2_status_t(* set_schema_location_adjusted )(axis2_svc_t *svc, const axis2_env_t *env, const axis2_bool_t adjusted)
axis2_hash_t *(* get_schema_mapping_table )(const axis2_svc_t *svc, const axis2_env_t *env)
axis2_status_t(* set_schema_mapping_table )(axis2_svc_t *svc, const axis2_env_t *env, axis2_hash_t *table)
const axis2_char_t *(* get_custom_schema_prefix )(const axis2_svc_t *svc, const axis2_env_t *env)
axis2_status_t(* set_custom_schema_prefix )(axis2_svc_t *svc, const axis2_env_t *env, const axis2_char_t *prefix)
const axis2_char_t *(* get_custom_schema_suffix )(const axis2_svc_t *svc, const axis2_env_t *env)
axis2_status_t(* set_custom_schema_suffix )(axis2_svc_t *svc, const axis2_env_t *env, const axis2_char_t *suffix)
axis2_status_t(* print_schema )(axis2_svc_t *svc, const axis2_env_t *env, axis2_stream_t *out_stream)
xml_schema_t *(* get_schema )(const axis2_svc_t *svc, const axis2_env_t *env, const int index)
xml_schema_t *(* add_all_namespaces )(axis2_svc_t *svc, const axis2_env_t *env, int index)
axis2_array_list_t *(* get_all_schemas )(const axis2_svc_t *svc, const axis2_env_t *env)
axis2_status_t(* add_schema )(axis2_svc_t *svc, const axis2_env_t *env, xml_schema_t *schema)
axis2_status_t(* add_all_schemas )(axis2_svc_t *svc, const axis2_env_t *env, axis2_array_list_t *schemas)
const axis2_char_t *(* get_schema_target_ns )(const axis2_svc_t *svc, const axis2_env_t *env)
axis2_status_t(* set_schema_target_ns )(axis2_svc_t *svc, const axis2_env_t *env, const axis2_char_t *ns)
const axis2_char_t *(* get_schema_target_ns_prefix )(const axis2_svc_t *svc, const axis2_env_t *env)
axis2_status_t(* set_schema_target_ns_prefix )(axis2_svc_t *svc, const axis2_env_t *env, const axis2_char_t *prefix)
const axis2_char_t *(* get_target_ns )(const axis2_svc_t *svc, const axis2_env_t *env)
axis2_status_t(* set_target_ns )(axis2_svc_t *svc, const axis2_env_t *env, const axis2_char_t *ns)
const axis2_char_t *(* get_target_ns_prefix )(const axis2_svc_t *svc, const axis2_env_t *env)
axis2_status_t(* set_target_ns_prefix )(axis2_svc_t *svc, const axis2_env_t *env, const axis2_char_t *prefix)
xml_schema_element_t *(* get_schema_element )(const axis2_svc_t *svc, const axis2_env_t *env, const axis2_qname_t *qname)
axis2_hash_t *(* get_ns_map )(const axis2_svc_t *svc, const axis2_env_t *env)
axis2_status_t(* set_ns_map )(axis2_svc_t *svc, const axis2_env_t *env, axis2_hash_t *ns_map)
axis2_status_t(* populate_schema_mappings )(axis2_svc_t *svc, const axis2_env_t *env)


Detailed Description

service ops struct. Encapsulator struct for ops of axis2_svc.


Member Data Documentation

axis2_status_t( * axis2_svc_ops::free)(axis2_svc_t *svc, const axis2_env_t *env)

Frees service.

Parameters:
svc pointer to service struct
env pointer to environment struct
Returns:
AXIS2_SUCCESS on success, else AXIS2_FAILURE

axis2_status_t( * axis2_svc_ops::add_op)(axis2_svc_t *svc, const axis2_env_t *env, struct axis2_op *op)

Adds operation.

Parameters:
svc pointer to service struct
env pointer to environment struct
op pointer to operation struct, service assumes ownership of operation
Returns:
AXIS2_SUCCESS on success, else AXIS2_FAILURE

struct axis2_op*( * axis2_svc_ops::get_op_with_qname)(const axis2_svc_t *svc, const axis2_env_t *env, const axis2_qname_t *op_qname)

Gets operation corresponding to the given QName.

Parameters:
svc pointer to service struct
env pointer to environment struct
op_qname pointer to QName representing operation QName
Returns:
pointer to operation corresponding to given QName

struct axis2_op*( * axis2_svc_ops::get_op_with_name)(const axis2_svc_t *svc, const axis2_env_t *env, const axis2_char_t *op_name)

Gets operation corresponding to the name.

Parameters:
svc pointer to service struct
env pointer to environment struct
op_name operation name string
Returns:
pointer to operation corresponding to given name

axis2_hash_t*( * axis2_svc_ops::get_all_ops)(const axis2_svc_t *svc, const axis2_env_t *env)

Gets all operations of service.

Parameters:
svc pointer to service struct
env pointer to environment struct
Returns:
pointer to hash map containing all operations of the service

axis2_status_t( * axis2_svc_ops::set_parent)(axis2_svc_t *svc, const axis2_env_t *env, struct axis2_svc_grp *svc_grp)

Sets parent which is of type service group.

Parameters:
svc pointer to service struct
env pointer to environment struct
svc_grp pointer to parent service group
Returns:
AXIS2_SUCCESS on success, else AXIS2_FAILURE

struct axis2_svc_grp*( * axis2_svc_ops::get_parent)(const axis2_svc_t *svc, const axis2_env_t *env)

Gets parent which is of type service group.

Parameters:
svc pointer to service struct
env pointer to environment struct
Returns:
pointer to parent service group

axis2_status_t( * axis2_svc_ops::set_qname)(axis2_svc_t *svc, const axis2_env_t *env, const axis2_qname_t *qname)

Sets QName.

Parameters:
svc pointer to service struct
env pointer to environment struct
qname pointer to QName
Returns:
AXIS2_SUCCESS on success, else AXIS2_FAILURE

const axis2_qname_t*( * axis2_svc_ops::get_qname)(const axis2_svc_t *svc, const axis2_env_t *env)

Gets QName.

Parameters:
svc pointer to service struct
env pointer to environment struct
Returns:
pointer to QName

axis2_status_t( * axis2_svc_ops::add_param)(axis2_svc_t *svc, const axis2_env_t *env, axis2_param_t *param)

Adds given parameter to operation.

Parameters:
svc pointer to service struct
env pointer to environment struct
param pointer to parameter, service assumes ownership of parameter
Returns:
AXIS2_SUCCESS on success, else AXIS2_FAILURE

axis2_param_t*( * axis2_svc_ops::get_param)(const axis2_svc_t *svc, const axis2_env_t *env, const axis2_char_t *name)

Gets named parameter.

Parameters:
svc pointer to service struct
env pointer to environment struct
name name string
Returns:
pointer to named parameter if exists, else NULL. Returns a reference, not a cloned copy

axis2_array_list_t*( * axis2_svc_ops::get_all_params)(const axis2_svc_t *svc, const axis2_env_t *env)

Gets all parameters stored within service.

Parameters:
svc pointer to service struct
env pointer to environment struct
Returns:
pointer to array list of parameters, returns a reference, not a cloned copy

axis2_bool_t( * axis2_svc_ops::is_param_locked)(axis2_svc_t *svc, const axis2_env_t *env, const axis2_char_t *param_name)

Checks if the named parameter is locked.

Parameters:
svc pointer to service struct
env pointer to environment struct
param_name parameter name
Returns:
AXIS2_TRUE if the named parameter is locked, else AXIS2_FALSE

axis2_status_t( * axis2_svc_ops::set_wsdl_interface)(axis2_svc_t *svc, const axis2_env_t *env, struct axis2_wsdl_interface *wsdl_interface)

Sets WSDL interface for service.

Parameters:
svc pointer to service struct
env pointer to environment struct
wsdl_interface pointer to wsdl interface struct
Returns:
AXIS2_SUCCESS on success, else AXIS2_FAILURE

struct axis2_wsdl_interface*( * axis2_svc_ops::get_wsdl_interface)(const axis2_svc_t *svc, const axis2_env_t *env)

Gets WSDL interface for service.

Parameters:
svc pointer to service struct
env pointer to environment struct
Returns:
pointer to wsdl interface

axis2_status_t( * axis2_svc_ops::engage_module)(axis2_svc_t *svc, const axis2_env_t *env, struct axis2_module_desc *module_desc, struct axis2_conf *conf)

Engages given module to service.

Parameters:
svc pointer to service struct
env pointer to environment struct
module_desc pointer to module description to be engaged, service does not assume the ownership of module
conf pointer to configuration, it is configuration that holds module information
Returns:
AXIS2_SUCCESS on success, else AXIS2_FAILURE

axis2_status_t( * axis2_svc_ops::add_module_ops)(axis2_svc_t *svc, const axis2_env_t *env, struct axis2_module_desc *module_desc, struct axis2_conf *axis2_config)

Adds operations defined in a module to this service. It is possible to define operations that are associated to a module in a module.xml file. These operations in turn could be invoked in relation to a service. This method allows those module related operation to be added to a service.

Parameters:
svc pointer to service struct
env pointer to environment struct
module_desc pointer to module description containing module related operation information. service does not assume the ownership of module description
conf pointer to configuration, it is configuration that stores the modules
Returns:
AXIS2_SUCCESS on success, else AXIS2_FAILURE

axis2_status_t( * axis2_svc_ops::add_to_engaged_module_list)(axis2_svc_t *svc, const axis2_env_t *env, struct axis2_module_desc *module_desc)

Adds given module description to engaged module list.

Parameters:
svc pointer to service struct
env pointer to environment struct
module_desc pointer to module description, service does not assume the ownership of module description
Returns:
AXIS2_SUCCESS on success, else AXIS2_FAILURE

axis2_array_list_t*( * axis2_svc_ops::get_all_engaged_modules)(const axis2_svc_t *svc, const axis2_env_t *env)

Gets all engaged modules.

Parameters:
svc pointer to service struct
env pointer to environment struct
Returns:
pointer to array list containing all engaged modules

void*( * axis2_svc_ops::get_wsdl_op)(const axis2_svc_t *svc, const axis2_env_t *env, const axis2_qname_t *op_qname)

Gets the WSDL operation element in service interface.

Parameters:
svc pointer to service struct
env pointer to environment struct
op_qname pointer to QName of required operation
Returns:
pointer to WSDL operation as a void pointer

axis2_status_t( * axis2_svc_ops::set_style)(axis2_svc_t *svc, const axis2_env_t *env, const axis2_char_t *style)

Sets style. Style can be either RPC or document literal.

Parameters:
svc pointer to service struct
env pointer to environment struct
style style of service as defined in WSDL
Returns:
AXIS2_SUCCESS on success, else AXIS2_FAILURE

const axis2_char_t*( * axis2_svc_ops::get_style)(const axis2_svc_t *svc, const axis2_env_t *env)

Gets style. Style can be either RPC or document literal.

Parameters:
svc pointer to service struct
env pointer to environment struct
Returns:
string representing the style of service

struct axis2_flow*( * axis2_svc_ops::get_in_flow)(const axis2_svc_t *svc, const axis2_env_t *env)

Gets in flow. In flow is the list of phases invoked along in path.

Parameters:
svc pointer to service struct
env pointer to environment struct
Returns:
pointer to flow representing in flow

axis2_status_t( * axis2_svc_ops::set_in_flow)(axis2_svc_t *svc, const axis2_env_t *env, struct axis2_flow *in_flow)

Sets in flow. In flow is the list of phases invoked along in path.

Parameters:
svc pointer to service struct
env pointer to environment struct
in_flow pointer to flow representing in flow
Returns:
AXIS2_SUCCESS on success, else AXIS2_FAILURE

struct axis2_flow*( * axis2_svc_ops::get_out_flow)(const axis2_svc_t *svc, const axis2_env_t *env)

Gets out flow. Out flow is the list of phases invoked along out path.

Parameters:
svc pointer to service struct
env pointer to environment struct
Returns:
pointer to flow representing out flow

axis2_status_t( * axis2_svc_ops::set_out_flow)(axis2_svc_t *svc, const axis2_env_t *env, struct axis2_flow *out_flow)

Sets out flow. Out flow is the list of phases invoked along out path.

Parameters:
svc pointer to service struct
env pointer to environment struct
Returns:
out_flow pointer to flow representing out flow

AXIS2_SUCCESS on success, else AXIS2_FAILURE

struct axis2_flow*( * axis2_svc_ops::get_fault_in_flow)(const axis2_svc_t *svc, const axis2_env_t *env)

Gets fault in flow. Fault in flow is the list of phases invoked along in path if a fault happens.

Parameters:
svc pointer to service struct
env pointer to environment struct
Returns:
pointer to flow representing fault in flow

axis2_status_t( * axis2_svc_ops::set_fault_in_flow)(axis2_svc_t *svc, const axis2_env_t *env, struct axis2_flow *fault_flow)

Sets fault in flow. Fault in flow is the list of phases invoked along in path if a fault happens.

Parameters:
svc pointer to service struct
env pointer to environment struct
fault_flow pointer to flow representing fault in flow
Returns:
AXIS2_SUCCESS on success, else AXIS2_FAILURE

struct axis2_flow*( * axis2_svc_ops::get_fault_out_flow)(const axis2_svc_t *svc, const axis2_env_t *env)

Gets fault out flow. Fault out flow is the list of phases invoked along out path if a fault happens.

Parameters:
svc pointer to service struct
env pointer to environment struct
Returns:
pointer to flow representing fault out flow

axis2_status_t( * axis2_svc_ops::set_fault_out_flow)(axis2_svc_t *svc, const axis2_env_t *env, struct axis2_flow *fault_flow)

Sets fault out flow. Fault out flow is the list of phases invoked along out path if a fault happens.

Parameters:
svc pointer to service struct
env pointer to environment struct
fault_flow pointer to flow representing fault out flow
Returns:
AXIS2_SUCCESS on success, else AXIS2_FAILURE

struct axis2_op*( * axis2_svc_ops::get_op_by_soap_action)(const axis2_svc_t *svc, const axis2_env_t *env, const axis2_char_t *soap_action)

Gets operation corresponding to given SOAP Action.

Parameters:
svc pointer to service struct
env pointer to environment struct
soap_action SOAP action string
Returns:
pointer to operation corresponding to given SOAP action if one exists, else NULL. Returns a reference, not a cloned copy

struct axis2_op*( * axis2_svc_ops::get_op_by_soap_action_and_endpoint)(const axis2_svc_t *svc, const axis2_env_t *env, const axis2_char_t *soap_action, const axis2_qname_t *endpoint)

Gets operation corresponding to given SOAP Action and endpoint QName.

Parameters:
svc pointer to service struct
env pointer to environment struct
soap_action SOAP action string
endpoint pointer QName representing endpoint URI
Returns:
pointer operation corresponding to given SOAP Action and endpoint QName.

const axis2_char_t*( * axis2_svc_ops::get_name)(const axis2_svc_t *svc, const axis2_env_t *env)

Gets service name.

Parameters:
svc pointer to service struct
env pointer to environment struct
Returns:
service name string

axis2_status_t( * axis2_svc_ops::set_name)(axis2_svc_t *svc, const axis2_env_t *env, const axis2_char_t *svc_name)

Sets service name.

Parameters:
svc pointer to service struct
env pointer to environment struct
svc_name service name string
Returns:
AXIS2_SUCCESS on success, else AXIS2_FAILURE

axis2_status_t( * axis2_svc_ops::set_last_update)(axis2_svc_t *svc, const axis2_env_t *env)

Sets current time as last update time of the service.

Parameters:
svc pointer to service struct
env pointer to environment struct
Returns:
AXIS2_SUCCESS on success, else AXIS2_FAILURE

long( * axis2_svc_ops::get_last_update)(const axis2_svc_t *svc, const axis2_env_t *env)

Gets last update time of the service.

Parameters:
svc pointer to service struct
env pointer to environment struct
Returns:
last updated time in seconds

const axis2_char_t*( * axis2_svc_ops::get_svc_desc)(const axis2_svc_t *svc, const axis2_env_t *env)

Get the description of the services, which is in the service.xml, tag

Parameters:
svc pointer to service struct
env pointer to environment struct
Returns:
services description string

axis2_status_t( * axis2_svc_ops::set_svc_desc)(axis2_svc_t *svc, const axis2_env_t *env, const axis2_char_t *svc_desc)

Set the description of the service which is in service.xml

Parameters:
svc pointer to service struct
env pointer to environment struct
Returns:
AXIS2_SUCCESS on success, else AXIS2_FAILURE

const axis2_char_t*( * axis2_svc_ops::get_file_name)(const axis2_svc_t *svc, const axis2_env_t *env)

Gets the name of the file that holds the implementation of the service. service implementation is compiled into shared libraries and is placed in the respective sub folder in the services folder of Axis2 repository.

Parameters:
svc pointer to service struct
env pointer to environment struct
Returns:
file name string

axis2_status_t( * axis2_svc_ops::set_file_name)(axis2_svc_t *svc, const axis2_env_t *env, const axis2_char_t *file_name)

Sets the name of the file that holds the implementation of the service. service implementation is compiled into shared libraries and is placed in the respective sub folder in the services folder of Axis2 repository.

Parameters:
svc pointer to service struct
env pointer to environment struct
file_name file name string
Returns:
AXIS2_SUCCESS on success, else AXIS2_FAILURE

axis2_hash_t*( * axis2_svc_ops::get_all_endpoints)(const axis2_svc_t *svc, const axis2_env_t *env)

Gets all endpoints associated with the service.

Parameters:
svc pointer to service struct
env pointer to environment struct
Returns:
pointer to hash map containing all endpoints

axis2_status_t( * axis2_svc_ops::set_all_endpoints)(axis2_svc_t *svc, const axis2_env_t *env, axis2_hash_t *endpoints)

Sets the list of endpoints associated with the service.

Parameters:
svc pointer to service struct
env pointer to environment struct
endpoints pointer to hash map containing all endpoints
Returns:
AXIS2_SUCCESS on success, else AXIS2_FAILURE

axis2_status_t( * axis2_svc_ops::set_endpoint)(axis2_svc_t *svc, const axis2_env_t *env, struct axis2_wsdl_endpoint *endpoint)

Adds the given endpoint to the list of endpoints associated with the service.

Parameters:
svc pointer to service struct
env pointer to environment struct
endpoint pointer to WSDL endpoint, service assumes ownership of endpoint
Returns:
AXIS2_SUCCESS on success, else AXIS2_FAILURE

struct axis2_wsdl_endpoint*( * axis2_svc_ops::get_endpoint)(const axis2_svc_t *svc, const axis2_env_t *env, const axis2_qname_t *qname)

Gets endpoint corresponding to given name from list of endpoints associated with the service.

Parameters:
svc pointer to service struct
env pointer to environment struct
Returns:
pointer to WSDL endpoint, returns a reference, not a cloned copy

const axis2_char_t*( * axis2_svc_ops::get_namespace)(const axis2_svc_t *svc, const axis2_env_t *env)

Gets namespace.

Parameters:
svc pointer to service struct
env pointer to environment struct
Returns:
namespace URI string

axis2_status_t( * axis2_svc_ops::add_mapping)(axis2_svc_t *svc, const axis2_env_t *env, const axis2_char_t *wsa_action, struct axis2_op *axis2_op)

Adds WS-Addressing mapping for a given operation. The services.xml configuration file could specify a SOAP action that would map to one of the service operations. This method could be used to register that mapping against operations. WS-Addressing based dispatcher makes use of this mapping to identify the operation to be invoked, given WSA action.

Parameters:
svc pointer to service struct
env pointer to environment struct
wsa_action WSA action string
op pointer to operation that maps to the given WSA action
Returns:
AXIS2_SUCCESS on success, else AXIS2_FAILURE

axis2_status_t( * axis2_svc_ops::add_module_qname)(axis2_svc_t *svc, const axis2_env_t *env, const axis2_qname_t *module_qname)

Adds a module qname to list of module QNames associated with service.

Parameters:
svc pointer to service struct
env pointer to environment struct
module_qname pointer to QName to be added, this method clones the QName
Returns:
AXIS2_SUCCESS on success, else AXIS2_FAILURE

axis2_array_list_t*( * axis2_svc_ops::get_all_module_qnames)(const axis2_svc_t *svc, const axis2_env_t *env)

Gets all module QNames associated with the service as a list.

Parameters:
svc pointer to service struct
env pointer to environment struct
Returns:
pointer to array list containing QNames

axis2_bool_t( * axis2_svc_ops::is_schema_location_adjusted)(axis2_svc_t *svc, const axis2_env_t *env)

Checks if the XML schema location is adjusted.

Parameters:
svc pointer to service struct
env pointer to environment struct
Returns:
AXIS2_TRUE if XML schema is adjusted, else AXIS2_FALSE

axis2_status_t( * axis2_svc_ops::set_schema_location_adjusted)(axis2_svc_t *svc, const axis2_env_t *env, const axis2_bool_t adjusted)

Sets the bool value indicating if the XML schema location is adjusted.

Parameters:
svc pointer to service struct
env pointer to environment struct
adjusted AXIS2_TRUE if XML schema is adjusted, else AXIS2_FALSE
Returns:
AXIS2_SUCCESS on success, else AXIS2_FAILURE

axis2_hash_t*( * axis2_svc_ops::get_schema_mapping_table)(const axis2_svc_t *svc, const axis2_env_t *env)

Gets XML schema mapping table for service.

Parameters:
svc pointer to service struct
env pointer to environment struct
Returns:
pointer to hash map with XML schema mappings, returns a reference, not a cloned copy

axis2_status_t( * axis2_svc_ops::set_schema_mapping_table)(axis2_svc_t *svc, const axis2_env_t *env, axis2_hash_t *table)

Sets XML schema mapping table for service.

Parameters:
svc pointer to service struct
env pointer to environment struct
table pointer to hash map with XML schema mappings, service assumes ownership of the map
Returns:
AXIS2_SUCCESS on success, else AXIS2_FAILURE

const axis2_char_t*( * axis2_svc_ops::get_custom_schema_prefix)(const axis2_svc_t *svc, const axis2_env_t *env)

Gets custom schema prefix.

Parameters:
svc pointer to service struct
env pointer to environment struct
Returns:
custom schema prefix string

axis2_status_t( * axis2_svc_ops::set_custom_schema_prefix)(axis2_svc_t *svc, const axis2_env_t *env, const axis2_char_t *prefix)

Sets custom schema prefix.

Parameters:
svc pointer to service struct
env pointer to environment struct
prefix custom schema prefix string
Returns:
AXIS2_SUCCESS on success, else AXIS2_FAILURE

const axis2_char_t*( * axis2_svc_ops::get_custom_schema_suffix)(const axis2_svc_t *svc, const axis2_env_t *env)

Gets custom schema suffix.

Parameters:
svc pointer to service struct
env pointer to environment struct
Returns:
custom schema suffix string

axis2_status_t( * axis2_svc_ops::set_custom_schema_suffix)(axis2_svc_t *svc, const axis2_env_t *env, const axis2_char_t *suffix)

Sets custom schema suffix.

Parameters:
svc pointer to service struct
env pointer to environment struct
suffix custom schema suffix string
Returns:
AXIS2_SUCCESS on success, else AXIS2_FAILURE

axis2_status_t( * axis2_svc_ops::print_schema)(axis2_svc_t *svc, const axis2_env_t *env, axis2_stream_t *out_stream)

Prints the schema to given stream.

Parameters:
svc pointer to service struct
env pointer to environment struct
out_stream stream to print to
Returns:
AXIS2_SUCCESS on success, else AXIS2_FAILURE

xml_schema_t*( * axis2_svc_ops::get_schema)(const axis2_svc_t *svc, const axis2_env_t *env, const int index)

Gets the XML schema at the given index of XML schema array list.

Parameters:
svc pointer to service struct
env pointer to environment struct
index index of the XML schema to be retrieved
Returns:
pointer to XML schema, returns a reference, not a cloned copy

xml_schema_t*( * axis2_svc_ops::add_all_namespaces)(axis2_svc_t *svc, const axis2_env_t *env, int index)

Adds all namespaces in the namespace map to the XML schema at the given index of the XML schema array list.

Parameters:
svc pointer to service struct
env pointer to environment struct
index index of the XML schema to be processed
Returns:
pointer to XML schema with namespaces added, returns a reference, not a cloned copy

axis2_array_list_t*( * axis2_svc_ops::get_all_schemas)(const axis2_svc_t *svc, const axis2_env_t *env)

Gets the list of XML schemas associated with service.

Parameters:
svc pointer to service struct
env pointer to environment struct
Returns:
pointer to array list of XML schemas, returns a reference, not a cloned copy

axis2_status_t( * axis2_svc_ops::add_schema)(axis2_svc_t *svc, const axis2_env_t *env, xml_schema_t *schema)

Adds the given XML schema to the list of XML schemas associated with the service.

Parameters:
svc pointer to service struct
env pointer to environment struct
schema pointer to XML schema struct, service assumes the ownership of struct
Returns:
AXIS2_SUCCESS on success, else AXIS2_FAILURE

axis2_status_t( * axis2_svc_ops::add_all_schemas)(axis2_svc_t *svc, const axis2_env_t *env, axis2_array_list_t *schemas)

Adds the list of all XML schemas to service.

Parameters:
svc pointer to service struct
env pointer to environment struct
schemas pointer to array list containing XML schemas
Returns:
AXIS2_SUCCESS on success, else AXIS2_FAILURE

const axis2_char_t*( * axis2_svc_ops::get_schema_target_ns)(const axis2_svc_t *svc, const axis2_env_t *env)

Gets XML schema's target namespace.

Parameters:
svc pointer to service struct
env pointer to environment struct
Returns:
XML schema target namespace string

axis2_status_t( * axis2_svc_ops::set_schema_target_ns)(axis2_svc_t *svc, const axis2_env_t *env, const axis2_char_t *ns)

Sets XML schema's target namespace.

Parameters:
svc pointer to service struct
env pointer to environment struct
ns namespace string
Returns:
AXIS2_SUCCESS on success, else AXIS2_FAILURE

const axis2_char_t*( * axis2_svc_ops::get_schema_target_ns_prefix)(const axis2_svc_t *svc, const axis2_env_t *env)

Gets XML schema's target namespace prefix.

Parameters:
svc pointer to service struct
env pointer to environment struct
Returns:
XML schema target namespace prefix string

axis2_status_t( * axis2_svc_ops::set_schema_target_ns_prefix)(axis2_svc_t *svc, const axis2_env_t *env, const axis2_char_t *prefix)

Sets XML schema's target namespace prefix.

Parameters:
svc pointer to service struct
env pointer to environment struct
prefix namespace prefix string
Returns:
AXIS2_SUCCESS on success, else AXIS2_FAILURE

const axis2_char_t*( * axis2_svc_ops::get_target_ns)(const axis2_svc_t *svc, const axis2_env_t *env)

Gets target namespace.

Parameters:
svc pointer to service struct
env pointer to environment struct
Returns:
target namespace as a string

axis2_status_t( * axis2_svc_ops::set_target_ns)(axis2_svc_t *svc, const axis2_env_t *env, const axis2_char_t *ns)

Sets target namespace.

Parameters:
svc pointer to service struct
env pointer to environment struct
ns target namespace as a string
Returns:
AXIS2_SUCCESS on success, else AXIS2_FAILURE

const axis2_char_t*( * axis2_svc_ops::get_target_ns_prefix)(const axis2_svc_t *svc, const axis2_env_t *env)

Gets target namespace prefix.

Parameters:
svc pointer to service struct
env pointer to environment struct
Returns:
target namespace prefix string

axis2_status_t( * axis2_svc_ops::set_target_ns_prefix)(axis2_svc_t *svc, const axis2_env_t *env, const axis2_char_t *prefix)

Sets target namespace prefix.

Parameters:
svc pointer to service struct
env pointer to environment struct
prefix target namespace prefix string
Returns:
AXIS2_SUCCESS on success, else AXIS2_FAILURE

xml_schema_element_t*( * axis2_svc_ops::get_schema_element)(const axis2_svc_t *svc, const axis2_env_t *env, const axis2_qname_t *qname)

Gets XML schemas element corresponding to the given QName.

Parameters:
svc pointer to service struct
env pointer to environment struct
qname QName of the XML schema element to be retrieved
Returns:
pointer to XML schema element, returns a reference, not a cloned copy

axis2_hash_t*( * axis2_svc_ops::get_ns_map)(const axis2_svc_t *svc, const axis2_env_t *env)

Gets the namespace map with all namespaces related to service.

Parameters:
svc pointer to service struct
env pointer to environment struct
Returns:
pointer to hash map containing all namespaces, returns a reference, not a cloned copy

axis2_status_t( * axis2_svc_ops::set_ns_map)(axis2_svc_t *svc, const axis2_env_t *env, axis2_hash_t *ns_map)

Sets the namespace map with all namespaces related to service.

Parameters:
svc pointer to service struct
env pointer to environment struct
ns_map pointer to hash map containing all namespaces
Returns:
AXIS2_SUCCESS on success, else AXIS2_FAILURE

axis2_status_t( * axis2_svc_ops::populate_schema_mappings)(axis2_svc_t *svc, const axis2_env_t *env)

Populates the schema mappings. This method is used in code generation and WSDL generation (WSDL2C and C2WSDL). This method deals with the imported schemas that would be there in the WSDL.

Parameters:
svc pointer to service struct
env pointer to environment struct
Returns:
AXIS2_SUCCESS on success, else AXIS2_FAILURE


The documentation for this struct was generated from the following file:
Generated on Wed Dec 20 20:35:11 2006 for Axis2/C by  doxygen 1.5.1