String imageResourceDir = System.getProperty("basedir",".")+"/"+"test-resources"+File.separator+"image";
File file = new File(imageResourceDir+File.separator+"test.jpg");
ImageInputStream fiis = new FileImageInputStream(file);
Image image = ImageIO.read(fiis);
imageDS = new DataSourceImpl("image/jpeg","test.jpg",image);
String textResourceDir = System.getProperty("basedir",".")+"/"+"test/org/apache/axis2/jaxws/xmlhttp";
File file2 = new File(textResourceDir+File.separator+"README.txt");
txtDS = new FileDataSource(file2);