imageDepot.setImageData(image);
setText(imageDepot);
//Create a request bean with imagedepot bean as value
ObjectFactory factory = new ObjectFactory();
Invoke request = factory.createInvoke();
request.setInput(imageDepot);
SendImageResponse response = (SendImageResponse) dispatch.invoke(request);
assertNotNull(response);
assertNotNull(response.getOutput().getImageData());