Beruflich Dokumente
Kultur Dokumente
2
Web Service Roles
Service
Registry
Service Service
Requestor 3) Invoke service Provider
3
Types of Web Services
4
SOAP Web Services
6
Soap Web Service - Protocol Stack
7
Soap Web Service - SOAP
What is SOAP?
• Simple Object Access Protocol
• Is a protocol that uses XML messages to perform
RPC (Remote Procedure Calls), meaning, call a
function on another (usually remote) program
• Requests are encoded in XML and send via HTTP
• Responses are encoded in XML and received via
HTTP
8
Soap Web Service - SOAP Message
querying a phonebook
10
Soap Web Service - WSDL
What is WSDL?
Web Services Description Language
Has 6 major elements:
1. Definitions – defines the name of the web service
2. Types – describes all the data types that will be transmitted
3. Message – defines the name of the message that will be
transmitted
4. PortType – defines the operations
5. Binding – defines how the message will be transmitted
6. Service – defines where the service is located
11
SOAP Configuration
Development plan for Service Requestor
13
Development plan for Service Provider
4) Deploy service
14
What is RESTful Web Service
http://www.acme.com/phonebook/getUserDetails?id=12345 •
http://www.acme.com/phonebook/user12345.xml
RESTful Example
SOAP
Google GeoCoding API
Documentation
https://developers.google.com/maps/documentation/geocoding/ •