- visual studio .net -> File Menu -> new project -> Visual Basic/C# projects -> ASP.Net Web Service -> The project will get created
- Some Files as created: AssemblyInfo.cs/vb: sharing and reuse in the CLR, Web.config, service1.asmx, service1.asmx.cs/vb
- Create web service methods in the asmx.vb/cs files. A sample web-service method is already there
- Now you can build the project using the Build Solution option
- You can start the application, using the start option in the debug menu
- Check other short-notes as listed in: http://www.justetc.net/knowledge/index.php?table=Articles&categoryID=24 to know different aspects of web service programming
- You can publish the web-service using the publish option in the popup menu from the solution explorer. or the publish option in the build menu
- Then you are required to change some configuration in the IIS server such as give directory browsing permission, make the virtual directory an IIS application, provide execute permission
- XML WebService Discovery Mechanism: enables a client application to locate or discover the documents that describe an XML Web Service
- You may want to create a discovery file and deploy in your web-server so that clients can know your services and make use of them.
- To create, client application for a web-service, first you have to have the permission to access, then you need to add a web-reference to that service from your application
- Create a proxy class, create an object of that proxy class, call the web service methods using this proxy object
- You may want to use serialization and deserialization while communicating with the web-services
From: http://sitestree.com/?p=5229
Categories:24
Tags:
Post Data:2007-12-19 00:46:24
Shop Online: <a href='https://www.ShopForSoul.com/' target='new' rel="noopener">https://www.ShopForSoul.com/</a>
(Big Data, Cloud, Security, Machine Learning): Courses: <a href='http://Training.SitesTree.com' target='new' rel="noopener"> http://Training.SitesTree.com</a>
In Bengali: <a href='http://Bangla.SaLearningSchool.com' target='new' rel="noopener">http://Bangla.SaLearningSchool.com</a>
<a href='http://SitesTree.com' target='new' rel="noopener">http://SitesTree.com</a>
8112223 Canada Inc./JustEtc: <a href='http://JustEtc.net' target='new' rel="noopener">http://JustEtc.net (Software/Web/Mobile/Big-Data/Machine Learning) </a>
Shop Online: <a href='https://www.ShopForSoul.com'> https://www.ShopForSoul.com/</a>
Medium: <a href='https://medium.com/@SayedAhmedCanada' target='new' rel="noopener"> https://medium.com/@SayedAhmedCanada </a>