summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/modules/mod_addr/addr_out_handler.c23
1 files changed, 12 insertions, 11 deletions
diff --git a/src/modules/mod_addr/addr_out_handler.c b/src/modules/mod_addr/addr_out_handler.c
index 880d1a9..4098d3a 100644
--- a/src/modules/mod_addr/addr_out_handler.c
+++ b/src/modules/mod_addr/addr_out_handler.c
@@ -606,7 +606,7 @@ axis2_addr_out_handler_add_to_soap_header(
axutil_array_list_t *meta_data_list = NULL;
axutil_array_list_t *extension_list = NULL;
axiom_node_t *header_block_node = NULL;
- axiom_node_t *header_node = NULL;
+ /*axiom_node_t *header_node = NULL; */
axiom_namespace_t *addr_ns_obj = NULL;
int size = 0;
@@ -614,7 +614,7 @@ axis2_addr_out_handler_add_to_soap_header(
AXIS2_PARAM_CHECK(env->error, type, AXIS2_FAILURE);
AXIS2_PARAM_CHECK(env->error, soap_header, AXIS2_FAILURE);
- header_node = axiom_soap_header_get_base_node(soap_header, env);
+ /*header_node = axiom_soap_header_get_base_node(soap_header, env); */
addr_ns_obj = axiom_namespace_create(env, addr_ns, AXIS2_WSA_DEFAULT_PREFIX);
header_block = axiom_soap_header_add_header_block(soap_header, env, type, addr_ns_obj);
@@ -628,11 +628,11 @@ axis2_addr_out_handler_add_to_soap_header(
if(address && *address)
{
axiom_node_t *hb_node = NULL;
- axiom_element_t *hb_ele = NULL;
+ /*axiom_element_t *hb_ele = NULL; */
axiom_node_t *address_node = NULL;
axiom_element_t *address_ele = NULL;
hb_node = axiom_soap_header_block_get_base_node(header_block, env);
- hb_ele = (axiom_element_t *)axiom_node_get_data_element(hb_node, env);
+ /*hb_ele = (axiom_element_t *)axiom_node_get_data_element(hb_node, env); */
addr_ns_obj = axiom_namespace_create(env, addr_ns, AXIS2_WSA_DEFAULT_PREFIX);
@@ -640,10 +640,10 @@ axis2_addr_out_handler_add_to_soap_header(
axiom_namespace_free(addr_ns_obj, env);
if(address_ele)
{
- axiom_namespace_t *dec_ns = NULL;
+ /*axiom_namespace_t *dec_ns = NULL; */
axiom_element_set_text(address_ele, env, address, address_node);
- dec_ns = axiom_element_find_declared_namespace(address_ele, env, addr_ns,
- AXIS2_WSA_DEFAULT_PREFIX);
+ /*dec_ns = axiom_element_find_declared_namespace(address_ele, env, addr_ns,
+ AXIS2_WSA_DEFAULT_PREFIX); */
}
}
@@ -768,7 +768,7 @@ axis2_addr_out_handler_add_to_header(
axiom_node_t *interface_node = NULL;
axiom_element_t *interface_ele = NULL;
const axis2_char_t *element_localname = NULL;
- axis2_svc_name_t *service_name = NULL;
+ /*axis2_svc_name_t *service_name = NULL; */
axiom_namespace_t *addr_ns_obj = NULL;
AXIS2_PARAM_CHECK(env->error, epr, AXIS2_FAILURE);
@@ -819,7 +819,7 @@ axis2_addr_out_handler_add_to_header(
}
- service_name = axis2_endpoint_ref_get_svc_name(epr, env);
+ /*service_name = axis2_endpoint_ref_get_svc_name(epr, env); */
return AXIS2_SUCCESS;
}
@@ -855,7 +855,8 @@ axis2_addr_out_handler_process_any_content_type(
ele = axiom_element_create(env, parent_ele_node, key, NULL, &node);
if(ele)
{
- if(!axutil_strcmp(AXIS2_WSA_NAMESPACE, addr_ns))
+ /*
+ if(!axutil_strcmp(AXIS2_WSA_NAMESPACE, addr_ns))
{
axiom_namespace_t *addr_ns_obj = NULL;
axiom_attribute_t *att = NULL;
@@ -864,7 +865,7 @@ axis2_addr_out_handler_process_any_content_type(
att = axiom_attribute_create(env,
AXIS2_WSA_IS_REFERENCE_PARAMETER_ATTRIBUTE,
AXIS2_WSA_TYPE_ATTRIBUTE_VALUE, addr_ns_obj);
- }
+ }*/
axiom_element_set_text(ele, env, val, node);
}
}