{"id":69394,"date":"2021-08-20T04:10:06","date_gmt":"2021-08-20T08:10:06","guid":{"rendered":"http:\/\/bangla.salearningschool.com\/recent-posts\/creating-and-consuming-xml-web-services-24\/"},"modified":"2025-05-11T20:19:39","modified_gmt":"2025-05-11T20:19:39","slug":"creating-and-consuming-xml-web-services-24","status":"publish","type":"post","link":"http:\/\/bangla.sitestree.com\/?p=69394","title":{"rendered":"Creating and Consuming XML Web Services #24"},"content":{"rendered":"\n<ul>\n<li> visual studio .net -&gt; File Menu -&gt; new project -&gt; Visual Basic\/C# projects -&gt; ASP.Net Web Service -&gt; The project will get created     <\/li>\n<li> Some Files as created: AssemblyInfo.cs\/vb: sharing and reuse in the CLR, Web.config, service1.asmx, service1.asmx.cs\/vb    <\/li>\n<li> Create web service methods in the asmx.vb\/cs files. A sample web-service method is already there   <\/li>\n<li> Now you can build the project using the Build Solution option   <\/li>\n<li> You can start the application, using the start option in the debug menu    <\/li>\n<li> Check other short-notes as listed in: http:\/\/www.justetc.net\/knowledge\/index.php?table=Articles&amp;categoryID=24 to know different aspects of web service programming    <\/li>\n<li> 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   <\/li>\n<li> 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   <\/li>\n<li> XML WebService Discovery Mechanism: enables a client application to locate or discover the documents that describe an XML Web Service  <\/li>\n<li> 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.  <\/li>\n<li> 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   <\/li>\n<li> Create a proxy class, create an object of that proxy class, call the web service methods using this proxy object  <\/li>\n<li> You may want to use serialization and deserialization while communicating with the web-services  <\/li>\n<\/ul>\n<p>From: http:\/\/sitestree.com\/?p=5229<br \/> Categories:24<br \/>Tags:<br \/> Post Data:2007-12-19 00:46:24<\/p>\n<pre><code>    Shop Online: &lt;a href='https:\/\/www.ShopForSoul.com\/' target='new' rel=\"noopener\"&gt;https:\/\/www.ShopForSoul.com\/&lt;\/a&gt;\n    (Big Data, Cloud, Security, Machine Learning): Courses: &lt;a href='http:\/\/Training.SitesTree.com' target='new' rel=\"noopener\"&gt; http:\/\/Training.SitesTree.com&lt;\/a&gt; \n    In Bengali: &lt;a href='http:\/\/Bangla.SaLearningSchool.com' target='new' rel=\"noopener\"&gt;http:\/\/Bangla.SaLearningSchool.com&lt;\/a&gt;\n    &lt;a href='http:\/\/SitesTree.com' target='new' rel=\"noopener\"&gt;http:\/\/SitesTree.com&lt;\/a&gt;\n    8112223 Canada Inc.\/JustEtc: &lt;a href='http:\/\/JustEtc.net' target='new' rel=\"noopener\"&gt;http:\/\/JustEtc.net (Software\/Web\/Mobile\/Big-Data\/Machine Learning) &lt;\/a&gt;\n    Shop Online: &lt;a href='https:\/\/www.ShopForSoul.com'&gt; https:\/\/www.ShopForSoul.com\/&lt;\/a&gt;\n    Medium: &lt;a href='https:\/\/medium.com\/@SayedAhmedCanada' target='new' rel=\"noopener\"&gt; https:\/\/medium.com\/@SayedAhmedCanada &lt;\/a&gt;\n<\/code><\/pre>\n","protected":false},"excerpt":{"rendered":"<p>visual studio .net -&gt; File Menu -&gt; new project -&gt; Visual Basic\/C# projects -&gt; ASP.Net Web Service -&gt; 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 &hellip; <\/p>\n<p><a class=\"more-link btn\" href=\"http:\/\/bangla.sitestree.com\/?p=69394\">Continue reading<\/a><\/p>\n","protected":false},"author":8,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"_jetpack_memberships_contains_paid_content":false,"footnotes":""},"categories":[1973,1917],"tags":[],"class_list":["post-69394","post","type-post","status-publish","format-standard","hentry","category-c-misc","category-fromsitestree-com","item-wrap"],"jetpack_featured_media_url":"","jetpack_sharing_enabled":true,"jetpack-related-posts":[{"id":65679,"url":"http:\/\/bangla.sitestree.com\/?p=65679","url_meta":{"origin":69394,"position":0},"title":"Creating and Consuming XML Web Services #Misc .Net","author":"Author-Check- Article-or-Video","date":"July 11, 2021","format":false,"excerpt":"Brought from our old-site (this short note can be as old as 2007): http:\/\/salearningschool.com\/displayArticle.php?table=Articles&articleID=1120&title=Creating%20and%20Consuming%20XML%20Web%20Services 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\u2026","rel":"","context":"In &quot;C# - Misc&quot;","block_context":{"text":"C# - Misc","link":"http:\/\/bangla.sitestree.com\/?cat=1973"},"img":{"alt_text":"","src":"","width":0,"height":0},"classes":[]},{"id":69864,"url":"http:\/\/bangla.sitestree.com\/?p=69864","url_meta":{"origin":69394,"position":1},"title":"How to Build a Personal Web-site with ASP.Net (VS 2008, .Net 2.0\/3,5) #19","author":"Author-Check- Article-or-Video","date":"August 21, 2021","format":false,"excerpt":"Video Tutorial on this topic Web-site Code used in this tutorial Steps Open visual studio 2008 IDE File -> new project -> Visual Basic -> Web -> ASP .Net Web Application Rename default.aspx to template.aspx Insert a table from the tool box Create three rows for the table: top, body,\u2026","rel":"","context":"In &quot;FromSitesTree.com&quot;","block_context":{"text":"FromSitesTree.com","link":"http:\/\/bangla.sitestree.com\/?cat=1917"},"img":{"alt_text":"","src":"","width":0,"height":0},"classes":[]},{"id":70271,"url":"http:\/\/bangla.sitestree.com\/?p=70271","url_meta":{"origin":69394,"position":2},"title":"How to Build a Personal Web-site with ASP.Net #.Net Web Applications","author":"Author-Check- Article-or-Video","date":"August 31, 2021","format":false,"excerpt":"Brought and updated from: http:\/\/salearningschool.com\/displayArticle.php?table=Articles&articleID=967&title=How%20to%20Build%20a%20Personal%20Web-site%20with%20ASP.Net%20(VS%202008,%20.Net%202.0\/3.5) This actually is an old way of doing. Video Tutorial on this topic [youtube https:\/\/www.youtube.com\/watch?v=PmWqWvaelyg] Web-site Code used in this tutorial Steps Open visual studio (2008) IDE File -> new project -> Visual Basic -> Web -> ASP .Net Web Application Rename default.aspx to template.aspx\u2026","rel":"","context":"In &quot;FromSitesTree.com&quot;","block_context":{"text":"FromSitesTree.com","link":"http:\/\/bangla.sitestree.com\/?cat=1917"},"img":{"alt_text":"","src":"","width":0,"height":0},"classes":[]},{"id":69884,"url":"http:\/\/bangla.sitestree.com\/?p=69884","url_meta":{"origin":69394,"position":3},"title":"Razor, Web-page Model, Web-Application Development in C# #19","author":"Author-Check- Article-or-Video","date":"August 21, 2021","format":false,"excerpt":"Razor, Web-page Model, Web-Application Development in C# Razor: a markup syntax to add server side code into ASP.net pages Razor example: Current time is @DateTime.Now Razor Code Syntax Single statement block @{ var message = \"Hello World\"; } Inline expression or variable The message: @message Multi-statement block @{ var greeting\u2026","rel":"","context":"In &quot;C# - Misc&quot;","block_context":{"text":"C# - Misc","link":"http:\/\/bangla.sitestree.com\/?cat=1973"},"img":{"alt_text":"","src":"","width":0,"height":0},"classes":[]},{"id":70285,"url":"http:\/\/bangla.sitestree.com\/?p=70285","url_meta":{"origin":69394,"position":4},"title":"Razor, Web-page Model, Web-Application Development in C# #.Net Web Applications","author":"Author-Check- Article-or-Video","date":"August 31, 2021","format":false,"excerpt":"Brought from: http:\/\/salearningschool.com\/displayArticle.php?table=Articles&articleID=1320&title=Razor,%20Web-page%20Model,%20Web-Application%20Development%20in%20C# (written long back) Razor, Web-page Model, Web-Application Development in C# Razor:a markup syntax to add server side code into ASP.net pages Razor example: Current time is @DateTime.Now Razor Code Syntax Single statement block @{ var message = \"Hello World\"; } Inline expression or variable The message: @message\u2026","rel":"","context":"In &quot;C# - Misc&quot;","block_context":{"text":"C# - Misc","link":"http:\/\/bangla.sitestree.com\/?cat=1973"},"img":{"alt_text":"","src":"","width":0,"height":0},"classes":[]},{"id":70003,"url":"http:\/\/bangla.sitestree.com\/?p=70003","url_meta":{"origin":69394,"position":5},"title":"Zend Developer Studio Overview #16","author":"Author-Check- Article-or-Video","date":"August 23, 2021","format":false,"excerpt":"If you are familiar with Eclipse development IDE, then you can learn Zend Developer Studio pretty easily. If you are familiar with programming concepts in general and especially in PHP, then you may need 1-3 days to be good at Zend Developer Studio. You really don't need 20 years of\u2026","rel":"","context":"In &quot;FromSitesTree.com&quot;","block_context":{"text":"FromSitesTree.com","link":"http:\/\/bangla.sitestree.com\/?cat=1917"},"img":{"alt_text":"","src":"","width":0,"height":0},"classes":[]}],"_links":{"self":[{"href":"http:\/\/bangla.sitestree.com\/index.php?rest_route=\/wp\/v2\/posts\/69394","targetHints":{"allow":["GET"]}}],"collection":[{"href":"http:\/\/bangla.sitestree.com\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"http:\/\/bangla.sitestree.com\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"http:\/\/bangla.sitestree.com\/index.php?rest_route=\/wp\/v2\/users\/8"}],"replies":[{"embeddable":true,"href":"http:\/\/bangla.sitestree.com\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=69394"}],"version-history":[{"count":1,"href":"http:\/\/bangla.sitestree.com\/index.php?rest_route=\/wp\/v2\/posts\/69394\/revisions"}],"predecessor-version":[{"id":78149,"href":"http:\/\/bangla.sitestree.com\/index.php?rest_route=\/wp\/v2\/posts\/69394\/revisions\/78149"}],"wp:attachment":[{"href":"http:\/\/bangla.sitestree.com\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=69394"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"http:\/\/bangla.sitestree.com\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=69394"},{"taxonomy":"post_tag","embeddable":true,"href":"http:\/\/bangla.sitestree.com\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=69394"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}