as.setComponent(new HttpSoapConnector(null, PORT, true));
as.setDestinationService(new QName("echo"));
container.activateComponent(as);
JavaMailAttachments sendAtts = new JavaMailAttachments();
sendAtts.setSoapMessage(new SimpleAttachment("soap-request.xml",
createDataHandler("soap-request.xml")));
sendAtts.addPart(new SimpleAttachment("ServiceMix.jpg",
createDataHandler("ServiceMix.jpg")));
ByteArrayOutputStream bos = new ByteArrayOutputStream();
sendAtts.write(bos);
InputStream is = new ByteArrayInputStream(bos.toByteArray());
PostMethod method = new PostMethod("http://localhost:" + PORT);