{"id":69388,"date":"2021-08-20T04:10:04","date_gmt":"2021-08-20T08:10:04","guid":{"rendered":"http:\/\/bangla.salearningschool.com\/recent-posts\/advanced-xml-web-services-programming-24\/"},"modified":"2025-05-11T20:19:39","modified_gmt":"2025-05-11T20:19:39","slug":"advanced-xml-web-services-programming-24","status":"publish","type":"post","link":"http:\/\/bangla.sitestree.com\/?p=69388","title":{"rendered":"Advanced XML Web Services Programming #24"},"content":{"rendered":"<p>Attributes of a web method. Using attributes, you can define the behavior of the methods exposed. <br \/>Syntax <\/p>\n<p>VB.net <\/p>\n<p>_<br \/>Public Function &#8230;.<\/p>\n<p>C# <br \/>[WebMethod (BufferResponse=false)]public int HelloWorld(){&#8230;&#8230;<\/p>\n<p>Attributes:  <\/p>\n<ul>\n<li> BufferResponse: Should the response be buffered?     <\/li>\n<li> CacheDuration: Number of seconds the response is cached in memory     <\/li>\n<li> Description: Describe a web method     <\/li>\n<li> EnableSession: Should session state be enabled or not?     <\/li>\n<li> MessageName: Alias to a web method     <\/li>\n<li> TransactionOption: Transaction support for a web-method  <\/li>\n<\/ul>\n<p>Creating Asynchronous methods: later &#8230;&#8230;<\/p>\n<p>From: http:\/\/sitestree.com\/?p=5225<br \/> Categories:24<br \/>Tags:<br \/> Post Data:2011-05-16 15:16:30<\/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>Attributes of a web method. Using attributes, you can define the behavior of the methods exposed. Syntax VB.net _Public Function &#8230;. C# [WebMethod (BufferResponse=false)]public int HelloWorld(){&#8230;&#8230; Attributes: BufferResponse: Should the response be buffered? CacheDuration: Number of seconds the response is cached in memory Description: Describe a web method EnableSession: Should session state be enabled or &hellip; <\/p>\n<p><a class=\"more-link btn\" href=\"http:\/\/bangla.sitestree.com\/?p=69388\">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-69388","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":24432,"url":"http:\/\/bangla.sitestree.com\/?p=24432","url_meta":{"origin":69388,"position":0},"title":"Attributes of a Web Method (.Net, XML Programming) #Root","author":"Author-Check- Article-or-Video","date":"April 9, 2021","format":false,"excerpt":"Brought from: http:\/\/salearningschool.com\/displayArticle.php?table=Articles&articleID=1118&title=Advanced%20XML%20Web%20Services%20Programming Attributes of a web method. Using attributes, you can define the behavior of the methods exposed. Syntax VB.net Public Function .... C# [WebMethod (BufferResponse=false)] public int HelloWorld(){ ...... } We just used BufferResponse attribute in the method declaration above. Some other attributes: Attributes: BufferResponse: Should the response\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":68907,"url":"http:\/\/bangla.sitestree.com\/?p=68907","url_meta":{"origin":69388,"position":1},"title":"JavaScript DOM: Must knowledge to understand Ajax #65","author":"Author-Check- Article-or-Video","date":"August 8, 2021","format":false,"excerpt":"Understanding Javascript DOM is the first step to understand Ajax. DOM provides many methods to access and edit individual components of a web-page\/document. The methods are called getters. Hello getElementById method can reference to this div element. var testDiv = document.getElementById(\"test\"); CSS #test{} refers to the same area of the\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":69282,"url":"http:\/\/bangla.sitestree.com\/?p=69282","url_meta":{"origin":69388,"position":2},"title":"JSP: Random Information #37","author":"Author-Check- Article-or-Video","date":"August 16, 2021","format":false,"excerpt":"Three JSP constructs: scripting elements, actions, directives Scripting elements: expressions, scriptlets, declarations Expression = translates to println in servlets in _jspService methods < % = expression %> < % = new java.util.Date() %> inserts values directly to the output scriptlet: block of java code : directly inserted into the related\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":69284,"url":"http:\/\/bangla.sitestree.com\/?p=69284","url_meta":{"origin":69388,"position":3},"title":"JSP: Custom Tags #37","author":"Author-Check- Article-or-Video","date":"August 16, 2021","format":false,"excerpt":"Custom Tags = alternatives to java beans for JSP = reduces some limitations of JavaBeans (in JSP) like to few methods to access the bean, you may still require to write much java code in JSP [that we want to avoid] Overview: Custom tag with no body should extend TagSupport\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":68909,"url":"http:\/\/bangla.sitestree.com\/?p=68909","url_meta":{"origin":69388,"position":4},"title":"Ajax: An Overview #65","author":"Author-Check- Article-or-Video","date":"August 8, 2021","format":false,"excerpt":"Ajax: dynamically changes a portion of the current web-page without refreshing the total web-page. Resembles the way IFrame works. So far I know, google uses IFrame to display\/refresh maps in web-pages XMLHttpRequest is the object that serves the purpose of Ajax The way it works: create an instance of the\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":70025,"url":"http:\/\/bangla.sitestree.com\/?p=70025","url_meta":{"origin":69388,"position":5},"title":"OOP concepts in PHP 5 in brief #16","author":"Author-Check- Article-or-Video","date":"August 23, 2021","format":false,"excerpt":"OOP concepts in PHP 5 in short Why this short - note? if you are familiar with OOD and any OOP language such as Java\/C++, this short note will give you enough information to start with PHP 5 OOP Class Class definition starts with the keyword class, followed by a\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\/69388","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=69388"}],"version-history":[{"count":1,"href":"http:\/\/bangla.sitestree.com\/index.php?rest_route=\/wp\/v2\/posts\/69388\/revisions"}],"predecessor-version":[{"id":78150,"href":"http:\/\/bangla.sitestree.com\/index.php?rest_route=\/wp\/v2\/posts\/69388\/revisions\/78150"}],"wp:attachment":[{"href":"http:\/\/bangla.sitestree.com\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=69388"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"http:\/\/bangla.sitestree.com\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=69388"},{"taxonomy":"post_tag","embeddable":true,"href":"http:\/\/bangla.sitestree.com\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=69388"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}