jAX-WS 2.0 binary data transmission

Hi all,

Just tap into web service technology recently. I google around and found out that there is MTOM.

But if by default,without MTOM enabled, how does JAX-WS handle binary transmission by default?

for example: one of my web method

@webmethod

publicvoid upload(byte[] byteArray){

//implementation

}

is above method automatically send the byte array as attachment in SOAP or it is just embedded in SOAP?

Best regards,

Caesar

[684 byte] By [caesara] at [2007-11-27 8:07:57]
# 1
By default it is just embedded in SOAP.
dkohlerta at 2007-7-12 19:50:45 > top of Java-index,Enterprise & Remote Computing,Enterprise Technologies...