internal RRMethod(WsdlParser.WsdlMethodInfo wsdlMethodInfo, WsdlParser.URTComplexType complexType) : base(wsdlMethodInfo.methodName, wsdlMethodInfo.soapAction, wsdlMethodInfo.methodAttributes, complexType)
 {
     this._wsdlMethodInfo = wsdlMethodInfo;
     this._requestElementName = null;
     this._requestElementNS = null;
     this._responseElementName = null;
     this._responseElementNS = null;
 }
 protected void ResolveWsdlParams(WsdlParser parser, string targetNS, string targetName, bool bRequest, WsdlParser.WsdlMethodInfo wsdlMethodInfo)
 {
     int length;
     this._wsdlMethodInfo = wsdlMethodInfo;
     this._paramNamesOrder = this._wsdlMethodInfo.paramNamesOrder;
     if (this._wsdlMethodInfo.bProperty)
     {
         length = 1;
     }
     else if (bRequest)
     {
         length = wsdlMethodInfo.inputNames.Length;
     }
     else
     {
         length = wsdlMethodInfo.outputNames.Length;
     }
     for (int i = 0; i < length; i++)
     {
         WsdlParser.URTParamType oUT;
         string str6;
         string str7;
         string str = null;
         string str2 = null;
         string name = null;
         string propertyType = null;
         string propertyNs = null;
         if (this._wsdlMethodInfo.bProperty)
         {
             propertyType = wsdlMethodInfo.propertyType;
             propertyNs = wsdlMethodInfo.propertyNs;
             oUT = WsdlParser.URTParamType.OUT;
         }
         else if (bRequest && !this._wsdlMethodInfo.bProperty)
         {
             str = wsdlMethodInfo.inputElements[i];
             str2 = wsdlMethodInfo.inputElementsNs[i];
             name = wsdlMethodInfo.inputNames[i];
             string text1 = wsdlMethodInfo.inputNamesNs[i];
             propertyType = wsdlMethodInfo.inputTypes[i];
             propertyNs = wsdlMethodInfo.inputTypesNs[i];
             oUT = WsdlParser.URTParamType.IN;
         }
         else
         {
             str = wsdlMethodInfo.outputElements[i];
             str2 = wsdlMethodInfo.outputElementsNs[i];
             name = wsdlMethodInfo.outputNames[i];
             string text2 = wsdlMethodInfo.outputNamesNs[i];
             propertyType = wsdlMethodInfo.outputTypes[i];
             propertyNs = wsdlMethodInfo.outputTypesNs[i];
             oUT = WsdlParser.URTParamType.OUT;
         }
         if ((str == null) || (str.Length == 0))
         {
             str6 = propertyType;
             str7 = propertyNs;
         }
         else
         {
             str6 = str;
             str7 = str2;
         }
         WsdlParser.URTNamespace urtNamespace = parser.LookupNamespace(str7);
         if (urtNamespace == null)
         {
             throw new SUDSParserException(string.Format(CultureInfo.CurrentCulture, CoreChannel.GetResourceString("Remoting_Suds_CantResolveSchemaNS"), new object[] { str7, str6 }));
         }
         WsdlParser.URTComplexType complexType = urtNamespace.LookupComplexType(str6);
         if ((complexType != null) && complexType.IsArray())
         {
             if (complexType.GetArray() == null)
             {
                 complexType.ResolveArray();
             }
             string array = complexType.GetArray();
             WsdlParser.URTNamespace arrayNS = complexType.GetArrayNS();
             this.AddParam(new WsdlParser.URTParam(name, array, arrayNS.Name, arrayNS.EncodedNS, oUT, true, parser, arrayNS));
         }
         else if (urtNamespace.UrtType == UrtType.Xsd)
         {
             string typeName = parser.MapSchemaTypesToCSharpTypes(str6);
             this.AddParam(new WsdlParser.URTParam(name, typeName, urtNamespace.Namespace, urtNamespace.EncodedNS, oUT, true, parser, urtNamespace));
         }
         else
         {
             string str10 = null;
             if (complexType != null)
             {
                 str10 = complexType.Name;
             }
             else
             {
                 WsdlParser.URTSimpleType simpleType = urtNamespace.LookupSimpleType(str6);
                 if (simpleType != null)
                 {
                     str10 = simpleType.Name;
                 }
                 else
                 {
                     str10 = str6;
                 }
             }
             this.AddParam(new WsdlParser.URTParam(name, str10, urtNamespace.Namespace, urtNamespace.EncodedNS, oUT, true, parser, urtNamespace));
         }
     }
 }
 internal OnewayMethod(WsdlParser.WsdlMethodInfo wsdlMethodInfo, WsdlParser.URTComplexType complexType) : base(wsdlMethodInfo.methodName, wsdlMethodInfo.soapAction, wsdlMethodInfo.methodAttributes, complexType)
 {
     this._wsdlMethodInfo = wsdlMethodInfo;
     this._messageElementName = null;
     this._messageElementNS = null;
 }