The SOAP BeanSerializer will call the "getBytes()" method, encode the result, and send the data in the XML message. On the target side, the SOAP BeanDeserializer will create a new SOAPData instance and call "setBytes(..)".