- public void TestSoapActions_NotWorking ()
- {
- string act;
- MethodBase mb;
-
- mb = typeof(SoapTest).GetMethod ("FesAlgo");
- act = SoapServices.GetSoapActionFromMethodBase (mb);
-
- mb = typeof(SoapTest).GetMethod ("FesAlgoMes");
- act = SoapServices.GetSoapActionFromMethodBase (mb);
- if (act != "anotheraction")
- {
- SoapServices.RegisterSoapActionForMethodBase (mb, "anotheraction");
- }
-
- mb = typeof(SoapTest).GetMethod ("FesAlgoMesEspecial");
- act = SoapServices.GetSoapActionFromMethodBase (mb);
-
- string typeName, methodName;
- bool res;
-
- res = SoapServices.GetTypeAndMethodNameFromSoapAction ("myaction", out typeName, out methodName);
- AssertEquals ("M2", GetSimpleTypeName (typeof(SoapTest)), typeName);
-
- res = SoapServices.GetTypeAndMethodNameFromSoapAction ("anotheraction", out typeName, out methodName);
- AssertEquals ("M5", GetSimpleTypeName (typeof(SoapTest)), typeName);
-
- res = SoapServices.GetTypeAndMethodNameFromSoapAction (GetClassNs (typeof(SoapTest))+ "#FesAlgoMesEspecial", out typeName, out methodName);
- AssertEquals ("M8", GetSimpleTypeName (typeof(SoapTest)), typeName);
- }
-
- [Test]