https://bugzilla.novell.com/show_bug.cgi?id=446297
User [email protected] added comment https://bugzilla.novell.com/show_bug.cgi?id=446297#c3 --- Comment #3 from WebServices Group <[email protected]> 2009-02-09 12:59:21 MST --- Here is a more simple example (explains the sample project): library file contains: using System; using System.Web; using System.Web.Services.Protocols; using System.Web.Services; namespace Test { public class Test { public class SecurityInfo : SoapHeader { public string sUserName = String.Empty; public string sPassword = String.Empty; } public SecurityInfo SecurityInfoValue = new SecurityInfo(); [WebMethod()] [SoapHeader("SecurityInfoValue")] public string TestMethod () { return "Hello"; } } } index.asmx contains: <%@ WebService Language="C#" Class="Test.Test" %> When You create a web reference to this this webservice, the Reference.cs file contains: [System.Web.Services.Protocols.SoapHeaderAttribute("SecurityInfoValueField")] but should instead contain: [System.Web.Services.Protocols.SoapHeaderAttribute("SecurityInfoValue")] Visual Studio 2005 creates Reference.cs correctly. -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are the QA contact for the bug. You are the assignee for the bug. _______________________________________________ mono-bugs maillist - [email protected] http://lists.ximian.com/mailman/listinfo/mono-bugs
