axis-c-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Dinesh Premalal <>
Subject Re: sending binary data problem
Date Mon, 09 Jul 2007 14:31:47 GMT
Hi Filip,
       Please find my comments inline.
"Filip Pekarek" <> writes:

> Hello, I've problem uploading file from axis2C server using MTOM. I create on
> server data Handler as in example of mtom client :
>     image_om_ele = axiom_element_create(env, mtom_om_node, "image", NULL, &
> image_om_node);
>     data_handler = axiom_data_handler_create(env, image_name, "image/jpeg");
>     data_text = axiom_text_create_with_data_handler(env, image_om_node,
> data_handler, &data_om_node);
>     AXIOM_TEXT_SET_OPTIMIZE(data_text, env, optimized);
Are you sure that request message went to server side? Please get
confirm using TCPMonitor tool.
> , then on server call
>     AXIS2_MSG_CTX_SET_DOING_MTOM(msg_ctx,env,AXIS2_TRUE) and then return
> created xml with <Include href=cid:....> tag.
How about your server side code. Did you wrote it as in mtom service?
> But no binary data folows the response xml from server. What do I wrong? Do I
> have set message context or do more settings?
could you please send us axis2.log and mtom client log?


Dinesh Premalal
GPG ID : A255955C
GPG Key Finger Print : C481 E5D4 C27E DC34 9257  0229 4F44 266E A255 955C

To unsubscribe, e-mail:
For additional commands, e-mail:

View raw message