#include <axis2_svc.h>
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) |
axis2_status_t( * axis2_svc_ops::free)(axis2_svc_t *svc, const axis2_env_t *env) |
Frees service.
svc | pointer to service struct | |
env | pointer to environment struct |
axis2_status_t( * axis2_svc_ops::add_op)(axis2_svc_t *svc, const axis2_env_t *env, struct axis2_op *op) |
Adds operation.
svc | pointer to service struct | |
env | pointer to environment struct | |
op | pointer to operation struct, service assumes ownership of operation |
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.
svc | pointer to service struct | |
env | pointer to environment struct | |
op_qname | pointer to QName representing operation 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.
svc | pointer to service struct | |
env | pointer to environment struct | |
op_name | operation name string |
axis2_hash_t*( * axis2_svc_ops::get_all_ops)(const axis2_svc_t *svc, const axis2_env_t *env) |
Gets all operations of service.
svc | pointer to service struct | |
env | pointer to environment struct |
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.
svc | pointer to service struct | |
env | pointer to environment struct | |
svc_grp | pointer to parent service group |
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.
svc | pointer to service struct | |
env | pointer to environment struct |
axis2_status_t( * axis2_svc_ops::set_qname)(axis2_svc_t *svc, const axis2_env_t *env, const axis2_qname_t *qname) |
Sets QName.
svc | pointer to service struct | |
env | pointer to environment struct | |
qname | pointer to QName |
const axis2_qname_t*( * axis2_svc_ops::get_qname)(const axis2_svc_t *svc, const axis2_env_t *env) |
Gets QName.
svc | pointer to service struct | |
env | pointer to environment struct |
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.
svc | pointer to service struct | |
env | pointer to environment struct | |
param | pointer to parameter, service assumes ownership of parameter |
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.
svc | pointer to service struct | |
env | pointer to environment struct | |
name | name string |
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.
svc | pointer to service struct | |
env | pointer to environment struct |
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.
svc | pointer to service struct | |
env | pointer to environment struct | |
param_name | parameter name |
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.
svc | pointer to service struct | |
env | pointer to environment struct | |
wsdl_interface | pointer to wsdl interface struct |
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.
svc | pointer to service struct | |
env | pointer to environment struct |
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.
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 |
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.
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 |
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.
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 |
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.
svc | pointer to service struct | |
env | pointer to environment struct |
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.
svc | pointer to service struct | |
env | pointer to environment struct | |
op_qname | pointer to QName of required operation |
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.
svc | pointer to service struct | |
env | pointer to environment struct | |
style | style of service as defined in WSDL |
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.
svc | pointer to service struct | |
env | pointer to environment struct |
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.
svc | pointer to service struct | |
env | pointer to environment struct |
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.
svc | pointer to service struct | |
env | pointer to environment struct | |
in_flow | pointer to flow representing in flow |
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.
svc | pointer to service struct | |
env | pointer to environment struct |
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.
svc | pointer to service struct | |
env | pointer to environment struct |
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.
svc | pointer to service struct | |
env | pointer to environment struct |
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.
svc | pointer to service struct | |
env | pointer to environment struct | |
fault_flow | pointer to flow representing fault in flow |
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.
svc | pointer to service struct | |
env | pointer to environment struct |
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.
svc | pointer to service struct | |
env | pointer to environment struct | |
fault_flow | pointer to flow representing fault out flow |
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.
svc | pointer to service struct | |
env | pointer to environment struct | |
soap_action | SOAP action string |
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.
svc | pointer to service struct | |
env | pointer to environment struct | |
soap_action | SOAP action string | |
endpoint | pointer QName representing endpoint URI |
const axis2_char_t*( * axis2_svc_ops::get_name)(const axis2_svc_t *svc, const axis2_env_t *env) |
Gets service name.
svc | pointer to service struct | |
env | pointer to environment struct |
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.
svc | pointer to service struct | |
env | pointer to environment struct | |
svc_name | service name string |
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.
svc | pointer to service struct | |
env | pointer to environment struct |
long( * axis2_svc_ops::get_last_update)(const axis2_svc_t *svc, const axis2_env_t *env) |
Gets last update time of the service.
svc | pointer to service struct | |
env | pointer to environment struct |
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
svc | pointer to service struct | |
env | pointer to environment struct |
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
svc | pointer to service struct | |
env | pointer to environment struct |
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.
svc | pointer to service struct | |
env | pointer to environment struct |
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.
svc | pointer to service struct | |
env | pointer to environment struct | |
file_name | file name string |
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.
svc | pointer to service struct | |
env | pointer to environment struct |
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.
svc | pointer to service struct | |
env | pointer to environment struct | |
endpoints | pointer to hash map containing all endpoints |
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.
svc | pointer to service struct | |
env | pointer to environment struct | |
endpoint | pointer to WSDL endpoint, service assumes ownership of endpoint |
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.
svc | pointer to service struct | |
env | pointer to environment struct |
const axis2_char_t*( * axis2_svc_ops::get_namespace)(const axis2_svc_t *svc, const axis2_env_t *env) |
Gets namespace.
svc | pointer to service struct | |
env | pointer to environment struct |
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.
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 |
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.
svc | pointer to service struct | |
env | pointer to environment struct | |
module_qname | pointer to QName to be added, this method clones the QName |
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.
svc | pointer to service struct | |
env | pointer to environment struct |
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.
svc | pointer to service struct | |
env | pointer to environment struct |
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.
svc | pointer to service struct | |
env | pointer to environment struct | |
adjusted | AXIS2_TRUE if XML schema is adjusted, else AXIS2_FALSE |
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.
svc | pointer to service struct | |
env | pointer to environment struct |
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.
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 |
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.
svc | pointer to service struct | |
env | pointer to environment struct |
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.
svc | pointer to service struct | |
env | pointer to environment struct | |
prefix | custom schema prefix string |
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.
svc | pointer to service struct | |
env | pointer to environment struct |
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.
svc | pointer to service struct | |
env | pointer to environment struct | |
suffix | custom schema suffix string |
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.
svc | pointer to service struct | |
env | pointer to environment struct | |
out_stream | stream to print to |
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.
svc | pointer to service struct | |
env | pointer to environment struct | |
index | index of the XML schema to be retrieved |
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.
svc | pointer to service struct | |
env | pointer to environment struct | |
index | index of the XML schema to be processed |
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.
svc | pointer to service struct | |
env | pointer to environment struct |
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.
svc | pointer to service struct | |
env | pointer to environment struct | |
schema | pointer to XML schema struct, service assumes the ownership of struct |
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.
svc | pointer to service struct | |
env | pointer to environment struct | |
schemas | pointer to array list containing XML schemas |
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.
svc | pointer to service struct | |
env | pointer to environment struct |
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.
svc | pointer to service struct | |
env | pointer to environment struct | |
ns | namespace string |
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.
svc | pointer to service struct | |
env | pointer to environment struct |
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.
svc | pointer to service struct | |
env | pointer to environment struct | |
prefix | namespace prefix string |
const axis2_char_t*( * axis2_svc_ops::get_target_ns)(const axis2_svc_t *svc, const axis2_env_t *env) |
Gets target namespace.
svc | pointer to service struct | |
env | pointer to environment struct |
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.
svc | pointer to service struct | |
env | pointer to environment struct | |
ns | target namespace as a string |
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.
svc | pointer to service struct | |
env | pointer to environment struct |
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.
svc | pointer to service struct | |
env | pointer to environment struct | |
prefix | target namespace prefix string |
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.
svc | pointer to service struct | |
env | pointer to environment struct | |
qname | QName of the XML schema element to be retrieved |
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.
svc | pointer to service struct | |
env | pointer to environment struct |
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.
svc | pointer to service struct | |
env | pointer to environment struct | |
ns_map | pointer to hash map containing all namespaces |
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.
svc | pointer to service struct | |
env | pointer to environment struct |