5441337111

5441337111



Chapter 2 Background

The background chapter discusses and evaluates some of the current contemporary technologies. Firstly, two approaches for Web services are outlined, including a traditional SOAP-RPC based one, and another altemative called RESTful Web services [3]. Secondly, the ebXML framework comprising of a set of standards for e-Business integration and collaboration, is described. Thirdly, the business document exchange specification UBL is presented. Finally, the Supply-Chain Operations Reference-model (SCOR) is introduced.

2.1    Web services

2.1.1    REST vs. SOAP

The current generation of Web services are built on SOAP with the intention of being an interoperable protocol in the Internet world equivalent to the DCOM (Distributed Component Object Model) or CORBA (Common Object Reąuesting Broker Architecture) in the inter-application world. However, these technologies heavily rely on the RPC model which is only suitable for the closed-world situation. SOAP is designed to encapsulate RPC functionality into the SOAP envelope message, but the contents of elements ‘Header’ and ‘Body’ within the envelope message are application dependent and not defined in the SOAP specification [4] [5]. Therefore, when applying SOAP in an open multi-user environment with no global understanding of semantics of RPCs, sharing and changing interfaces of RPC model is extremely difficult and costly because the clients, servers, and the intermediaries are application specific and tight-coupled.

An example of a typical SOAP Web services reąuest and response is shown in Example 2-1. The reąuest function ‘getinfo’ is application defined and encapsulated in the SOAP message, and the response information is also embedded in the SOAP body.

Example 2-1 SOAP Web services reąuest/response sample Reąuest:

POST /temp HTTP/1.1 Host: www.harddisk.com Content-Type: application/soap+xml

<?xml version="l.0"?>

<env:Envelope xmlns:env="http://www.w3.org/2003/05/soap-envelope">

<env:Body>

<m:getinfo    env:encodingStyle="http://www.w3.org/2003/05/soap-encoding"

xmlns:m="http://www.harddisk.com/"> <m:partnumber>HD-150G</m:partnumber>

</m:getinfo>

</env:Body>

5


Zhangmin Lu, Student ID: 7315259



Wyszukiwarka

Podobne podstrony:
Przykładowy zestaw egzaminacyjny the cycle ride would be the best choice. I d enjoy the fresh air an
cp 26 honor. Hc delivcrcd a talk on thc value of Health and relatcd some of his various wandcring* a
roach 12 Weak forms Chapter 9 discussed the difference between strong and weak syllables in English.
REIDER PART 142 132 Chapter 4 Hand and Wrist Figurę 4-48. A, Opposition of the thumb. B, Lack of no
shoes&pattens2 Shoes in art and literaturę The purpose of this finał chapter is to bring to-gether
Chapter 5: Help and TroubleshootingView the Installation Documentation To view this document online
IMGR68 (2) Chapter EiohtDATING AND ATTRIBUTIONS Ii ■    mej difcnk » datnmnc the daae
Creative Doughcraft2 Chapter 1Tools and materials You will already have the necessary tools and mat
UHAM054 4The causes of headache and migraineIn this chapter, some of the common and rare causes
DSC07880 (3) 49 Photo 1. Uściąż. Dune ridge (ridge with outcrop) clearly visible in the background.
essent?rving?05 CHAPTER 1TOOLS AND EQUIPMENT The Differences between Carving and Carpentry Chis
essent?rving?27 CHAPTER 2SELECTING AND BUYING SUITABLE WOOD The Beginner’s Experience Thcrc is

więcej podobnych podstron