jquery link

my custom css

slimbox 2

analytics

Thursday, September 15, 2011

WebService - PI - WebService scenario...

Scenario overview:
  • Third party app sending request to PI webservice.
  • PI passing the request to third party webservice.
  • Third party webservice returning response to PI.
  • PI webservice returning response to third party app.

Steps at Enterprise Service Builder
1) Create request and response Data Type for SENDER.

2) Create request and response Message Type for SENDER.

3) Create External Definition and import wsdl file generated from external webservice. By doing so you should have the request and response External Message for RECEIVER.

4) Create outbound Service Interface.
  • Category: Outbound
  • Mode: Synchronous
  • For Request and Response Role, use Type as Message Type and assign Name with request and response message type respectively

5) Create inbound Service Interface.
  • Category: Inbound
  • Mode: Synchronous
  • For Request and Response Role, use Type as External Message and assign Name with request and response external message respectively

6) Create Message Mapping for request.
  • Source: Request Message Type
  • Target: Request External Message

7) Create Message Mapping for response.
  • Source: Response External Message
  • Target: Response Message Type

8) Create Operation Mapping.
  • Source Operation: Outbound Service Interface
  • Target Operation: Inbound Service Interface
  • Request Mapping Program: Request Message Mapping
  • Response Mapping Program: Response Message Mapping

Steps at Integration Builder
1) Create Configuration Scenario.

2) Create Business Component.

3) Add SENDER Communication Channel to Business Component.
  • Adapter Type: SOAP

4) Add RECEIVER Communication Channel to Business Component.
  • Adapter Type: SOAP
  • Target URL: Third party webservice URL
  • SOAP Action: Third party webservice SOAP Action

5) Create Receiver Determination.
  • Sender
    • Communication Component: Business Component
    • Interface: Outbound Service Interface
    • Namespace: namespace defined in ESB

6) Create Interface Determination.
  • Sender
    • Communication Component: Business Component
    • Interface: Outbound Service Interface
    • Namespace: namespace defined in ESB
  • Receiver
    • Communication Component: Business Component
    • Receiver Interfaces:
      • Operation Mapping: Operation Mapping defined in ESB (important)
      • Name: Inbound Service Interface
      • Namespace: namespace defined in ESB

7) Create Sender Agreement.
  • Sender
    • Communication Component: Business Component
    • Interface: Outbound Service Interface
    • Namespace: namespace defined in ESB
    • Sender Communication Channel: SENDER communication channel

8) Create Receiver Agreement.
  • Sender
    • Communication Component: Business Component
  • Receiver
    • Communication Component: Business Component
    • Interfaces: Inbound Service Interface
    • Namespace: namespace defined in ESB
    • Receiver Communication Channel: RECEIVER communication channel

No comments:

Post a Comment