Sunday, September 5, 2010

Creating Endpoints for a Credit Check Service

Websphere Business Services Fabric v7.0
Contact us...

Creating Endpoints for a Credit Check Service

Our ChooseCreditCheck dynamic assembly component needs to have some endpoints to consider. Earlier, we created endpoints for our process variations by importing some SCA modules. Here we'll create some endpoints for existing credit check services.

  1. From the Business Application Explorer, right-click Loans Origination App Project and select New\Endpoint ()
  2. This endpoint will represent our internal credit service. Enter name as Internal Credit Service and click Next ()
  3. There are several available address types for endpoints, but you only need to use the SCA address type.
    Using the server and port where the credit services are deployed enter a URL (i.e http://localhost:9080/BetterFinancialsBackendWeb/sca/InternalCreditCheck) ().

    Click Finish.
  4. Select the Interfaces tab of the Endpoint editor and click the Add Existing button ()
  5. Select the getCreditReport Interface and click OK ()
  6. The interface is added ()
  7. Select the Assertions tab and click the Add button to add an new assertion ()
  8. select Vocabulary Constraint Assertion and click OK ()
  9. Enter the following information in the Vocabulary Contraint Assertion window ()
    1. Required = check the box
    2. Business Concept = Credit Check Type
    3. Comparator = equal sign
    4. Concept Value = Internal
  10. The resulting assertions should appear as follows ()
  11. Follow the same steps to create an endpoint for the Experian credit service. Use the following settings:


    NameExperian Credit Service
    InterfacesgetCreditReport
    Addresshttp://localhost:9080/BetterFinancialsBackendWeb/sca/ExperianCreditCheck
    AssertionsVocabulary Constraint Assertion: Credit Check Type = Third-Party, Required
    Vocabulary Assertion: Premium Credit Check = True

    The resulting assertions should appear as follows ()
  12. Follow the same steps to create an endpoint for the TransUnion credit service. Use the following settings:


    NameTransUnion Credit Service
    InterfacesgetCreditReport
    Addresshttp://localhost:9080/BetterFinancialsBackendWeb/sca/TransUnionCreditCheck
    AssertionsVocabulary Constraint Assertion: Credit Check Type = Third-Party, Required
    Vocabulary Assertion: Premium Credit Check = False

    The resulting assertions should appear as follows ()

    The TransUnion service is only available on weekdays. We'll use a Hours of Operation assertion to describe when this endpoint will be considered as available.
    1. Add an Hours of Operation Assertion ().  Hint: Enter a search keyword, i.e Hours, to easily find the assertion type.
    2. Set the start time to 12AM, Duration to 24 hours, and select Mon – Friday ()
  13. Establish a cost-based priority on the endpoints
    The Experian Credit service is a premium service, but it also costs more to use this service than it does to invoke the TransUnion service. Let's use the cost field to establish a cost-based priority on the endpoints.
    1. Open the Experian Credit Service endpoint. Select the Overview tab. Set the cost field to 2 and the cost modifier to “Transaction” ()
    2. Edit the TransUnion endpoint to set a cost of 1 per transaction.

Related links

  1. Modeling, developing, assembling, deploying and managing an application
  2. Working with the Fabric templates in Business Space
  3. Business Space Information Center

No comments:

Post a Comment