Reference no: EM13349492
QUESTION 1
a) Briefly describe the role of each of following four main abstractions that form part of an SOA-
i Application Front-end
ii Service
iii Service Repository
iv Service Bus
b) A service is a software component of distinctive functional meaning that typically encapsulates a high-level business concept, and is usually made up of three parts. Describe the three sub-components that make up a service
c) List and describe each of the two particular methods for binding to a service
QUESTION 2
Intermediary services can be classified as stateless services that bridge technical inconsistencies or design gaps in an architecture. They act as both clients and servers in a Service Oriented Architecture, and cut through technology gateways, adapters, façades and functionality-adding services
a) Describe the following components with respect to intermediary services-
i Technology gateways
ii Adapters
iii Facade
iv Functionality-adding services
b) Briefly describe the other three categories of services, apart from intermediary services, in an SOA?
c) Considering all the four different types of services in an SOA, which one is considered the most complex type? Justify your answer
QUESTION 3
a) The service-oriented architecture (SOA) provides the theoretical model for all Web Services
i What are Web Services?
ii Describe the three entities and three operations that represent the Web Services model defined by SOA. (Support your answer with a diagram)
b) Describe the role of the following three core Web Service standards-
i SOAP
ii WSDL
iii UDDI
QUESTION 4
Imagine that you are implementing a web client application in C# using Microsoft Visual Studio to consume a Web Service named MauritianRupeeConvertor. This service has one operation, named getExchangeRate, which returns the exchange rate of the Mauritian Rupee against another foreign currency
a) Use extracts from the WSDL file provided below to define the signature of the method getExchangeRate
b) What is a proxy class and why is it required when consuming a Web Service?
<s:element name="getExchangeRate">
<wsdl:types>
<s:element name="getExchangeRate">
<s:complexType>
<s:sequence>
<s:element minOccurs="0" maxOccurs="1" name="to" type="s:string" />
</s:sequence>
</s:complexType>
</s:element>
<s:element name="getExchangeRateResponse">
<s:complexType>
<s:sequence>
<s:element minOccurs="1" maxOccurs="1" name="getExchangeRateResult" type="s:double" />
</s:sequence>
</s:complexType>
</s:element>
</wsdl:types>
c) Complete the following C# code below for the calculate button click event on the web client you have designed to consume the operation ‘getExchangeRate'. The button click will return the exchange rate of the Mauritian Rupee against the currency specified in the textbox ‘text_currency', and will return its value to the variable ‘rate' which will have to be displayed in another textbox, named ‘text_exRate'. The variable ‘service' of type ‘CurrencyConvRef' is the reference to the ‘MauritianRupeeConvertor' service
protected void calculateRate_Click(object sender, EventArgs e)
{
String foreignCurrency = text_currency.Text;
double rate = 0;
CurrecyConvRef.Service service;
...
}
d) Another company, who works only with Java programming language, wants to implement the same service in JSP. Do think that it is possible to do so without changing the implementation for the service? Justify your answer