public void Subscribe(Message request) { try { var subscription = SubscriptionRequest.Parse(XElement.Parse(request.GetReaderAtBodyContents().ReadOuterXml())); _subscriptionManager.Add(subscription); } catch (Exception ex) { throw EpcisFault.Create(ex); } }
public virtual void Subscribe(Message request) { try { var subscription = SubscriptionRequest.Parse(XElement.Parse(request.GetReaderAtBodyContents().ReadOuterXml())); //TODO: store subscription //_subscriptionManager.Subscribe(subscription); } catch (EpcisException ex) { throw EpcisFault.Create(ex); } }