Professional Documents
Culture Documents
Net Framework
Wrapper &
AgentRunner
Web
Wrapper &
AgentRunner
Web Apache Tomcat
Wrapper &
AgentRunner
Web
Web
Information Integration – Web
Services View
Web Service
Glue code
Web Service
Web Server
Web Service
Web
What’s the Difference?
• Web services
– Standard protocols, WSDL, SOAP…
– “Easy” integration using commercial tools
– Restricted to web sites that are web services
– Less than 0.01% of web is in web service format
• Wrappers
– Can support more web sites compared to web services
– Integration using academic tools may be little harder
compared to commercial tools for web services
– No standard protocols
Overview
• Web services
• Web services protocols
• Develop web services
• Consume web services
What We Are Not Going to Cover
About .Net
• Definition
– According to IBM “web services are self-
contained, modular applications that can be
described, published, located, and invoked over
a network, generally, the world wide web”
– According to Microsoft “a web service is
programmable application logic, accessible
using standard internet protocols”
Web Services: Major Protocols
• XML
• SOAP
• WSDL
• UDDI
Developing .Net Framework Web
Service
Hands on Lab
Create Hello World Web Service
Develop a simple web service that
sends a message Hello World.
Creating Hello World Web
Service
You will see the standard VS.NET IDE, click on switch to code view
to see the code behind the web service
Creating Hello World Web
Service (Cont’d)
Uncomment the four lines that have code for Hello World method.
Developing .Net Framework Web
Service
Hands on Lab
Create Hello World Web Service
Let’s See Web Service in Action
Hello World Web Service
• What just happened?
– VS.NET created test page for hello world
– VS.NET also created WSDL for hello world
– VS.NET also enabled hello world to ‘talk’
SOAP, WSDL and XML over HTTP
• Why do we care about WSDL?
– WSDL can be used by programs like VS.NET
or users to integrate our web service with their
apps or web services
Web Services
Address
Hands on Lab
Calculator Example
Develop a windows application that
accepts two numbers and an
operation and calls appropriate web
service to provide the result
Integrating Web Services Using
Visual Studio.Net
Hands on Lab
Calculator Example
Let’s See the Application in Action
Conclusion
• Issues
– Web services coverage
– Web services discovery
– Object identification
– Web service content description
• Solutions
– Web services discovery
• Directory services, e.g. UDDI
– Web service content description
• Resource description framework(RDF), semantic web ??
– Object identification
• Active learning techniques ??
Conclusion (Cont’d)