Files | |
file | axis2_svc.h |
Typedefs | |
typedef struct axis2_svc | axis2_svc_t |
Functions | |
AXIS2_EXTERN void | axis2_svc_free (axis2_svc_t *svc, const axutil_env_t *env) |
AXIS2_EXTERN axis2_status_t | axis2_svc_add_op (axis2_svc_t *svc, const axutil_env_t *env, struct axis2_op *op) |
AXIS2_EXTERN struct axis2_op * | axis2_svc_get_op_with_qname (const axis2_svc_t *svc, const axutil_env_t *env, const axutil_qname_t *op_qname) |
AXIS2_EXTERN axutil_array_list_t * | axis2_svc_get_rest_op_list_with_method_and_location (const axis2_svc_t *svc, const axutil_env_t *env, const axis2_char_t *http_method, const axis2_char_t *http_location) |
AXIS2_EXTERN axutil_hash_t * | axis2_svc_get_rest_map (const axis2_svc_t *svc, const axutil_env_t *env) |
AXIS2_EXTERN struct axis2_op * | axis2_svc_get_op_with_name (const axis2_svc_t *svc, const axutil_env_t *env, const axis2_char_t *op_name) |
AXIS2_EXTERN axutil_hash_t * | axis2_svc_get_all_ops (const axis2_svc_t *svc, const axutil_env_t *env) |
AXIS2_EXTERN axis2_status_t | axis2_svc_set_parent (axis2_svc_t *svc, const axutil_env_t *env, struct axis2_svc_grp *svc_grp) |
AXIS2_EXTERN struct axis2_svc_grp * | axis2_svc_get_parent (const axis2_svc_t *svc, const axutil_env_t *env) |
AXIS2_EXTERN axis2_status_t | axis2_svc_set_qname (axis2_svc_t *svc, const axutil_env_t *env, const axutil_qname_t *qname) |
AXIS2_EXTERN const axutil_qname_t * | axis2_svc_get_qname (const axis2_svc_t *svc, const axutil_env_t *env) |
AXIS2_EXTERN axis2_status_t | axis2_svc_add_param (axis2_svc_t *svc, const axutil_env_t *env, axutil_param_t *param) |
AXIS2_EXTERN axutil_param_t * | axis2_svc_get_param (const axis2_svc_t *svc, const axutil_env_t *env, const axis2_char_t *name) |
AXIS2_EXTERN axutil_array_list_t * | axis2_svc_get_all_params (const axis2_svc_t *svc, const axutil_env_t *env) |
AXIS2_EXTERN axis2_bool_t | axis2_svc_is_param_locked (axis2_svc_t *svc, const axutil_env_t *env, const axis2_char_t *param_name) |
AXIS2_EXTERN axis2_status_t | axis2_svc_engage_module (axis2_svc_t *svc, const axutil_env_t *env, struct axis2_module_desc *module_desc, struct axis2_conf *conf) |
AXIS2_EXTERN axis2_status_t | axis2_svc_disengage_module (axis2_svc_t *svc, const axutil_env_t *env, struct axis2_module_desc *module_desc, struct axis2_conf *conf) |
AXIS2_EXTERN axis2_bool_t | axis2_svc_is_module_engaged (axis2_svc_t *svc, const axutil_env_t *env, axutil_qname_t *module_qname) |
AXIS2_EXTERN axutil_array_list_t * | axis2_svc_get_engaged_module_list (const axis2_svc_t *svc, const axutil_env_t *env) |
AXIS2_EXTERN axis2_status_t | axis2_svc_add_module_ops (axis2_svc_t *svc, const axutil_env_t *env, struct axis2_module_desc *module_desc, struct axis2_conf *axis2_config) |
AXIS2_EXTERN axis2_status_t | axis2_svc_set_style (axis2_svc_t *svc, const axutil_env_t *env, const axis2_char_t *style) |
AXIS2_EXTERN const axis2_char_t * | axis2_svc_get_style (const axis2_svc_t *svc, const axutil_env_t *env) |
AXIS2_EXTERN struct axis2_op * | axis2_svc_get_op_by_soap_action (const axis2_svc_t *svc, const axutil_env_t *env, const axis2_char_t *soap_action) |
AXIS2_EXTERN const axis2_char_t * | axis2_svc_get_name (const axis2_svc_t *svc, const axutil_env_t *env) |
AXIS2_EXTERN axis2_status_t | axis2_svc_set_name (axis2_svc_t *svc, const axutil_env_t *env, const axis2_char_t *svc_name) |
AXIS2_EXTERN axis2_status_t | axis2_svc_set_last_update (axis2_svc_t *svc, const axutil_env_t *env) |
AXIS2_EXTERN long | axis2_svc_get_last_update (const axis2_svc_t *svc, const axutil_env_t *env) |
AXIS2_EXTERN const axis2_char_t * | axis2_svc_get_svc_desc (const axis2_svc_t *svc, const axutil_env_t *env) |
AXIS2_EXTERN axis2_status_t | axis2_svc_set_svc_desc (axis2_svc_t *svc, const axutil_env_t *env, const axis2_char_t *svc_desc) |
AXIS2_EXTERN const axis2_char_t * | axis2_svc_get_svc_wsdl_path (const axis2_svc_t *svc, const axutil_env_t *env) |
AXIS2_EXTERN axis2_status_t | axis2_svc_set_svc_wsdl_path (axis2_svc_t *svc, const axutil_env_t *env, const axis2_char_t *wsdl_path) |
AXIS2_EXTERN const axis2_char_t * | axis2_svc_get_svc_folder_path (const axis2_svc_t *svc, const axutil_env_t *env) |
AXIS2_EXTERN axis2_status_t | axis2_svc_set_svc_folder_path (axis2_svc_t *svc, const axutil_env_t *env, const axis2_char_t *folder_path) |
AXIS2_EXTERN const axis2_char_t * | axis2_svc_get_file_name (const axis2_svc_t *svc, const axutil_env_t *env) |
AXIS2_EXTERN axis2_status_t | axis2_svc_set_file_name (axis2_svc_t *svc, const axutil_env_t *env, const axis2_char_t *file_name) |
AXIS2_EXTERN axis2_status_t | axis2_svc_add_mapping (axis2_svc_t *svc, const axutil_env_t *env, const axis2_char_t *wsa_action, struct axis2_op *axis2_op) |
AXIS2_EXTERN axis2_status_t | axis2_svc_add_rest_mapping (axis2_svc_t *svc, const axutil_env_t *env, const axis2_char_t *method, const axis2_char_t *location, struct axis2_op *axis2_op) |
AXIS2_EXTERN axis2_status_t | axis2_svc_add_module_qname (axis2_svc_t *svc, const axutil_env_t *env, const axutil_qname_t *module_qname) |
AXIS2_EXTERN axutil_array_list_t * | axis2_svc_get_all_module_qnames (const axis2_svc_t *svc, const axutil_env_t *env) |
AXIS2_EXTERN const axis2_char_t * | axis2_svc_get_target_ns (const axis2_svc_t *svc, const axutil_env_t *env) |
AXIS2_EXTERN axis2_status_t | saxis2_svc_et_target_ns (axis2_svc_t *svc, const axutil_env_t *env, const axis2_char_t *ns) |
AXIS2_EXTERN const axis2_char_t * | axis2_svc_get_target_ns_prefix (const axis2_svc_t *svc, const axutil_env_t *env) |
AXIS2_EXTERN axis2_status_t | axis2_svc_set_target_ns_prefix (axis2_svc_t *svc, const axutil_env_t *env, const axis2_char_t *prefix) |
AXIS2_EXTERN axutil_hash_t * | gaxis2_svc_et_ns_map (const axis2_svc_t *svc, const axutil_env_t *env) |
AXIS2_EXTERN axis2_status_t | axis2_svc_set_ns_map (axis2_svc_t *svc, const axutil_env_t *env, axutil_hash_t *ns_map) |
AXIS2_EXTERN axutil_param_container_t * | axis2_svc_get_param_container (const axis2_svc_t *svc, const axutil_env_t *env) |
AXIS2_EXTERN axis2_flow_container_t * | axis2_svc_get_flow_container (const axis2_svc_t *svc, const axutil_env_t *env) |
AXIS2_EXTERN axis2_svc_t * | axis2_svc_create (const axutil_env_t *env) |
AXIS2_EXTERN axis2_svc_t * | axis2_svc_create_with_qname (const axutil_env_t *env, const axutil_qname_t *qname) |
AXIS2_EXTERN void * | axis2_svc_get_impl_class (const axis2_svc_t *svc, const axutil_env_t *env) |
AXIS2_EXTERN axis2_status_t | axis2_svc_set_impl_class (axis2_svc_t *svc, const axutil_env_t *env, void *impl_class) |
AXIS2_EXTERN axis2_desc_t * | axis2_svc_get_base (const axis2_svc_t *svc, const axutil_env_t *env) |
AXIS2_EXTERN axutil_thread_mutex_t * | axis2_svc_get_mutex (const axis2_svc_t *svc, const axutil_env_t *env) |
typedef struct axis2_svc axis2_svc_t |
Type name for struct axis2_svc
AXIS2_EXTERN axis2_status_t axis2_svc_add_mapping | ( | axis2_svc_t * | svc, | |
const axutil_env_t * | env, | |||
const axis2_char_t * | wsa_action, | |||
struct axis2_op * | axis2_op | |||
) |
Gets all endpoints associated with the service.
svc | pointer to service struct | |
env | pointer to environment struct |
svc | pointer to service struct | |
env | pointer to environment struct | |
endpoints | pointer to hash map containing all endpoints |
svc | pointer to service struct | |
env | pointer to environment struct |
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_EXTERN axis2_status_t axis2_svc_add_module_ops | ( | axis2_svc_t * | svc, | |
const axutil_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_EXTERN axis2_status_t axis2_svc_add_module_qname | ( | axis2_svc_t * | svc, | |
const axutil_env_t * | env, | |||
const axutil_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_EXTERN axis2_status_t axis2_svc_add_op | ( | axis2_svc_t * | svc, | |
const axutil_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 |
AXIS2_EXTERN axis2_status_t axis2_svc_add_param | ( | axis2_svc_t * | svc, | |
const axutil_env_t * | env, | |||
axutil_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_EXTERN axis2_status_t axis2_svc_add_rest_mapping | ( | axis2_svc_t * | svc, | |
const axutil_env_t * | env, | |||
const axis2_char_t * | method, | |||
const axis2_char_t * | location, | |||
struct axis2_op * | axis2_op | |||
) |
Adds a REST mapping for a given RESTful operation. The services.xml configuration file could specify a HTTP Method and Location that would map to one of the service operations. This method could be used to register that mapping against operations. The REST based dispatcher makes use of this mapping to identify the operation to be invoked, given the URL.
svc | pointer to service struct | |
env | pointer to environment struct | |
method | REST HTTP Method | |
location | REST HTTP Location | |
op | pointer to operation that maps to the given WSA action |
AXIS2_EXTERN axis2_svc_t* axis2_svc_create | ( | const axutil_env_t * | env | ) |
Creates a service struct instance.
env | pointer to environment struct |
AXIS2_EXTERN axis2_svc_t* axis2_svc_create_with_qname | ( | const axutil_env_t * | env, | |
const axutil_qname_t * | qname | |||
) |
Creates a service struct with given QName.
env | pointer to environment struct | |
qname | service QName |
AXIS2_EXTERN axis2_status_t axis2_svc_disengage_module | ( | axis2_svc_t * | svc, | |
const axutil_env_t * | env, | |||
struct axis2_module_desc * | module_desc, | |||
struct axis2_conf * | conf | |||
) |
Disengages given module from 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_EXTERN axis2_status_t axis2_svc_engage_module | ( | axis2_svc_t * | svc, | |
const axutil_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_EXTERN void axis2_svc_free | ( | axis2_svc_t * | svc, | |
const axutil_env_t * | env | |||
) |
Frees service.
svc | pointer to service struct | |
env | pointer to environment struct |
AXIS2_EXTERN axutil_array_list_t* axis2_svc_get_all_module_qnames | ( | const axis2_svc_t * | svc, | |
const axutil_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_EXTERN axutil_hash_t* axis2_svc_get_all_ops | ( | const axis2_svc_t * | svc, | |
const axutil_env_t * | env | |||
) |
Gets all operations of service.
svc | pointer to service struct | |
env | pointer to environment struct |
AXIS2_EXTERN axutil_array_list_t* axis2_svc_get_all_params | ( | const axis2_svc_t * | svc, | |
const axutil_env_t * | env | |||
) |
Gets all parameters stored within service.
svc | pointer to service struct | |
env | pointer to environment struct |
AXIS2_EXTERN axis2_desc_t* axis2_svc_get_base | ( | const axis2_svc_t * | svc, | |
const axutil_env_t * | env | |||
) |
Gets base description.
svc | pointer to message | |
env | pointer to environment struct |
AXIS2_EXTERN axutil_array_list_t* axis2_svc_get_engaged_module_list | ( | const axis2_svc_t * | svc, | |
const axutil_env_t * | env | |||
) |
Return the engaged module list.
svc | pointer to service struct | |
env | pointer to environment struct |
AXIS2_EXTERN const axis2_char_t* axis2_svc_get_file_name | ( | const axis2_svc_t * | svc, | |
const axutil_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_EXTERN long axis2_svc_get_last_update | ( | const axis2_svc_t * | svc, | |
const axutil_env_t * | env | |||
) |
Gets last update time of the service.
svc | pointer to service struct | |
env | pointer to environment struct |
AXIS2_EXTERN const axis2_char_t* axis2_svc_get_name | ( | const axis2_svc_t * | svc, | |
const axutil_env_t * | env | |||
) |
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 |
svc | pointer to service struct | |
env | pointer to environment struct |
AXIS2_EXTERN struct axis2_op* axis2_svc_get_op_by_soap_action | ( | const axis2_svc_t * | svc, | |
const axutil_env_t * | env, | |||
const axis2_char_t * | soap_action | |||
) | [read] |
Gets in flow. In flow is the list of phases invoked along in path.
svc | pointer to service struct | |
env | pointer to environment struct |
svc | pointer to service struct | |
env | pointer to environment struct | |
in_flow | pointer to flow representing in flow |
svc | pointer to service struct | |
env | pointer to environment struct |
svc | pointer to service struct | |
env | pointer to environment struct |
AXIS2_SUCCESS on success, else AXIS2_FAILURE 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 |
svc | pointer to service struct | |
env | pointer to environment struct | |
fault_flow | pointer to flow representing fault in flow |
svc | pointer to service struct | |
env | pointer to environment struct |
svc | pointer to service struct | |
env | pointer to environment struct | |
fault_flow | pointer to flow representing fault out flow |
svc | pointer to service struct | |
env | pointer to environment struct | |
soap_action | SOAP action string |
AXIS2_EXTERN struct axis2_op* axis2_svc_get_op_with_name | ( | const axis2_svc_t * | svc, | |
const axutil_env_t * | env, | |||
const axis2_char_t * | op_name | |||
) | [read] |
Gets operation corresponding to the name.
svc | pointer to service struct | |
env | pointer to environment struct | |
op_name | operation name string |
AXIS2_EXTERN struct axis2_op* axis2_svc_get_op_with_qname | ( | const axis2_svc_t * | svc, | |
const axutil_env_t * | env, | |||
const axutil_qname_t * | op_qname | |||
) | [read] |
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 |
AXIS2_EXTERN axutil_param_t* axis2_svc_get_param | ( | const axis2_svc_t * | svc, | |
const axutil_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_EXTERN axutil_param_container_t* axis2_svc_get_param_container | ( | const axis2_svc_t * | svc, | |
const axutil_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 |
AXIS2_EXTERN struct axis2_svc_grp* axis2_svc_get_parent | ( | const axis2_svc_t * | svc, | |
const axutil_env_t * | env | |||
) | [read] |
Gets parent which is of type service group.
svc | pointer to service struct | |
env | pointer to environment struct |
AXIS2_EXTERN const axutil_qname_t* axis2_svc_get_qname | ( | const axis2_svc_t * | svc, | |
const axutil_env_t * | env | |||
) |
Gets QName.
svc | pointer to service struct | |
env | pointer to environment struct |
AXIS2_EXTERN axutil_hash_t* axis2_svc_get_rest_map | ( | const axis2_svc_t * | svc, | |
const axutil_env_t * | env | |||
) |
Gets the RESTful operation map for a given service
svc | pointer to service struct | |
env | pointer to environment struct |
AXIS2_EXTERN axutil_array_list_t* axis2_svc_get_rest_op_list_with_method_and_location | ( | const axis2_svc_t * | svc, | |
const axutil_env_t * | env, | |||
const axis2_char_t * | http_method, | |||
const axis2_char_t * | http_location | |||
) |
Gets the RESTful operation list corresponding to the given method and first constant part of location.
svc | pointer to service struct | |
env | pointer to environment struct | |
http_method | HTTPMethod | |
http_location | HTTPLocation |
AXIS2_EXTERN const axis2_char_t* axis2_svc_get_style | ( | const axis2_svc_t * | svc, | |
const axutil_env_t * | env | |||
) |
Gets style. Style can be either RPC or document literal.
svc | pointer to service struct | |
env | pointer to environment struct |
AXIS2_EXTERN const axis2_char_t* axis2_svc_get_svc_desc | ( | const axis2_svc_t * | svc, | |
const axutil_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_EXTERN const axis2_char_t* axis2_svc_get_svc_folder_path | ( | const axis2_svc_t * | svc, | |
const axutil_env_t * | env | |||
) |
Get the folder path on disk of the services, which is in the service.xml
svc | pointer to service struct | |
env | pointer to environment struct |
AXIS2_EXTERN const axis2_char_t* axis2_svc_get_svc_wsdl_path | ( | const axis2_svc_t * | svc, | |
const axutil_env_t * | env | |||
) |
Get the static wsdl file of the services, which is in the service.xml, wsdl_path parameter
svc | pointer to service struct | |
env | pointer to environment struct |
AXIS2_EXTERN const axis2_char_t* axis2_svc_get_target_ns | ( | const axis2_svc_t * | svc, | |
const axutil_env_t * | env | |||
) |
Checks if the XML schema location is adjusted.
svc | pointer to service struct | |
env | pointer to environment struct |
svc | pointer to service struct | |
env | pointer to environment struct | |
adjusted | AXIS2_TRUE if XML schema is adjusted, else AXIS2_FALSE |
svc | pointer to service struct | |
env | pointer to environment struct |
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 |
svc | pointer to service struct | |
env | pointer to environment struct |
svc | pointer to service struct | |
env | pointer to environment struct | |
prefix | custom schema prefix string |
svc | pointer to service struct | |
env | pointer to environment struct |
svc | pointer to service struct | |
env | pointer to environment struct | |
suffix | custom schema suffix string |
svc | pointer to service struct | |
env | pointer to environment struct | |
out_stream | stream to print to |
svc | pointer to service struct | |
env | pointer to environment struct | |
index | index of the XML schema to be retrieved |
svc | pointer to service struct | |
env | pointer to environment struct | |
index | index of the XML schema to be processed |
svc | pointer to service struct | |
env | pointer to environment struct |
svc | pointer to service struct | |
env | pointer to environment struct | |
schema | pointer to XML schema struct, service assumes the ownership of struct |
svc | pointer to service struct | |
env | pointer to environment struct | |
schemas | pointer to array list containing XML schemas |
svc | pointer to service struct | |
env | pointer to environment struct |
svc | pointer to service struct | |
env | pointer to environment struct | |
ns | namespace string |
svc | pointer to service struct | |
env | pointer to environment struct |
svc | pointer to service struct | |
env | pointer to environment struct | |
prefix | namespace prefix string |
svc | pointer to service struct | |
env | pointer to environment struct |
AXIS2_EXTERN const axis2_char_t* axis2_svc_get_target_ns_prefix | ( | const axis2_svc_t * | svc, | |
const axutil_env_t * | env | |||
) |
Gets target namespace prefix.
svc | pointer to service struct | |
env | pointer to environment struct |
AXIS2_EXTERN axis2_bool_t axis2_svc_is_module_engaged | ( | axis2_svc_t * | svc, | |
const axutil_env_t * | env, | |||
axutil_qname_t * | module_qname | |||
) |
Check whether a given module is engaged to the service.
svc | pointer to service struct | |
env | pointer to environment struct | |
module_qname | pointer to module qname to be engaged, |
AXIS2_EXTERN axis2_bool_t axis2_svc_is_param_locked | ( | axis2_svc_t * | svc, | |
const axutil_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_EXTERN axis2_status_t axis2_svc_set_file_name | ( | axis2_svc_t * | svc, | |
const axutil_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_EXTERN axis2_status_t axis2_svc_set_last_update | ( | axis2_svc_t * | svc, | |
const axutil_env_t * | env | |||
) |
Sets current time as last update time of the service.
svc | pointer to service struct | |
env | pointer to environment struct |
AXIS2_EXTERN axis2_status_t axis2_svc_set_name | ( | axis2_svc_t * | svc, | |
const axutil_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_EXTERN axis2_status_t axis2_svc_set_ns_map | ( | axis2_svc_t * | svc, | |
const axutil_env_t * | env, | |||
axutil_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_EXTERN axis2_status_t axis2_svc_set_parent | ( | axis2_svc_t * | svc, | |
const axutil_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 |
AXIS2_EXTERN axis2_status_t axis2_svc_set_qname | ( | axis2_svc_t * | svc, | |
const axutil_env_t * | env, | |||
const axutil_qname_t * | qname | |||
) |
Sets QName.
svc | pointer to service struct | |
env | pointer to environment struct | |
qname | pointer to QName |
AXIS2_EXTERN axis2_status_t axis2_svc_set_style | ( | axis2_svc_t * | svc, | |
const axutil_env_t * | env, | |||
const axis2_char_t * | style | |||
) |
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 |
svc | pointer to service struct | |
env | pointer to environment struct |
svc | pointer to service struct | |
env | pointer to environment struct | |
style | style of service as defined in WSDL |
AXIS2_EXTERN axis2_status_t axis2_svc_set_svc_desc | ( | axis2_svc_t * | svc, | |
const axutil_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 |
AXIS2_EXTERN axis2_status_t axis2_svc_set_svc_folder_path | ( | axis2_svc_t * | svc, | |
const axutil_env_t * | env, | |||
const axis2_char_t * | folder_path | |||
) |
Set the folder path of the service which is in service.xml
svc | pointer to service struct | |
env | pointer to environment struct |
AXIS2_EXTERN axis2_status_t axis2_svc_set_svc_wsdl_path | ( | axis2_svc_t * | svc, | |
const axutil_env_t * | env, | |||
const axis2_char_t * | wsdl_path | |||
) |
Set the wsdl path of the service which is in service.xml
svc | pointer to service struct | |
env | pointer to environment struct |
AXIS2_EXTERN axis2_status_t axis2_svc_set_target_ns_prefix | ( | axis2_svc_t * | svc, | |
const axutil_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 |
AXIS2_EXTERN axutil_hash_t* gaxis2_svc_et_ns_map | ( | const axis2_svc_t * | svc, | |
const axutil_env_t * | env | |||
) |
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 |
svc | pointer to service struct | |
env | pointer to environment struct |
AXIS2_EXTERN axis2_status_t saxis2_svc_et_target_ns | ( | axis2_svc_t * | svc, | |
const axutil_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 |