04.11.2014 Views

elektronická verzia publikácie - FIIT STU - Slovenská technická ...

elektronická verzia publikácie - FIIT STU - Slovenská technická ...

elektronická verzia publikácie - FIIT STU - Slovenská technická ...

SHOW MORE
SHOW LESS

Create successful ePaper yourself

Turn your PDF publications into a flip-book with our unique Google optimized e-Paper software.

Semantic Web Services 171<br />

SOAP<br />

SOAP [52] is a protocol for exchanging XML-based messages over computer networks. It<br />

normally uses existing transport protocols HTTP/HTTPS. SOAP is fundamentally stateless,<br />

one-way messaging, but by combining the one-way exchanges, more complex communication<br />

patterns can be created. A core SOAP has a very simple structure. It is an XML<br />

element with two child elements for the header and the body. One of the most common<br />

messaging patterns in SOAP is the RPC (Remote Procedure Call). In this pattern the client<br />

sends a request message to the server which sends immediately the response.<br />

WSDL<br />

SOAP offers a basic communication pattern for web services. To be able to successfully<br />

interact with a service, we need to know which messages must be exchanged. For this<br />

purpose we use WSDL, an XML based language for description of the interfaces of Web<br />

services.<br />

UDDI<br />

UDDI is a way how to find a web service. It is a centralized registry of web services. It has<br />

three components:<br />

– White pages: name and contact details.<br />

– Yellow pages: categorization based on standard taxonomies.<br />

– Green pages: technical data about services.<br />

UDDI can be accessed using SOAP API. Using it, one can perform querying and updating<br />

of the registry. In Figure 6-3, you see how the SOAP, WSDL and UDDI work together to<br />

provide means for using web services.<br />

Service<br />

broker<br />

UDDI<br />

WSDL<br />

WSDL<br />

f(x)<br />

SOAP<br />

Service<br />

requestor<br />

Service<br />

provider<br />

Figure 6-3. Web service standards’ collaboration.

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!