if (doc == null)
throw new NullPointerException(_MESSAGES.get("NullDocument"));
Element root = XmlUtils.createElement(doc, WssgConstants.ENTRY_QNAME);
EndpointReference myEPR = getResource().getEndpointReference();
XmlUtils.setElement(root, WssgConstants.SG_ENTRY_EPR_QNAME, myEPR);
EndpointReference member = getMemberEPR();
XmlUtils.setElement(root, WssgConstants.MEMBER_SERVICE_EPR_QNAME, member);
try
{
XmlUtils.setElement(root, WssgConstants.CONTENT_QNAME, getContent());