Web Development Fundamentals:-
Call a Service from a Web Page:-
Web Services:-
Enable applications to send and receive information across the Internet.
Enable programming logic and capabilities to shared with many other applications.
Contain programmable logic accessible by standard Web protocols.
Microsoft Visual Studio 2008 makes Extensible Markup Language (XML) Web services extremely easy to develop and to use.
Example- web service code:-
* .asm page
-> Contains file type information and a directive to the code - behind page
-> Code - behind page
[Visual C#]
public class Servicel : System.Web.Service
{
[WebMethod]
public type function()
{
//function here
}
}
[Visual C#]
[WebMethod()> public Function Function() As type
'function_here
End Funtion
End Class
To access web service we use “SOAP” Protocol.
Web service return the data in the form of XML
XML Web services provide a simple, flexible, standards-based model to connect applications over the Internet.
Lesson Review:-
What is the use of XML Web services
Call a Service from a Web Page:-
Web Services:-
Enable applications to send and receive information across the Internet.
Enable programming logic and capabilities to shared with many other applications.
Contain programmable logic accessible by standard Web protocols.
Microsoft Visual Studio 2008 makes Extensible Markup Language (XML) Web services extremely easy to develop and to use.
Example- web service code:-
* .asm page
-> Contains file type information and a directive to the code - behind page
-> Code - behind page
[Visual C#]
public class Servicel : System.Web.Service
{
[WebMethod]
public type function()
{
//function here
}
}
[Visual C#]
[WebMethod()> public Function Function() As type
'function_here
End Funtion
End Class
To access web service we use “SOAP” Protocol.
Web service return the data in the form of XML
XML Web services provide a simple, flexible, standards-based model to connect applications over the Internet.
Lesson Review:-
What is the use of XML Web services