public void SendNewMessage() { try { PFS.CommunicationServices svs = new PFS.CommunicationServices(); //svs.SendMessage(); } catch (Exception ex) { ExceptionManager.Rethrow(ex, ReThrowOptions.RethrowAsSoapException); } }
public void ProcessMessageWithParams(string destination, string origin, string body) { try { PFS.CommunicationServices svs = new PFS.CommunicationServices(); svs.ProcessMessage(destination, origin, body); } catch (Exception ex) { ExceptionManager.Rethrow(ex, ReThrowOptions.RethrowAsSoapException); } }