<?xml version="1.0"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="en">
		<id>https://logicwiki.co.uk/index.php?action=history&amp;feed=atom&amp;title=ASP.NET_web_services</id>
		<title>ASP.NET web services - Revision history</title>
		<link rel="self" type="application/atom+xml" href="https://logicwiki.co.uk/index.php?action=history&amp;feed=atom&amp;title=ASP.NET_web_services"/>
		<link rel="alternate" type="text/html" href="https://logicwiki.co.uk/index.php?title=ASP.NET_web_services&amp;action=history"/>
		<updated>2026-09-05T07:27:18Z</updated>
		<subtitle>Revision history for this page on the wiki</subtitle>
		<generator>MediaWiki 1.26.2</generator>

	<entry>
		<id>https://logicwiki.co.uk/index.php?title=ASP.NET_web_services&amp;diff=207&amp;oldid=prev</id>
		<title>Dt1nh6: 1 revision imported</title>
		<link rel="alternate" type="text/html" href="https://logicwiki.co.uk/index.php?title=ASP.NET_web_services&amp;diff=207&amp;oldid=prev"/>
				<updated>2016-05-09T13:27:25Z</updated>
		
		<summary type="html">&lt;p&gt;1 revision imported&lt;/p&gt;
&lt;table class='diff diff-contentalign-left'&gt;
				&lt;tr style='vertical-align: top;' lang='en'&gt;
				&lt;td colspan='1' style=&quot;background-color: white; color:black; text-align: center;&quot;&gt;← Older revision&lt;/td&gt;
				&lt;td colspan='1' style=&quot;background-color: white; color:black; text-align: center;&quot;&gt;Revision as of 13:27, 9 May 2016&lt;/td&gt;
				&lt;/tr&gt;&lt;tr&gt;&lt;td colspan='2' style='text-align: center;' lang='en'&gt;&lt;div class=&quot;mw-diff-empty&quot;&gt;(No difference)&lt;/div&gt;
&lt;/td&gt;&lt;/tr&gt;&lt;/table&gt;</summary>
		<author><name>Dt1nh6</name></author>	</entry>

	<entry>
		<id>https://logicwiki.co.uk/index.php?title=ASP.NET_web_services&amp;diff=206&amp;oldid=prev</id>
		<title>Macrop at 12:26, 26 September 2014</title>
		<link rel="alternate" type="text/html" href="https://logicwiki.co.uk/index.php?title=ASP.NET_web_services&amp;diff=206&amp;oldid=prev"/>
				<updated>2014-09-26T12:26:29Z</updated>
		
		<summary type="html">&lt;p&gt;&lt;/p&gt;
&lt;p&gt;&lt;b&gt;New page&lt;/b&gt;&lt;/p&gt;&lt;div&gt;[[Category:ASP.NET]]&lt;br /&gt;
[[Category:Web Services]]&lt;br /&gt;
&lt;br /&gt;
To make a method, '''WebMethod''' add this keyword to the beginning of method&lt;br /&gt;
&lt;br /&gt;
 [WebMethod]&lt;br /&gt;
 public int AddUser(string name)&lt;br /&gt;
 {&lt;br /&gt;
 ....&lt;br /&gt;
 }&lt;br /&gt;
&lt;br /&gt;
To Add a description to a method &lt;br /&gt;
&lt;br /&gt;
 [WebMethod(Description = &amp;quot;Adds a user to the system&amp;quot;)&lt;br /&gt;
 &lt;br /&gt;
&lt;br /&gt;
not necessary but inheriting WebService in main class is useful &lt;br /&gt;
&lt;br /&gt;
 public class MyWebService : WebService&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
 using Ststem.Web.Services;&lt;br /&gt;
 namespace MyWebServices&lt;br /&gt;
 {&lt;br /&gt;
   [WebService(Namespace = &amp;quot;http://s3k.me&amp;quot;)]&lt;br /&gt;
   [WebServiceBinding(ConformsTo = WsiProfiles.BasicProfile1_1)]&lt;br /&gt;
   [System.ComponentModel.ToolboxItem(false)]&lt;br /&gt;
   public class MyWebService : WebService&lt;br /&gt;
   {&lt;br /&gt;
     [WebMethod(Description = &amp;quot;Adds User&amp;quot;)]&lt;br /&gt;
     public int AddUser(string Name)&lt;br /&gt;
     {&lt;br /&gt;
     ....&lt;br /&gt;
     }&lt;br /&gt;
   }&lt;br /&gt;
 }&lt;br /&gt;
&lt;br /&gt;
To use session in a web service method &lt;br /&gt;
&lt;br /&gt;
 [WebMethod(Description = &amp;quot;Adds a user to the system&amp;quot;, EnableSession = true)&lt;br /&gt;
&lt;br /&gt;
There is also a command line program to get wsdl info. (Check MSDN for parameters)&lt;br /&gt;
 wsdl&lt;/div&gt;</summary>
		<author><name>Macrop</name></author>	</entry>

	</feed>