Пример #1
0
        public async Task <ActionResult <ResultDocument> > SimilarXmlDocument([FromBody] string soapMessage)
        {
            var result = await XmlProcessor.ProcessSimilarWSHWithDocument(soapMessage);

            return(Ok(new
            {
                result.MessageID,
                result.StartingTime,
                result.EndingTime,
                result.DifferenceTime,
                result.Size,
                result.WsaAcceptFaultTo,
                result.WsaAction,
                result.WsaFaultTo,
                result.WsaFrom,
                result.WsaRelatesTo,
                result.WsaReplyTo,
                result.WsaRetryMessages,
                result.WsaTo
            }));
        }