You are viewing a plain text version of this content. The canonical link for it is here.
Posted to java-user@axis.apache.org by Caterina Lascaro <ka...@gmail.com> on 2007/04/21 13:44:42 UTC
MTOM or not?
Hello!
I have a question about binary attachment.
I created a ws like this, without MTOM and without SwA:
public boolean load(byte[]data, String filename){
os = new FileOutputStream(path+filename)
// write ...
}
I have to create a client with wsdl2java so I can't use SwA.
I wonder why/if I have to use MTOM.
Can anyone explain me which pro I will have?
Sorry for my bad bad English!!
Thank you very much!
Kay*
Re: MTOM or not?
Posted by Glen Mazza <gr...@verizon.net>.
There is an pretty easy-to-follow MTOM example in the AXIS2 samples
directory you may be able to leverage (check the binary download).
Glen
Am Samstag, den 21.04.2007, 13:44 +0200 schrieb Caterina Lascaro:
> Hello!
> I have a question about binary attachment.
> I created a ws like this, without MTOM and without SwA:
>
> public boolean load(byte[]data, String filename){
> os = new FileOutputStream(path+filename)
> // write ...
> }
>
> I have to create a client with wsdl2java so I can't use SwA.
> I wonder why/if I have to use MTOM.
> Can anyone explain me which pro I will have?
> Sorry for my bad bad English!!
>
> Thank you very much!
>
> Kay*
>
---------------------------------------------------------------------
To unsubscribe, e-mail: axis-user-unsubscribe@ws.apache.org
For additional commands, e-mail: axis-user-help@ws.apache.org