public void ClearMessageWithConfigViaConfig() { String msg = "The eH-I library now support publication and consultations of the ehBox"; publish = new ehBoxPublicationPortTypeClient("Publish"); consult = new ehBoxConsultationPortTypeClient("Consult"); var nurse = new PublicationMessageTypeDestinationContext(); nurse.Id = "83121034221"; nurse.Type = "INSS"; nurse.Quality = "NURSE"; var self = new PublicationMessageTypeDestinationContext(); self.Id = "0820563481"; self.Type = "CBE"; self.Quality = "INSTITUTION"; CleanupMsgBox(); String msgId = SendAndCheck(msg, ContentInfoTypeContentType.DOCUMENT, nurse, self); String rspMsg = ReceiveMessage(msgId); Assert.AreEqual(msg, rspMsg); }
public NewsPostMaster(SecurityInfo self, ehBoxPublicationPortTypeClient publish, ehBoxConsultationPortTypeClient consult, EtkDepotPortTypeClient etkDepot) : base(self, etkDepot) { this.publish = publish; this.consult = consult; }