diff options
author | nandika | 2010-07-27 11:00:12 +0000 |
---|---|---|
committer | nandika | 2010-07-27 11:00:12 +0000 |
commit | 244a41c2b4353373f87f36c41de9801564615a39 (patch) | |
tree | c4c64213a90e8c8389b81ae22103959824372d48 /samples/client/mtom | |
parent | 354644258be1dee4870b744183774f2bd22a28b7 (diff) | |
download | axis2c-244a41c2b4353373f87f36c41de9801564615a39.tar.gz axis2c-244a41c2b4353373f87f36c41de9801564615a39.tar.bz2 |
git-svn-id: http://svn.apache.org/repos/asf/axis/axis2/c/core/trunk@979640 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'samples/client/mtom')
-rw-r--r-- | samples/client/mtom/mtom_client.c | 3 |
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){ |