+2007-05-11 Atsushi Enomoto <atsushi@ximian.com>
+
+ * SoapServerType.cs : avoid IndexOutOfRange on reflecting
+ SoapRpcAttribute.
+
2007-05-08 Atsushi Enomoto <atsushi@ximian.com>
* SoapServerMethod.cs : Some refactoring. simply use GetMethod() in
routingStyle = at.RoutingStyle;
}
else if (t.GetCustomAttributes (typeof(SoapRpcServiceAttribute), true).Length > 0) {
+ o = t.GetCustomAttributes (typeof(SoapRpcServiceAttribute), true);
SoapRpcServiceAttribute at = (SoapRpcServiceAttribute) o[0];
#if NET_2_0
bindingUse = at.Use;
+2007-05-11 Atsushi Enomoto <atsushi@ximian.com>
+
+ * SoapServerTypeTest.cs : make sure that SoapRpcServiceAttribute works.
+
2007-05-08 Atsushi Enomoto <atsushi@ximian.com>
* SoapServerTypeTest.cs : added some more tests related to server
new SoapServerType (typeof (WrongBindingNameClass), WebServiceProtocols.HttpSoap);
}
+ [Test]
+ public void SimpleRpcType ()
+ {
+ new SoapServerType (typeof (SimpleRpcService), WebServiceProtocols.HttpSoap);
+ }
+
+ [WebService]
+ [SoapRpcService]
+ public class SimpleRpcService : WebService
+ {
+ [WebMethod]
+ public void Hello ()
+ {
+ }
+ }
+
// bug #78953
[WebServiceAttribute (Namespace = "www.DefaultNamespace.org")]
[WebServiceBindingAttribute (Name = "Local", Namespace = "urn:localBinding:local")]