1 / 23

Appendix C: Service-Oriented Architectures

Appendix C: Service-Oriented Architectures. Objectives. After reading this appendix, you should be familiar with: Publishing Warehouse Builder objects as Web services Creating Web services based on a URL Executing Web services Using Web services in mappings

nguyet
Télécharger la présentation

Appendix C: Service-Oriented Architectures

An Image/Link below is provided (as is) to download presentation Download Policy: Content on the Website is provided to you AS IS for your information and personal use and may not be sold / licensed / shared on other websites without getting consent from its author. Content is provided to you AS IS for your information and personal use only. Download presentation by click this link. While downloading, if for some reason you are not able to download a presentation, the publisher may have deleted the file from their server. During download, if you can't get a presentation, the file might be deleted by the publisher.

E N D

Presentation Transcript


  1. Appendix C: Service-Oriented Architectures

  2. Objectives • After reading this appendix, you should be familiar with: • Publishing Warehouse Builder objects as Web services • Creating Web services based on a URL • Executing Web services • Using Web services in mappings • Using Web services as activities in process flows • Using Secure Sockets Layer (SSL) to access Web services securely

  3. Topics • Introduction to Web services • Publishing Warehouse Builder objects as Web services • Creating Web services based on a URL • Executing Web services • Using Web services in mappings • Using Web services as activities in process flows • Using Secure Sockets Layer (SSL) to access Web services securely

  4. What Are Services? • Services are: • Building blocks for an SOA-enabled application • Functionality-described standard interface and message structure definitions • Accessed using standard protocols (the glue) to enable interoperability from decoupled functions • A Web service is a software component that is capable of being accessed via standard network protocols. • Defined by a set of technologies that provide platform-independent protocols and standards used for exchanging data between applications • OWB supports Web services in two primary areas: • Expose and publish OWB processing objects (mappings, transformations, and so on) as Web services • Able to model and use Web services in process flows

  5. The SOA approach, reframing applications as collections of loosely-coupled software services communicating using open standards like SOAP and HTTP, is a new model for application architecture in the age of the Web. Service-Oriented Architecture • Building solutions based on Web services is commonly called Service-Oriented Architecture (SOA). • Web services generally interact using two XML-based standards: • Simple Object Access Protocol (SOAP), a protocol for exchanging XML-based messages over a computer network, normally using HTTP. It is used to send Web service requests and to receive Web service responses. • The Web Services Description Language (WSDL), an XML-based service description on how to communicate using the Web service.

  6. Topics • Introduction to Web services • Publishing Warehouse Builder objects as Web services • Creating Web services based on a URL • Executing Web services • Using Web services in mappings • Using Web services as activities in process flows • Using Secure Sockets Layer (SSL) to access Web services securely

  7. Full Support for SOA • Warehouse Builder fully supports service-oriented architectures for data integration. • OWB 11g R2 can be used to: • Publish OWB objects as a Web service: • ETL and data quality mappings • Process flows • Transformations • Data auditors • Consume an existing Web service • The new Application Server module is introduced to support Web services. • Two types of Application Server modules: Public and Private

  8. You can right-click a match-merge mapping and choose to create it as a Web service and then place it in a location for deployment (like any object in OWB). OWB generates a Web Services Description Language (WSDL) file for the Web service. Publishing a Web Service You can create a new private Application Server module that contains the Web Services node. All the Web services that you create or publish are added under this node.

  9. Topics • Introduction to Web services • Publishing Warehouse Builder objects as Web services • Creating Web services based on a URL • Executing Web services • Using Web services in mappings • Using Web services as activities in process flows • Using Secure Sockets Layer (SSL) to access Web services securely

  10. Top-Down Web Service Design Approach The name of the Web service—derived automatically from the WSDL file—can be edited. Click Browse to specify the path of the WSDL file. The URL address can be the path of a local file or the URL address of a remote file accessible across a network. The WSDL file contains the definitions of the existing Web service.

  11. Topics • Introduction to Web services • Publishing Warehouse Builder objects as Web services • Creating Web services based on a URL • Executing Web services • Using Web services in mappings • Using Web services as activities in process flows • Using Secure Sockets Layer (SSL) to access Web services securely

  12. Executing Web Services • You can execute Web services by using: • The Control Center Manager • A Web browser • To execute Web services, you must be signed in as a J2EE user who is granted the OWB_J2EE_EXECUTOR role. • When you use the OC4J server embedded within Warehouse Builder, this role is already created for you. • Use one of the following methods to assign this role to a J2EE user: • The Manage J2EE User Accounts option in the Repository Assistant • The J2EE User Management option under the Tools menu of the Design Center

  13. Topics • Introduction to Web services • Publishing Warehouse Builder objects as Web services • Creating Web services based on a URL • Executing Web services • Using Web services in mappings • Using Web services as activities in process flows • Using Secure Sockets Layer (SSL) to access Web services securely

  14. Methods for Creating a Mapping That Uses Web Services • Use one of the following methods to create a mapping that uses Web services as sources or targets: • Use the UTL_HTTP package. • Use the JPublisher utility to interface SQL to the Web service. • Use the UTL_DBWS package to consume Web services. • Depending on the version of Oracle Database, you may need to download and install the DBWS utility to perform these tasks. • Use the use_webservice_in_mapping.tcl script located in the OWB_ORACLE_HOME/owb/misc/mappingWS directory to create an expert that you can use to consume Web services in mapping.

  15. Topics • Introduction to Web services • Publishing Warehouse Builder objects as Web services • Creating Web services based on a URL • Executing Web services • Using Web services in mappings • Using Web services as activities in process flows • Using Secure Sockets Layer (SSL) to access Web services securely

  16. You can import existing Web services provided by external sources into the Public Application Servers module. Consuming a Web Service A Web Services Definition Language (WSDL) file contains the definition of a Web service. Using the WSDL URL, you can import the Web services’ metadata.

  17. Public Web Services Can Be Used by OWB Process Flows • You can use or call an existing Web service from a process flow.

  18. Topics • Introduction to Web services • Publishing Warehouse Builder objects as Web services • Creating Web services based on a URL • Executing Web services • Using Web services in mappings • Using Web services as activities in process flows • Using Secure Sockets Layer (SSL) to access Web services securely

  19. Web servicein a process flow Change default locationto URI location Secure access tothe Web service Accessing Web Services Securely

  20. 2 1 J2EE Roles for Java Runtime Security OWB 11g R2 allows J2EE users who are granted the OWB_J2EE_EXECUTOR role to execute Web services through a browser. Two ways to assign role:

  21. Demonstration Viewlet • Follow instructor directions to view the demonstration of Warehouse Builder support for Service-Oriented Architecture.

  22. Summary • In this appendix, you should have become familiar with: • Publishing Warehouse Builder objects as Web services • Creating Web services based on a URL • Executing Web services • Using Web services in mappings • Using Web services as activities in process flows • Using Secure Sockets Layer (SSL) to access Web services securely

More Related