public static void RegisterSoapActionForMethodBase(MethodBase mb) { SoapMethodAttribute attr = (SoapMethodAttribute)InternalRemotingServices.GetCachedSoapAttribute(mb); if (attr.SoapActionExplicitySet) RegisterSoapActionForMethodBase(mb, attr.SoapAction); } // RegisterSoapActionForMethodBase
public static void RegisterSoapActionForMethodBase(MethodBase mb) { SoapMethodAttribute soapMethodAttribute = (SoapMethodAttribute)InternalRemotingServices.GetCachedSoapAttribute(mb); if (soapMethodAttribute.SoapActionExplicitySet) { SoapServices.RegisterSoapActionForMethodBase(mb, soapMethodAttribute.SoapAction); } }