1. How will you browse the WSDL definition of the Web service hosted at http://w
ID: 641974 • Letter: 1
Question
1. How will you browse the WSDL definition of the Web service hosted at http://www.devry.edu/web460/student.asmx?
2. What is meant by cookieless session management?
3. In ASP.NET mobile Web applications, how do device filters facilitate developing Web applications for various mobile devices?
4. What is the difference between a web.config and machine.config file? Which one takes precedence over the other?
5. What is the data binding expression used to bind a TextBox in a GridView Item Template column to the Name element within an XML document? The XPath expression to retrieve the Name element is Students/Student/Name.
6. What are the steps needed to send an e-mail message from an ASP.NET Web application (you don
Explanation / Answer
1.Accessing Web Services from a Web Browser
You can access a Web service that supports the HTTP-GET protocol from a Web browser. By default, Web services that you create in Visual Studio by using the ASP.NET Web Service project template support HTTP-GET, HTTP-POST, and HTTP-SOAP. Not all protocols can support all methods. In general, the HTTP-GET and HTTP-POST protocols are more restricted than HTTP-SOAP in the data types they can support.
To access a Web service from a Web Browser
In your browser's Address field, type the base URL for the Web service with the method name and parameters in the query string by using the following format:
Parameter
Value
servername
The server on which the Web service resides.
projectname
The name of the project for your Web service and any additional directory information needed to access the .asmx file for your Web service.
webservicename.asmx
The name of the .asmx file for the Web service.
methodname
The case-sensitive name of the Web method.
parametername
The names of the Web method parameters.
value
The URL encoded values of each of the Web method parameters.
For example, to access the ReturnThisString method of a Web service named Service1.asmx with a parameter named MyString set to a value of "This is my test string" and that is part of a project named WebService1 on your local machine, you would enter the following:
Parameter
Value
servername
The server on which the Web service resides.
projectname
The name of the project for your Web service and any additional directory information needed to access the .asmx file for your Web service.
webservicename.asmx
The name of the .asmx file for the Web service.
methodname
The case-sensitive name of the Web method.
parametername
The names of the Web method parameters.
value
The URL encoded values of each of the Web method parameters.
Related Questions
Navigate
Integrity-first tutoring: explanations and feedback only — we do not complete graded work. Learn more.