Exemplo n.º 1
0
        public static string ParsePin(XDocument soapMessage, string withPattern)
        {
            var soapMessageBody = soapMessage.Descendants()
                                  .First(tag =>
                                         tag.Name.LocalName.Equals("Body") &&
                                         tag.Name.NamespaceName.Equals("http://schemas.xmlsoap.org/soap/envelope/"))
                                  .ToString();

            return(PinSearchUtil.ParsePin(soapMessageBody, withPattern));
        }
Exemplo n.º 2
0
 public static string ParsePin(string parseText, string withPattern)
 {
     return(PinSearchUtil.ParsePin(parseText, withPattern));
 }