I am using CodeDom to generate the c-sharp class for an ASMX webservice, but I'm having trouble adding the web service attributes to the class. I am trying to get the following end-result:
[WebService(Namespace = "http://schemas.me.com/mywebservice/", Name = "MyWebService")]
[WebServiceBinding(ConformsTo = WsiProfiles.BasicProfile1_1)]
public class MyWebService : WebService
{
}