summaryrefslogtreecommitdiffstats
path: root/samples/client/mtom
diff options
context:
space:
mode:
Diffstat (limited to 'samples/client/mtom')
-rw-r--r--samples/client/mtom/mtom_client.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/samples/client/mtom/mtom_client.c b/samples/client/mtom/mtom_client.c
index 070ee5b..5db6ac7 100644
--- a/samples/client/mtom/mtom_client.c
+++ b/samples/client/mtom/mtom_client.c
@@ -250,14 +250,13 @@ process_response_node(
axiom_text_t *axiom_text = (axiom_text_t*)axiom_node_get_data_element(res_om_node, env);
data_handler = axiom_text_get_data_handler(axiom_text, env);
- /*axiom_data_handler_set_file_name(data_handler, env, (axis2_char_t *)to_save_name);*/
if(axiom_data_handler_get_cached(data_handler, env))
{
printf("Attachment is cached.\n");
}
else
{
- axiom_data_handler_set_file_name(data_handler, env, "test");
+ axiom_data_handler_set_file_name(data_handler, env, (axis2_char_t *)to_save_name);
axiom_data_handler_write_to(data_handler, env);
}
}else if(axiom_node_get_node_type(res_om_node, env) == AXIOM_ELEMENT){