Example #1
0
 static void ParseWsdlArrayType(XmlReader reader, XmlAttribute attr)
 {
     if (attr.NamespaceURI == XmlSerializer.WsdlNamespace && attr.LocalName == "arrayType")
     {
         string ns = "", type, dimensions;
         TypeTranslator.ParseArrayType(attr.Value, out type, out ns, out dimensions);
         if (ns != "")
         {
             ns = reader.LookupNamespace(ns) + ":";
         }
         attr.Value = ns + type + dimensions;
     }
 }
Example #2
0
 private static void ParseWsdlArrayType(XmlReader reader, XmlAttribute attr)
 {
     if (attr.NamespaceURI == "http://schemas.xmlsoap.org/wsdl/" && attr.LocalName == "arrayType")
     {
         string text = string.Empty;
         string str;
         string str2;
         TypeTranslator.ParseArrayType(attr.Value, out str, out text, out str2);
         if (text != string.Empty)
         {
             text = reader.LookupNamespace(text) + ":";
         }
         attr.Value = text + str + str2;
     }
 }