dbfac.setNamespaceAware(true);
DocumentBuilder docBuilder = dbfac.newDocumentBuilder();
Document jaxwsDoc = docBuilder.parse(new InputSource(new StringReader(EPR200408)));
Source source = new DOMSource(jaxwsDoc);
SubmissionEndpointReference jaxwsEPR = new SubmissionEndpointReference(source);
EndpointReference axis2EPR =
EndpointReferenceUtils.createAxis2EndpointReference("");
String addressingNamespace = EndpointReferenceUtils.convertToAxis2(axis2EPR, jaxwsEPR);
OMElement eprElement =
EndpointReferenceHelper.toOM(OMF, axis2EPR, ELEMENT200408, addressingNamespace);
assertXMLEqual(EPR200408, eprElement.toString());
SubmissionEndpointReference jaxwsResult =
(SubmissionEndpointReference) EndpointReferenceUtils.convertFromAxis2(axis2EPR, Submission.WSA_NAMESPACE);
assertXMLEqual(EPR200408, jaxwsResult.toString());
}