diff options
author | Atsushi Eno <atsushieno@gmail.com> | 2007-05-11 09:36:50 +0400 |
---|---|---|
committer | Atsushi Eno <atsushieno@gmail.com> | 2007-05-11 09:36:50 +0400 |
commit | be478d56c0bf32552f63766d3e9f21ffaf4ff536 (patch) | |
tree | 1b267ab90c7a79010019e46bcf12897c82cc7f47 /mcs/class/System.Web.Services/Test | |
parent | a98414c2e826f5d7f6dbc88c1c79d41aa264ddab (diff) |
2007-05-11 Atsushi Enomoto <atsushi@ximian.com>
* SoapServerType.cs : avoid IndexOutOfRange on reflecting
SoapRpcAttribute.
* SoapServerTypeTest.cs : make sure that SoapRpcServiceAttribute works.
svn path=/trunk/mcs/; revision=77194
Diffstat (limited to 'mcs/class/System.Web.Services/Test')
-rw-r--r-- | mcs/class/System.Web.Services/Test/System.Web.Services.Protocols/ChangeLog | 4 | ||||
-rw-r--r-- | mcs/class/System.Web.Services/Test/System.Web.Services.Protocols/SoapServerTypeTest.cs | 16 |
2 files changed, 20 insertions, 0 deletions
diff --git a/mcs/class/System.Web.Services/Test/System.Web.Services.Protocols/ChangeLog b/mcs/class/System.Web.Services/Test/System.Web.Services.Protocols/ChangeLog index 82048e7904a..c6a89213386 100644 --- a/mcs/class/System.Web.Services/Test/System.Web.Services.Protocols/ChangeLog +++ b/mcs/class/System.Web.Services/Test/System.Web.Services.Protocols/ChangeLog @@ -1,3 +1,7 @@ +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 diff --git a/mcs/class/System.Web.Services/Test/System.Web.Services.Protocols/SoapServerTypeTest.cs b/mcs/class/System.Web.Services/Test/System.Web.Services.Protocols/SoapServerTypeTest.cs index 32d69be644c..1476b80e93f 100644 --- a/mcs/class/System.Web.Services/Test/System.Web.Services.Protocols/SoapServerTypeTest.cs +++ b/mcs/class/System.Web.Services/Test/System.Web.Services.Protocols/SoapServerTypeTest.cs @@ -114,6 +114,22 @@ namespace MonoTests.System.Web.Services.Description 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")] |