[Mono-dev] [PATCH] System.Web.Services: support for interface service declaration

Konstantin Triger kostat at mainsoft.com
Thu Mar 15 11:19:47 EDT 2007


Hello all,

Attached patch enables web service declaration of the following form.
Please review.

namespace WebService3
{
	[WebServiceBinding (Namespace = "urn:contoso:com")]
	public interface IServiceContract
	{
		[WebMethod]
		string HelloWorld ();
	}

	[WebService (Namespace = "urn:contoso:com1")]
	public class Service2 : IServiceContract
	{
		public string HelloWorld () { return ""; }

		[WebMethod]
		public string HelloWorld1 () { return ""; }
	}
}

Regards,
Konstantin Triger

-------------- next part --------------
A non-text attachment was scrubbed...
Name: ifacebinding.patch
Type: application/octet-stream
Size: 5830 bytes
Desc: ifacebinding.patch
Url : http://lists.ximian.com/pipermail/mono-devel-list/attachments/20070315/3cc6e26a/attachment.obj 


More information about the Mono-devel-list mailing list