Streamline business processes with SOA

Source: Internet
Author: User
Tags web services

In BEA WebLogic Workshop 8.1, building a service-oriented architecture (SOA) is now a simple task. BEA provides a mechanism for visualizing the creation of complex business processes and services. In the following sections, I will guide you step-by-step through the process of creating a mortgage agency. Hopefully this article will give you an insight into how to build a service-oriented architecture (SOA) with the power of WebLogic Workshop.

We assume that an arbitrary number of subsystems have been generated for the process to access the payment process, and that the payment process calculates the monthly payment based on the number and terms of the loan. The agency usually deals with a large number of credit institutions in order to complete the loan. In our case, the agency will deal with the National Bank and local banks. These two organizations have Web services that we can use to get information about current lending rates. Our business processes will incorporate these services into our own logic to provide users with the most up-to-date information possible.

Begin

Before you start building your business processes, you need to build the WEB services that your business processes depend on. Our services should not only be able to return the current interest rate of the bank, but should also be able to return the name of the bank. For the purposes of this example, the current interest rate is calculated by randomly selecting a value from a statically defined interest rate table. The following steps will guide you through the steps to create the required applications, projects, and services in Workshop.

First, you need to create an empty application:

• Select File > New > Application ... and the New Application dialog box appears.

• Select Empty application and name it brokerage.

• Click Create.

The following creates a Web service project:

• Right-click the brokerage folder.

• Choose New > Project ..., and the New Project dialog box appears.

• Select Web Service Project and name it webservices.

• Click Create.

Create a national Banking service:

• Right-click the WebService folder.

• Select New > folder and name it Nationalbank.

• Right-click the Nationalbank folder.

• Select New > Web Service and the New File dialog box appears.

• Name the Web service Nationalbankservice.

• Click Create. The newly created service is displayed in the Edit pane.

• Right-click the service in the editing pane and select Add Method.

• Name the method getcurrentrate.

• Click the Source View tab.

• Modify the Web service so that it is consistent with listing 1.

• Select File > Save

Related Article

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.