Web Service FAQ
Add Comment<script language="JavaScript"> function display(Ans) { var change ="document.all."+Ans+".style.display"; if(eval(change+"== 'none'")) {eval(change +"= 'inline'");} else if(eval(change+"== 'inline'")){eval(change+"= 'none'") ;} } </script> <div onclick="display('a1')" style="cursor: hand"><b>1) What are Web Services ?</b></div> <div id=a1 style="display:inline">Web Services are "Applications delivered as service over the Web" . To have more info about it read <a href="article.aspx?ArticleID=15&&TopicID=7" class="wbox">this article</a>.<br></div><br> <div onclick="display('a2')" style="cursor: hand"><b>2) Can Web Services generate events within clients ?</b></div> <div id=a2 style="display:inline">No Web Services cannot generate Events within the clients , you will have to find a way around it , like the client polling after sometime to check if there is anything new.<br></div><br> <div onclick="display('a3')" style="cursor: hand"><b>3) To use Web Services from ASP.NET , do I need to learn SOAP ?</b></div> <div id=a3 style="display:inline">The ASP.NET architecture hides the SOAP implementation from the programmer so you do not need to have any knowledge about SOAP.<br></div><br> <div onclick="display('a4')" style="cursor: hand"><b>4) Is there any difference in the Proxy class generated by Visual Studio.NET and the Proxy class generated by the WSDL tool in Web Services ?</b></div> <div id=a4 style="display:inline">No, both the Proxy classes are the same. Only VS makes it more easy for the programmer.<br></div><br> <div onclick="display('a5')" style="cursor: hand"><b>5) Where do I place the Proxy dll while creating a Web Application as a Consumer for the Web Service ?</b></div> <div id=a5 style="display:inline">In ASP.NET according to the specification you have to create a "/bin" directory just above the Virtual Directory which hosts your application and place the "Dll" file in this "/bin" directory. Eg. if you are on a LocalHost then create a "/bin" directory in the "wwwroot" folder.<br></div><br> <script language="JavaScript" > var ua = window.navigator.userAgent; var msie = ua.indexOf ( "MSIE " ); if ( msie > 0 ) { for( var i = 1; i < 6 ; i++ ) { var temp = "a" + i ; display( temp ); } } </script>