S90-09A Free Dumps Study Materials
Question 2: Service A is an entity service with a functional context dedicated to invoice-related processing. Service
B is a utility service that provides generic data access to a database.
In this service composition architecture, Service Consumer A sends a SOAP message containing an
invoice XML document to Service A (1). Service A then sends the invoice XML document to Service B (2),
which then writes the invoice document to a database.
The data model used by Service Consumer A to represent the invoice document is based on XML
Schema A. The service contract of Service A is designed to accept invoice documents based on XML
Schema B. The service contract for Service B is designed to accept invoice documents based on XML
Schema A. The database to which Service B needs to write the invoice record only accepts entire
business documents in Comma Separated Value (CSV) format.
Due to the incompatibility of the XML schemas used by the services, the sending of the invoice document
from Service Consumer A through to Service B cannot be accomplished using the services as they
currently exist. Assuming that the Contract Centralization pattern is being applied and that the Logic
Centralization is not being applied, what steps can be taken to enable the sending of the invoice
document from Service Consumer A to the database without adding logic that will increase the runtime
performance requirements of the service composition?
A.Service Consumer A can be redesigned to use XML Schema B so that the SOAP message it sends is
compliant with the service contract of Service A. The Data Model Transformation pattern can then be
applied to transform the SOAP message sent by Service A so that it conforms to the XML Schema A used
by Service B. The Standardized Service Contract principle must then be applied to Service B and Service
Consumer A so that the invoice XML document is optimized to avoid unnecessary validation.
B.The service composition can be redesigned so that Service Consumer A sends the invoice document
directly to Service B. Because Service Consumer A and Service B use XML Schema A, the need for
transformation logic is avoided. This naturally applies the Service Loose Coupling principle because
Service Consumer A is not required to send the invoice document in a format that is compliant with the
database used by Service B.
C.Service Consumer A can be redesigned to write the invoice document directly to the database. This
reduces performance requirements by avoiding the involvement of Service A and Service B. It further
supports the application of the Service Abstraction principle by ensuring that Service Consumer A hides
the details of the data access logic required to write to the database.
D.None of the above.
Correct Answer:B