SOAPMessage message = msgFactory.createMessage();
message.getSOAPHeader().detachNode();
SOAPPart soapPart = message.getSOAPPart();
SOAPBody soapBody = soapPart.getEnvelope().getBody();
//Create the outer body element
Name bodyName = factory.createName(elem.getNodeName(), prefix, UDDI_V2_NAMESPACE);
SOAPBodyElement bodyElement = soapBody.addBodyElement(bodyName);
bodyElement.addNamespaceDeclaration(prefix, UDDI_V2_NAMESPACE);
appendAttributes(bodyElement, elem.getAttributes(), factory);
appendElements(bodyElement, elem.getChildNodes(), factory);
return message;