// Create a DataHandler with the String DataSource object
DataHandler dataHandler = new DataHandler(stringDS);
//Store the data handler in ImageDepot bean
org.test.mtom.ObjectFactory of = new org.test.mtom.ObjectFactory();
ImageDepot imageDepot = new org.test.mtom.ObjectFactory().createImageDepot();
imageDepot.setImageData(dataHandler);
SendImage obj = of.createSendImage();
obj.setInput(imageDepot);
// The JAXB object is stored in the Axiom tree as an OMSourcedElement.
// The typical structure is