public static String GetSoapActionFromMethodBase(MethodBase mb)
{
String soapAction = (String)_methodBaseToSoapAction[mb];
if (soapAction == null)
{
SoapMethodAttribute attr =
(SoapMethodAttribute)InternalRemotingServices.GetCachedSoapAttribute(mb);
soapAction = attr.SoapAction;
}
return soapAction;
} // GetSoapActionFromMethodBase