SOAPBodyElement sbe = bdy.addBodyElement(
envelope.createName("Body1", NS_PREFIX, NS_URI));
sbe.addChildElement(envelope.createName(
"Child1", NS_PREFIX, NS_URI)).addTextNode("This is Child1");
sbe.addChildElement(envelope.createName(
"Child2", NS_PREFIX, NS_URI)).addTextNode("This is Child2");
URL url1 = new URL("http://localhost:8080/SOAPMessage/attach.xml");
AttachmentPart ap = msg.createAttachmentPart(new DataHandler(url1));