<?xml version="1.0" encoding="UTF-8" ?>
<?xml-stylesheet type="text/xsl" href="http://forums.asp.net/utility/FeedStylesheets/rss.xsl" media="screen"?><rss version="2.0" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:slash="http://purl.org/rss/1.0/modules/slash/" xmlns:wfw="http://wellformedweb.org/CommentAPI/"><channel><title>XML Web Services</title><link>http://forums.asp.net/28.aspx</link><description>All about building XML Web Services with ASP.NET - SOAP, WSDL, WCF, etc. &lt;a href="http://aspadvice.com/SignUp/list.aspx?l=66&amp;c=17" target="_blank"&gt;Email List&lt;/a&gt;</description><dc:language>en</dc:language><generator>CommunityServer 2007 SP1 (Build: 20510.895)</generator><item><title>Re: Change Web Method Naming</title><link>http://forums.asp.net/thread/3276137.aspx</link><pubDate>Mon, 06 Jul 2009 06:50:37 GMT</pubDate><guid isPermaLink="false">4c671506-2930-414c-a40b-8bf57ded5924:3276137</guid><dc:creator>ManofStil</dc:creator><slash:comments>0</slash:comments><comments>http://forums.asp.net/thread/3276137.aspx</comments><wfw:commentRss>http://forums.asp.net/commentrss.aspx?SectionID=28&amp;PostID=3276137</wfw:commentRss><description>&lt;p&gt;I am runnning VS 2005 TFS and corresponding .NET 2.0.&lt;/p&gt;
&lt;p&gt;But I just figured it out friday afternoon.&lt;/p&gt;
&lt;p&gt;In my class file (it was generated from an xsd-file) I removed the following line of code from each class:&lt;/p&gt;&lt;pre class="vb.net" name="code"&gt;System.Xml.Serialization.XmlTypeAttribute(AnonymousType:=True)&lt;/pre&gt;
&lt;p&gt;Then a whole lot of my problems and strange behaviors in the project were solved - including this strange naming. Now my methods are named right as they should. :)&lt;/p&gt;
&lt;p&gt;Thank you for looking into this.&lt;br /&gt;Maybe this helps someone who&amp;#39;s got similar troubles.&lt;/p&gt;
&lt;p&gt;kind regards&lt;br /&gt;MoS&lt;/p&gt;</description></item><item><title>Re: Change Web Method Naming</title><link>http://forums.asp.net/thread/3275063.aspx</link><pubDate>Sun, 05 Jul 2009 02:44:54 GMT</pubDate><guid isPermaLink="false">4c671506-2930-414c-a40b-8bf57ded5924:3275063</guid><dc:creator>johnwsaunders3</dc:creator><slash:comments>0</slash:comments><comments>http://forums.asp.net/thread/3275063.aspx</comments><wfw:commentRss>http://forums.asp.net/commentrss.aspx?SectionID=28&amp;PostID=3275063</wfw:commentRss><description>&lt;p&gt;Which version of .NET are you running, and which version of Visual Studio? I can&amp;#39;t reproduce this problem.&lt;br /&gt;&lt;/p&gt;</description></item><item><title>Change Web Method Naming</title><link>http://forums.asp.net/thread/3266490.aspx</link><pubDate>Tue, 30 Jun 2009 12:25:55 GMT</pubDate><guid isPermaLink="false">4c671506-2930-414c-a40b-8bf57ded5924:3266490</guid><dc:creator>ManofStil</dc:creator><slash:comments>0</slash:comments><comments>http://forums.asp.net/thread/3266490.aspx</comments><wfw:commentRss>http://forums.asp.net/commentrss.aspx?SectionID=28&amp;PostID=3266490</wfw:commentRss><description>&lt;p&gt;&amp;nbsp;Hello,&lt;/p&gt;
&lt;p&gt;I&amp;#39;ve got the following web method definition:&lt;/p&gt;
&lt;p&gt;&lt;pre class="vb.net" name="code"&gt;&amp;lt;System.Web.Services.WebMethod(MessageName:=&amp;quot;Create_Record&amp;quot;)&amp;gt; _
        Public Function CreateNewRecord(ByVal Parameter1 As MyClass) As String&lt;/pre&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;
&lt;p&gt;So far, so good.&lt;br /&gt;When I want to create the parameter class of type &amp;quot;MyClass&amp;quot;, I have to call it as follows:&lt;/p&gt;
&lt;p&gt;&lt;pre class="vb.net" name="code"&gt;Dim newrecord As New MyWebService.Create_RecordParameter1()&lt;/pre&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;
&lt;p&gt;My question is: I don&amp;#39;t want to have the parameter name in my method name.&lt;br /&gt;I&amp;#39;d rather to have something like:&lt;/p&gt;&lt;pre class="vb.net" name="code"&gt;Dim newrecord As New MyWebService.Parameter1()
MyWebServiceClass.CreateRecord(newrecord)&lt;/pre&gt;
&lt;p&gt;&lt;br /&gt;&lt;/p&gt;
&lt;p&gt;&amp;nbsp;How do I define the FINAL name of a method/parameter for my web service?&lt;/p&gt;
&lt;p&gt;Thank you in advance&lt;br /&gt;Kind regards&lt;br /&gt;MoS&lt;/p&gt;</description></item></channel></rss>