public CallbackSubscription(WsrfSession parent,Element payload) { super(parent,null); Element address = payload.getFirstChildElement(WSNConstants.SUBSCRIPTION_REFERENCE, Constants.WSRF_WSNT_NAMESPACE); if (address == null) { throw new AlpineRuntimeException("Missing element " + WSNConstants.SUBSCRIPTION_REFERENCE + "in " + payload); }  AlpineEPR epr = new AlpineEPR(address, CddlmConstants.WS_ADDRESSING_NAMESPACE); epr.validate(); bind(epr);
public CallbackSubscription(AlpineEPR endpoint, boolean validating, TransmitQueue queue) { super(endpoint, validating, queue);
    public CallbackSubscription(WsrfSession parent,Element payload) {        super(parent,null);        Element address = payload.getFirstChildElement(WSNConstants.SUBSCRIPTION_REFERENCE,                Constants.WSRF_WSNT_NAMESPACE);        if (address == null) {            throw new AlpineRuntimeException("Missing element " + WSNConstants.SUBSCRIPTION_REFERENCE                    + "in " + payload);        }        //get the WSA address back        AlpineEPR epr = new AlpineEPR(address, CddlmConstants.WS_ADDRESSING_NAMESPACE);        epr.validate();        bind(epr);    }