axis2_svc.h

Go to the documentation of this file.
00001 /*
00002  * Copyright 2004,2005 The Apache Software Foundation.
00003  *
00004  * Licensed under the Apache License, Version 2.0 (the "License");
00005  * you may not use this file except in compliance with the License.
00006  * You may obtain a copy of the License at
00007  *
00008  *      http://www.apache.org/licenses/LICENSE-2.0
00009  *
00010  * Unless required by applicable law or agreed to in writing, software
00011  * distributed under the License is distributed on an "AS IS" BASIS,
00012  * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
00013  * See the License for the specific language governing permissions and
00014  * limitations under the License.
00015  */
00016 
00017 #ifndef AXIS2_SVC_H
00018 #define AXIS2_SVC_H
00019 
00045 #include <axis2_param_container.h>
00046 #include <axis2_flow_container.h>
00047 #include <axis2_wsdl_svc.h>
00048 #include <axis2_op.h>
00049 #include <axis2_svc_grp.h>
00050 #include <axis2_qname.h>
00051 #include <axis2_error.h>
00052 #include <axis2_array_list.h>
00053 #include <axis2_const.h>
00054 #include <axis2_phase_resolver.h>
00055 #include <axis2_module_desc.h>
00056 #include <axis2_conf.h>
00057 #include <axis2_wsdl_soap_op.h>
00058 #include <axis2_string.h>
00059 #include <axis2_wsdl_endpoint.h>
00060 #include <xml_schema.h>
00061 #include <xml_schema_external.h>
00062 #include <axis2_stream.h>
00063 #include <xml_schema_element.h>
00064 
00065 #ifdef __cplusplus
00066 extern "C"
00067 {
00068 #endif
00069 
00070 
00072     typedef struct axis2_svc_ops axis2_svc_ops_t;
00074     typedef struct axis2_svc axis2_svc_t;
00075 
00076     struct axis2_wsdl_endpoint;
00077     struct axis2_svc_grp;
00078 /*    struct axis2_op;*/
00079     struct axis2_flow_container;
00080     struct axis2_param_container;
00081     struct axis2_wsdl_svc;
00082     struct axis2_wsdl_interface;
00083     struct axis2_module_desc;
00084     struct axis2_conf;
00085     struct axis2_wsdl_soap_op;
00086 
00091     struct axis2_svc_ops
00092     {
00099         axis2_status_t (AXIS2_CALL *
00100                 free)(
00101                     axis2_svc_t *svc,
00102                     const axis2_env_t *env);
00111         axis2_status_t (AXIS2_CALL *
00112                 add_op)(
00113                     axis2_svc_t *svc,
00114                     const axis2_env_t *env,
00115                     struct axis2_op *op);
00116 
00124         struct axis2_op *(AXIS2_CALL *
00125                 get_op_with_qname)(
00126                     const axis2_svc_t *svc,
00127                     const axis2_env_t *env,
00128                     const axis2_qname_t *op_qname);
00129 
00137         struct axis2_op *(AXIS2_CALL *
00138                 get_op_with_name)(
00139                     const axis2_svc_t *svc,
00140                     const axis2_env_t *env,
00141                     const axis2_char_t *op_name);
00142 
00149         axis2_hash_t *(AXIS2_CALL *
00150                 get_all_ops)(
00151                     const axis2_svc_t *svc,
00152                     const axis2_env_t *env);
00153 
00161         axis2_status_t (AXIS2_CALL *
00162                 set_parent)(
00163                     axis2_svc_t *svc,
00164                     const axis2_env_t *env,
00165                     struct axis2_svc_grp *svc_grp);
00166 
00173         struct axis2_svc_grp *(AXIS2_CALL *
00174                 get_parent)(
00175                     const axis2_svc_t *svc,
00176                     const axis2_env_t *env);
00177 
00185         axis2_status_t (AXIS2_CALL *
00186                 set_qname)(
00187                     axis2_svc_t *svc,
00188                     const axis2_env_t *env,
00189                     const axis2_qname_t *qname);
00190 
00197         const axis2_qname_t *(AXIS2_CALL *
00198                 get_qname)(
00199                     const axis2_svc_t *svc,
00200                     const axis2_env_t *env);
00201 
00210         axis2_status_t (AXIS2_CALL *
00211                 add_param)(
00212                     axis2_svc_t *svc,
00213                     const axis2_env_t *env,
00214                     axis2_param_t *param);
00215 
00224         axis2_param_t *(AXIS2_CALL *
00225                 get_param)(
00226                     const axis2_svc_t *svc,
00227                     const axis2_env_t *env,
00228                     const axis2_char_t *name);
00229 
00237         axis2_array_list_t *(AXIS2_CALL *
00238                 get_all_params)(
00239                     const axis2_svc_t *svc,
00240                     const axis2_env_t *env);
00241 
00249         axis2_bool_t (AXIS2_CALL *
00250                 is_param_locked)(
00251                     axis2_svc_t *svc,
00252                     const axis2_env_t *env,
00253                     const axis2_char_t *param_name);
00254 
00262         axis2_status_t (AXIS2_CALL *
00263                 set_wsdl_interface)(
00264                     axis2_svc_t *svc,
00265                     const axis2_env_t *env,
00266                     struct axis2_wsdl_interface *wsdl_interface);
00267 
00274         struct axis2_wsdl_interface *(AXIS2_CALL *
00275                 get_wsdl_interface)(
00276                     const axis2_svc_t *svc,
00277                     const axis2_env_t *env);
00278 
00279 
00290         axis2_status_t (AXIS2_CALL *
00291                 engage_module)(
00292                     axis2_svc_t *svc,
00293                     const axis2_env_t *env,
00294                     struct axis2_module_desc *module_desc,
00295                     struct axis2_conf *conf);
00296 
00312         axis2_status_t (AXIS2_CALL *
00313                 add_module_ops)(
00314                     axis2_svc_t *svc,
00315                     const axis2_env_t *env,
00316                     struct axis2_module_desc *module_desc,
00317                     struct axis2_conf *axis2_config);
00318 
00327         axis2_status_t (AXIS2_CALL *
00328                 add_to_engaged_module_list)(
00329                     axis2_svc_t *svc,
00330                     const axis2_env_t *env,
00331                     struct axis2_module_desc *module_desc);
00332 
00339         axis2_array_list_t *(AXIS2_CALL *
00340                 get_all_engaged_modules)(
00341                     const axis2_svc_t *svc,
00342                     const axis2_env_t *env);
00343 
00351         void *(AXIS2_CALL *
00352                 get_wsdl_op)(
00353                     const axis2_svc_t *svc,
00354                     const axis2_env_t *env,
00355                     const axis2_qname_t *op_qname);
00356 
00364         axis2_status_t (AXIS2_CALL *
00365                 set_style)(
00366                     axis2_svc_t *svc,
00367                     const axis2_env_t *env,
00368                     const axis2_char_t *style);
00369 
00376         const axis2_char_t *(AXIS2_CALL *
00377                 get_style)(
00378                     const axis2_svc_t *svc,
00379                     const axis2_env_t *env);
00380 
00388         struct axis2_flow *(AXIS2_CALL *
00389                 get_in_flow)(
00390                     const axis2_svc_t *svc,
00391                     const axis2_env_t *env);
00392 
00401         axis2_status_t (AXIS2_CALL *
00402                 set_in_flow)(
00403                     axis2_svc_t *svc,
00404                     const axis2_env_t *env,
00405                     struct axis2_flow *in_flow);
00406 
00414         struct axis2_flow *(AXIS2_CALL *
00415                 get_out_flow)(
00416                     const axis2_svc_t *svc,
00417                     const axis2_env_t *env);
00418 
00427         axis2_status_t (AXIS2_CALL *
00428                 set_out_flow)(
00429                     axis2_svc_t *svc,
00430                     const axis2_env_t *env,
00431                     struct axis2_flow *out_flow);
00432 
00440         struct axis2_flow *(AXIS2_CALL *
00441                 get_fault_in_flow)(
00442                     const axis2_svc_t *svc,
00443                     const axis2_env_t *env);
00444 
00453         axis2_status_t (AXIS2_CALL *
00454                 set_fault_in_flow)(
00455                     axis2_svc_t *svc,
00456                     const axis2_env_t *env,
00457                     struct axis2_flow *fault_flow);
00458 
00466         struct axis2_flow *(AXIS2_CALL *
00467                 get_fault_out_flow)(
00468                     const axis2_svc_t *svc,
00469                     const axis2_env_t *env);
00470 
00479         axis2_status_t (AXIS2_CALL *
00480                 set_fault_out_flow)(
00481                     axis2_svc_t *svc,
00482                     const axis2_env_t *env,
00483                     struct axis2_flow *fault_flow);
00484 
00493         struct axis2_op *(AXIS2_CALL *
00494                 get_op_by_soap_action)(
00495                     const axis2_svc_t *svc,
00496                     const axis2_env_t *env,
00497                     const axis2_char_t *soap_action);
00498 
00508         struct axis2_op *(AXIS2_CALL *
00509                 get_op_by_soap_action_and_endpoint)(
00510                     const axis2_svc_t *svc,
00511                     const axis2_env_t *env,
00512                     const axis2_char_t *soap_action,
00513                     const axis2_qname_t *endpoint);
00514 
00521         const axis2_char_t *(AXIS2_CALL *
00522                 get_name)(
00523                     const axis2_svc_t *svc,
00524                     const axis2_env_t *env);
00525 
00533         axis2_status_t (AXIS2_CALL *
00534                 set_name)(
00535                     axis2_svc_t *svc,
00536                     const axis2_env_t *env,
00537                     const axis2_char_t *svc_name);
00538 
00545         axis2_status_t (AXIS2_CALL *
00546                 set_last_update)(
00547                     axis2_svc_t *svc,
00548                     const axis2_env_t *env);
00549 
00556         long (AXIS2_CALL *
00557                                   get_last_update)(
00558                                                 const axis2_svc_t *svc,
00559                                                 const axis2_env_t *env);
00560 
00569                   const axis2_char_t *(AXIS2_CALL *
00570                                                                           get_svc_desc) (
00571                                                                                         const axis2_svc_t *svc,
00572                                                                                         const axis2_env_t *env);
00573 
00579                   axis2_status_t (AXIS2_CALL *
00580                                                                 set_svc_desc) (
00581                                                                          axis2_svc_t *svc,
00582                                                                          const axis2_env_t *env,
00583                                                                          const axis2_char_t *svc_desc);
00584 
00594         const axis2_char_t *(AXIS2_CALL *
00595                 get_file_name)(  
00596                     const axis2_svc_t *svc,
00597                     const axis2_env_t *env);
00598 
00609         axis2_status_t (AXIS2_CALL *
00610                 set_file_name)(
00611                     axis2_svc_t *svc,
00612                     const axis2_env_t *env,
00613                     const axis2_char_t *file_name);
00614 
00621         axis2_hash_t *(AXIS2_CALL *
00622                 get_all_endpoints)(
00623                     const axis2_svc_t *svc,
00624                     const axis2_env_t *env);
00625 
00633         axis2_status_t (AXIS2_CALL *
00634                 set_all_endpoints)(
00635                     axis2_svc_t *svc,
00636                     const axis2_env_t *env,
00637                     axis2_hash_t *endpoints);
00638 
00648         axis2_status_t (AXIS2_CALL *
00649                 set_endpoint)(
00650                     axis2_svc_t *svc,
00651                     const axis2_env_t *env,
00652                     struct axis2_wsdl_endpoint *endpoint);
00653 
00662         struct axis2_wsdl_endpoint *(AXIS2_CALL *
00663                 get_endpoint)(
00664                     const axis2_svc_t *svc,
00665                     const axis2_env_t *env,
00666                     const axis2_qname_t *qname);
00667 
00674         const axis2_char_t *(AXIS2_CALL *
00675                 get_namespace)(
00676                     const axis2_svc_t *svc,
00677                     const axis2_env_t *env);
00678 
00692         axis2_status_t (AXIS2_CALL *
00693                 add_mapping)(
00694                     axis2_svc_t *svc,
00695                     const axis2_env_t *env,
00696                     const axis2_char_t *wsa_action ,
00697                     struct axis2_op *axis2_op);
00698 
00707         axis2_status_t (AXIS2_CALL *
00708                 add_module_qname)(
00709                     axis2_svc_t *svc,
00710                     const axis2_env_t *env,
00711                     const axis2_qname_t *module_qname);
00712 
00719         axis2_array_list_t *(AXIS2_CALL *
00720                 get_all_module_qnames)(
00721                     const axis2_svc_t *svc,
00722                     const axis2_env_t *env);
00723 
00730         axis2_bool_t (AXIS2_CALL *
00731                 is_schema_location_adjusted)(
00732                     axis2_svc_t *svc,
00733                     const axis2_env_t *env);
00734 
00735 
00743         axis2_status_t (AXIS2_CALL *
00744                 set_schema_location_adjusted)(
00745                     axis2_svc_t *svc,
00746                     const axis2_env_t *env,
00747                     const axis2_bool_t adjusted);
00748 
00756         axis2_hash_t *(AXIS2_CALL *
00757                 get_schema_mapping_table)(
00758                     const axis2_svc_t *svc,
00759                     const axis2_env_t *env);
00760 
00769         axis2_status_t (AXIS2_CALL *
00770                 set_schema_mapping_table)(
00771                     axis2_svc_t *svc,
00772                     const axis2_env_t *env,
00773                     axis2_hash_t *table);
00774 
00781         const axis2_char_t *(AXIS2_CALL *
00782                 get_custom_schema_prefix)(
00783                     const axis2_svc_t *svc,
00784                     const axis2_env_t *env);
00785 
00793         axis2_status_t (AXIS2_CALL *
00794                 set_custom_schema_prefix)(
00795                     axis2_svc_t *svc,
00796                     const axis2_env_t *env,
00797                     const axis2_char_t *prefix);
00798 
00805         const axis2_char_t *(AXIS2_CALL *
00806                 get_custom_schema_suffix)(
00807                     const axis2_svc_t *svc,
00808                     const axis2_env_t *env);
00809 
00817         axis2_status_t (AXIS2_CALL *
00818                 set_custom_schema_suffix)(
00819                     axis2_svc_t *svc,
00820                     const axis2_env_t *env,
00821                     const axis2_char_t *suffix);
00822 
00830         axis2_status_t (AXIS2_CALL *
00831                 print_schema)(
00832                     axis2_svc_t *svc,
00833                     const axis2_env_t *env,
00834                     axis2_stream_t *out_stream);
00835 
00843         xml_schema_t *(AXIS2_CALL *
00844                 get_schema)(
00845                     const axis2_svc_t *svc,
00846                     const axis2_env_t *env,
00847                     const int index);
00848 
00858         xml_schema_t *(AXIS2_CALL *
00859                 add_all_namespaces)(
00860                     axis2_svc_t *svc,
00861                     const axis2_env_t *env,
00862                     int index);
00863 
00871         axis2_array_list_t *(AXIS2_CALL *
00872                 get_all_schemas)(
00873                     const axis2_svc_t *svc,
00874                     const axis2_env_t *env);
00875 
00885         axis2_status_t (AXIS2_CALL *
00886                 add_schema)(
00887                     axis2_svc_t *svc,
00888                     const axis2_env_t *env,
00889                     xml_schema_t *schema);
00890 
00898         axis2_status_t (AXIS2_CALL *
00899                 add_all_schemas)(
00900                     axis2_svc_t *svc,
00901                     const axis2_env_t *env,
00902                     axis2_array_list_t *schemas);
00903 
00910         const axis2_char_t *(AXIS2_CALL *
00911                 get_schema_target_ns)(
00912                     const axis2_svc_t *svc,
00913                     const axis2_env_t *env);
00914 
00922         axis2_status_t (AXIS2_CALL *
00923                 set_schema_target_ns)(
00924                     axis2_svc_t *svc,
00925                     const axis2_env_t *env,
00926                     const axis2_char_t *ns);
00927 
00934         const axis2_char_t *(AXIS2_CALL *
00935                 get_schema_target_ns_prefix)(
00936                     const axis2_svc_t *svc,
00937                     const axis2_env_t *env);
00938 
00946         axis2_status_t (AXIS2_CALL *
00947                 set_schema_target_ns_prefix)(
00948                     axis2_svc_t *svc,
00949                     const axis2_env_t *env,
00950                     const axis2_char_t *prefix);
00951 
00958         const axis2_char_t *(AXIS2_CALL *
00959                 get_target_ns)(
00960                     const axis2_svc_t *svc,
00961                     const axis2_env_t *env);
00962 
00970         axis2_status_t (AXIS2_CALL *
00971                 set_target_ns)(
00972                     axis2_svc_t *svc,
00973                     const axis2_env_t *env,
00974                     const axis2_char_t *ns);
00975 
00982         const axis2_char_t *(AXIS2_CALL *
00983                 get_target_ns_prefix)(
00984                     const axis2_svc_t *svc,
00985                     const axis2_env_t *env);
00986 
00994         axis2_status_t (AXIS2_CALL *
00995                 set_target_ns_prefix)(
00996                     axis2_svc_t *svc,
00997                     const axis2_env_t *env,
00998                     const axis2_char_t *prefix);
00999 
01008         xml_schema_element_t *(AXIS2_CALL *
01009                 get_schema_element)(
01010                     const axis2_svc_t *svc,
01011                     const axis2_env_t *env,
01012                     const axis2_qname_t *qname);
01013 
01021         axis2_hash_t *(AXIS2_CALL *
01022                 get_ns_map)(
01023                     const axis2_svc_t *svc,
01024                     const axis2_env_t *env);
01025 
01033         axis2_status_t (AXIS2_CALL *
01034                 set_ns_map)(
01035                     axis2_svc_t *svc,
01036                     const axis2_env_t *env,
01037                     axis2_hash_t *ns_map);
01038 
01047         axis2_status_t (AXIS2_CALL *
01048                 populate_schema_mappings)(
01049                     axis2_svc_t *svc,
01050                     const axis2_env_t *env);
01051     };
01052 
01056     struct axis2_svc
01057     {
01059         axis2_svc_ops_t *ops;
01061         struct axis2_param_container *param_container;
01063         struct axis2_flow_container *flow_container;
01065         struct axis2_wsdl_svc *wsdl_svc;
01066 
01067     };
01068 
01074     AXIS2_EXTERN axis2_svc_t *AXIS2_CALL
01075     axis2_svc_create(
01076         const axis2_env_t *env);
01077 
01084     AXIS2_EXTERN axis2_svc_t *AXIS2_CALL
01085     axis2_svc_create_with_qname(
01086         const axis2_env_t *env,
01087         const axis2_qname_t *qname);
01088 
01095     AXIS2_EXTERN axis2_svc_t *AXIS2_CALL
01096     axis2_svc_create_with_wsdl_svc(
01097         const axis2_env_t *env,
01098         struct axis2_wsdl_svc *wsdl_svc);
01099 
01100 
01103 #define AXIS2_SVC_FREE(svc, env) \
01104         ((svc)->ops->free (svc, env))
01105 
01108 #define AXIS2_SVC_ADD_OP(svc, env, op) \
01109         ((svc)->ops->add_op (svc, env, op))
01110 
01113 #define AXIS2_SVC_GET_OP_WITH_QNAME(svc, env, op_qname) \
01114         ((svc)->ops->get_op_with_qname (svc, env, op_qname))
01115 
01118 #define AXIS2_SVC_GET_OP_WITH_NAME(svc, env, op_name) \
01119         ((svc)->ops->get_op_with_name (svc, env, op_name))
01120 
01123 #define AXIS2_SVC_GET_ALL_OPS(svc, env) \
01124         ((svc)->ops->get_all_ops (svc, env))
01125 
01128 #define AXIS2_SVC_SET_PARENT(svc, env , svc_grp) \
01129         ((svc)->ops->set_parent (svc, env, svc_grp))
01130 
01133 #define AXIS2_SVC_GET_PARENT(svc, env) \
01134         ((svc)->ops->get_parent (svc, env))
01135 
01138 #define AXIS2_SVC_SET_QNAME(svc, env, qname) \
01139         ((svc)->ops->set_qname(svc , env, qname))
01140 
01143 #define AXIS2_SVC_GET_QNAME(svc, env) \
01144         ((svc)->ops->get_qname(svc , env))
01145 
01148 #define AXIS2_SVC_ADD_PARAM(svc, env, param) \
01149         ((svc)->ops->add_param(svc , env, param))
01150 
01153 #define AXIS2_SVC_GET_PARAM(svc, env, name) \
01154         ((svc)->ops->get_param(svc , env, name))
01155 
01158 #define AXIS2_SVC_GET_ALL_PARAMS(svc, env) \
01159         ((svc)->ops->get_all_params(svc , env))
01160 
01163 #define AXIS2_SVC_IS_PARAM_LOCKED(svc, env, param_name) \
01164         ((svc)->ops->is_param_locked(svc, env, param_name))
01165 
01168 #define AXIS2_SVC_SET_WSDL_INTERFACE(svc, env, wsdl_interface) \
01169         ((svc)->ops->set_wsdl_interface(svc, env, wsdl_interface))
01170 
01173 #define AXIS2_SVC_GET_WSDL_INTERFACE(svc, env) \
01174         ((svc)->ops->get_wsdl_interface(svc, env))
01175 
01178 #define AXIS2_SVC_ENGAGE_MODULE(svc, env, module_desc, axis2_config) \
01179         ((svc)->ops->engage_module(svc, env, module_desc, axis2_config))
01180 
01183 #define AXIS2_SVC_ADD_MODULE_OPS(svc, env, module_desc, axis2_config) \
01184         ((svc)->ops->add_module_ops(svc, env, module_desc, axis2_config))
01185 
01188 #define AXIS2_SVC_ADD_TO_ENGAGED_MODULE_LIST(svc, env, module_name) \
01189         ((svc)->ops->add_to_engaged_module_list(svc, env, module_name))
01190 
01193 #define AXIS2_SVC_GET_ALL_ENGAGED_MODULES(svc, env) \
01194         ((svc)->ops->get_all_engaged_modules(svc, env))
01195 
01198 #define AXIS2_SVC_GET_WSDL_OP(svc, env, op_name) \
01199         ((svc)->ops->get_wsdl_op(svc, env, op_name))
01200 
01203 #define AXIS2_SVC_SET_STYLE(svc, env, style) \
01204         ((svc)->ops->set_style(svc, env, style))
01205 
01208 #define AXIS2_SVC_GET_STYLE(svc, env) \
01209         ((svc)->ops->get_style(svc, env))
01210 
01213 #define AXIS2_SVC_GET_IN_FLOW(svc, env) \
01214         ((svc)->ops->get_in_flow(svc, env))
01215 
01218 #define AXIS2_SVC_SET_IN_FLOW(svc, env, in_flow) \
01219         ((svc)->ops->set_in_flow(svc, env, in_flow))
01220 
01223 #define AXIS2_SVC_GET_OUT_FLOW(svc, env) \
01224         ((svc)->ops->get_out_flow(svc, env))
01225 
01228 #define AXIS2_SVC_SET_OUT_FLOW(svc, env, out_flow) \
01229         ((svc)->ops->set_out_flow(svc, env, out_flow))
01230 
01233 #define AXIS2_SVC_GET_FAULT_IN_FLOW(svc, env) \
01234         ((svc)->ops->get_fault_in_flow(svc, env))
01235 
01238 #define AXIS2_SVC_SET_FAULT_IN_FLOW(svc, env, fault_in_flow) \
01239         ((svc)->ops->set_fault_in_flow(svc, env, fault_in_flow))
01240 
01243 #define AXIS2_SVC_GET_FAULT_OUT_FLOW(svc, env) \
01244         ((svc)->ops->get_fault_out_flow(svc, env))
01245 
01248 #define AXIS2_SVC_SET_FAULT_OUT_FLOW(svc, env, fault_out_flow) \
01249         ((svc)->ops->set_fault_out_flow(svc, env, fault_out_flow))
01250 
01253 #define AXIS2_SVC_GET_OP_BY_SOAP_ACTION(svc, env, soap_action) \
01254         ((svc)->ops->get_op_by_soap_action(svc, env, soap_action))
01255 
01258 #define AXIS2_SVC_GET_OP_BY_SOAP_ACTION_AND_ENDPOINT(svc, env, soap_action, endpoint) \
01259         ((svc)->ops->get_op_by_soap_action_and_endpoint(svc, env, soap_action, endpoint))
01260 
01263 #define AXIS2_SVC_GET_NAME(svc, env) \
01264         ((svc)->ops->get_name(svc, env))
01265 
01268 #define AXIS2_SVC_SET_NAME(svc, env, axis2_svc_name) \
01269         ((svc)->ops->set_name(svc, env, axis2_svc_name))
01270 
01273 #define AXIS2_SVC_SET_LAST_UPDATE(svc, env) \
01274         ((svc)->ops->set_last_update(svc, env))
01275 
01278 #define AXIS2_SVC_GET_LAST_UPDATE(svc, env) \
01279         ((svc)->ops->get_last_update(svc, env))
01280 
01283 #define AXIS2_SVC_GET_SVC_DESC(svc, env) \
01284         ((svc)->ops->get_svc_desc(svc, env))
01285 
01288 #define AXIS2_SVC_SET_SVC_DESC(svc, env, svc_desc) \
01289         ((svc)->ops->set_svc_desc(svc, env, svc_desc))
01290 
01293 #define AXIS2_SVC_GET_FILE_NAME(svc, env) \
01294         ((svc)->ops->get_file_name(svc, env))
01295 
01298 #define AXIS2_SVC_SET_FILE_NAME(svc, env, filename) \
01299         ((svc)->ops->set_file_name(svc, env, filename))
01300 
01303 #define AXIS2_SVC_GET_ALL_ENDPOINTS(svc, env) \
01304         ((svc)->ops->get_all_endpoints(svc, env))
01305 
01308 #define AXIS2_SVC_SET_ALL_ENDPOINTS(svc, env, endpoints) \
01309         ((svc)->ops->set_all_endpoints(svc, env, endpoints))
01310 
01313 #define AXIS2_SVC_SET_ENDPOINT(svc, env, endpoint) \
01314         ((svc)->ops->set_endpoint(svc, env, endpoint))
01315 
01318 #define AXIS2_SVC_GET_ENDPOINT(svc, env, qname) \
01319         ((svc)->ops->get_endpoint(svc, env, qname))
01320 
01323 #define AXIS2_SVC_GET_NAMESPACE(svc, env) \
01324         ((svc)->ops->get_namespace(svc, env))
01325 
01328 #define AXIS2_SVC_ADD_MAPPING(svc, env, mapping_key, axis2_opt) \
01329         ((svc)->ops->add_mapping(svc, env, mapping_key, axis2_opt))
01330 
01333 #define AXIS2_SVC_ADD_MODULE_QNAME(svc, env, module_qname) \
01334         ((svc)->ops->add_module_qname(svc, env, module_qname))
01335 
01338 #define AXIS2_SVC_GET_ALL_MODULE_QNAMES(svc, env) \
01339         ((svc)->ops->get_all_module_qnames(svc, env))
01340 
01343 #define AXIS2_SVC_IS_SCHEMA_LOCATION_ADJUSTED(svc, env) \
01344         ((svc)->ops->is_schema_location_adjusted(svc, env))
01345 
01348 #define AXIS2_SVC_SET_SCHEMA_LOCATION_ADJUSTED(svc, env, adjusted) \
01349         ((svc)->ops->set_schema_location_adjusted(svc, env, adjusted))
01350 
01353 #define AXIS2_SVC_GET_SCHEMA_MAPPING_TABLE(svc, env) \
01354         ((svc)->ops->get_schema_mapping_table(svc, env))
01355 
01358 #define AXIS2_SVC_SET_SCHEMA_MAPPING_TABLE(svc, env, table) \
01359         ((svc)->ops->set_schema_mapping_table(svc, env, table))
01360 
01363 #define AXIS2_SVC_GET_CUSTOM_SCHEMA_PREFIX(svc, env) \
01364         ((svc)->ops->get_custom_schema_prefix(svc, env))
01365 
01368 #define AXIS2_SVC_SET_CUSTOM_SCHEMA_PREFIX(svc, env, prefix) \
01369         ((svc)->ops->set_custom_schema_prefix(svc, env, prefix))
01370 
01373 #define AXIS2_SVC_GET_CUSTOM_SCHEMA_SUFFIX(svc, env) \
01374         ((svc)->ops->get_custom_schema_suffix(svc, env))
01375 
01378 #define AXIS2_SVC_SET_CUSTOM_SCHEMA_SUFFIX(svc, env, suffix) \
01379         ((svc)->ops->set_custom_schema_suffix(svc, env, suffix))
01380 
01383 #define AXIS2_SVC_PRINT_SCHEMA(svc, env) \
01384         ((svc)->ops->print_schema(svc, env))
01385 
01388 #define AXIS2_SVC_GET_SCHEMA(svc, env, index) \
01389         ((svc)->ops->get_schema(svc, env, index))
01390 
01394 #define AXIS2_SVC_ADD_ALL_NAMESPACES(svc, env, index) \
01395         ((svc)->ops->add_all_namespaces(svc, env, index))
01396 
01399 #define AXIS2_SVC_GET_ALL_SCHEMAS(svc, env) \
01400         ((svc)->ops->get_all_schemas(svc, env))
01401 
01404 #define AXIS2_SVC_ADD_SCHEMA(svc, env, schema) \
01405         ((svc)->ops->add_schema(svc, env, schema))
01406 
01409 #define AXIS2_SVC_ADD_ALL_SCHEMAS(svc, env, schemas) \
01410         ((svc)->ops->add_all_schemas(svc, env, schemas))
01411 
01414 #define AXIS2_SVC_GET_SCHEMA_TARGET_NAME_SPACE(svc, env) \
01415         ((svc)->ops->get_schema_target_ns(svc, env))
01416 
01419 #define AXIS2_SVC_SET_SCHEMA_TARGET_NAME_SPACE(svc, env, ns) \
01420         ((svc)->ops->set_schema_target_ns(svc, env, ns))
01421 
01424 #define AXIS2_SVC_GET_SCHEMA_TARGET_NAME_SPACE_PREFIX(svc, env) \
01425         ((svc)->ops->get_schema_target_ns_prefix(svc, env))
01426 
01429 #define AXIS2_SVC_SET_SCHEMA_TARGET_NAME_SPACE_PREFIX(svc, env, prefix) \
01430         ((svc)->ops->set_schema_target_ns_prefix(svc, env, prefix))
01431 
01434 #define AXIS2_SVC_GET_TARGET_NS(svc, env) \
01435         ((svc)->ops->get_target_ns(svc, env))
01436 
01439 #define AXIS2_SVC_SET_TARGET_NS(svc, env, ns) \
01440         ((svc)->ops->set_target_ns(svc, env, ns))
01441 
01444 #define AXIS2_SVC_GET_TARGET_NS_PREFIX(svc, env) \
01445         ((svc)->ops->get_target_ns_prefix(svc, env))
01446 
01449 #define AXIS2_SVC_SET_TARGET_NS_PREFIX(svc, env, prefix) \
01450         ((svc)->ops->set_target_ns_prefix(svc, env, prefix))
01451 
01454 #define AXIS2_SVC_GET_SCHEMA_ELEMENT(svc, env) \
01455         ((svc)->ops->get_schema_element(svc, env))
01456 
01459 #define AXIS2_SVC_GET_NS_MAP(svc, env) \
01460         ((svc)->ops->get_ns_map(svc, env))
01461 
01464 #define AXIS2_SVC_SET_NS_MAP(svc, env, ns_map) \
01465         ((svc)->ops->set_ns_map(svc, env, ns_map))
01466 
01469 #define AXIS2_SVC_POPULATE_SCHEMA_MAPPINGS(svc, env) \
01470         ((svc)->ops->populate_schema_mappings(svc, env))
01471 
01473 #ifdef __cplusplus
01474 }
01475 #endif
01476 #endif                          /* AXIS2_SVC_H */

Generated on Thu Oct 26 21:11:24 2006 for Axis2/C by  doxygen 1.4.7