OMElement identifier = factory.createOMElement(WsmgCommonConstants.SUBSCRIPTION_ID,
responseMessage.getNamespace());
identifier.setText(subId);
EndpointReference serviceLocationEndpointReference = new EndpointReference(ctx.getMessageContext()
.getAxisService().getEndpointURL());
serviceLocationEndpointReference.addReferenceParameter(identifier);
OMElement subscriptionReference = null;
try {
subscriptionReference = EndpointReferenceHelper.toOM(factory, serviceLocationEndpointReference, new QName(
"SubscriptionReference"), NameSpaceConstants.WSA_NS.getNamespaceURI());