1 ssdg connector overview. 2 applications connectors ssdg ssdg stack service access providers (sap)...

15
1 SSDG Connector Overview

Upload: magnus-stokes

Post on 26-Dec-2015

218 views

Category:

Documents


3 download

TRANSCRIPT

Page 1: 1 SSDG Connector Overview. 2 Applications Connectors SSDG SSDG Stack Service Access Providers (SAP) or Service providers (SP) Implemented by IA Consultancy

1

SSDG Connector Overview

Page 2: 1 SSDG Connector Overview. 2 Applications Connectors SSDG SSDG Stack Service Access Providers (SAP) or Service providers (SP) Implemented by IA Consultancy

2

Applications

Connectors

SSDG

SSDG Stack

Service Access Providers (SAP) or Service providers (SP)Implemented by IA

Consultancy to Implementation

Agencies provided by C-DAC

C-DACSupport

SSDG SolutionSSDG Solution

Page 3: 1 SSDG Connector Overview. 2 Applications Connectors SSDG SSDG Stack Service Access Providers (SAP) or Service providers (SP) Implemented by IA Consultancy

3

Connectors

Designed for easy programming interface

Facilitate easy integration with SSDG

Ensure compliance to IIP (Interoperability Interface Protocol) and IIS (Interoperability Interface Specifications) messaging standards available in Java and .NET used by SSDG

Two types of connectors

Generic Connectors

Application Specific Connectors

Page 4: 1 SSDG Connector Overview. 2 Applications Connectors SSDG SSDG Stack Service Access Providers (SAP) or Service providers (SP) Implemented by IA Consultancy

4

Connectors in SSDG

SAP

SP

SSDG

SAP ApplicationSpecific

Connector

SP ApplicationSpecific

Connector

SAP Generic

Connector

SP Generic

Connector

Page 5: 1 SSDG Connector Overview. 2 Applications Connectors SSDG SSDG Stack Service Access Providers (SAP) or Service providers (SP) Implemented by IA Consultancy

5

Connectors

SAP Connectors

1. Generic Connectors

2. Application Specific Connectors

SP Connectors

1. Generic Connectors

2. Application Specific Connectors

Page 6: 1 SSDG Connector Overview. 2 Applications Connectors SSDG SSDG Stack Service Access Providers (SAP) or Service providers (SP) Implemented by IA Consultancy

6

Working with Connectors

Page 7: 1 SSDG Connector Overview. 2 Applications Connectors SSDG SSDG Stack Service Access Providers (SAP) or Service providers (SP) Implemented by IA Consultancy

7

Role of Connectors

Basically, connectors need to cater to two types of communicationrequirements.

Communication with SSDG, both from SAP and SP side as per the gateway standards and carrying the request and response to and from the citizens.Fulfillment of application specific needs which vary as per the factors likeapplication vendor, application development platform etc.

As a consequence, there exist two different types of connectors, the Genericconnector for catering to common requirements pertaining to the gatewayand Application Specific connector fulfilling application related needs

Page 8: 1 SSDG Connector Overview. 2 Applications Connectors SSDG SSDG Stack Service Access Providers (SAP) or Service providers (SP) Implemented by IA Consultancy

8

Roles of ASP and Generic Connectors

GenericSAP side Convert SAP request into IIP compliant format

used by SSDG. Web service communication in IIS compliant

format. 3 mode authentication support viz. Clear Text,

SHA1 and Digital Certificate for validating SAP to SP.

Data signing from SAP side to ensure that request data has not been tampered with in transit.

SP side Provides web service to receive request from

SSDG and respond accordingly. Request payload extraction and forwarding to SP

though SP application connector. Integrity check to ensure non tampering of

request data. Provides API to SP application connector to

submit response generated by SP.

Application SpecificSAP side Conversion of request message sent by SAP to

XML format for compliance with format specified by SP.

Searching service ID (Class ID) of service which SAP wants to avail.

Generic Connector API invocation for invoking appropriate functions of the SAP generic connector API for availing services of SP.

SP side Preparation of call handler to implement the

interfaces defined by SP generic connector. Looking up the actual methods that SP uses to

process the request and generate the response. These methods are identified based on their class ids.

The SP application specific connector calls the methods identified by their Class IDs for processing the request and sends back the response to SP generic connector to complete the cycle for synchronous / asynchronous message. It uses the generic connector API for the same.

Page 9: 1 SSDG Connector Overview. 2 Applications Connectors SSDG SSDG Stack Service Access Providers (SAP) or Service providers (SP) Implemented by IA Consultancy

9

Connectors at SAP Side

Page 10: 1 SSDG Connector Overview. 2 Applications Connectors SSDG SSDG Stack Service Access Providers (SAP) or Service providers (SP) Implemented by IA Consultancy

10

Application Specific –SAPConnector

To be developed by Implementation Agency

Take data from SAP and will convert into the format understandable to SP

Use SAP Generic Connector’s API’s to send the payload to SSDG.

Page 11: 1 SSDG Connector Overview. 2 Applications Connectors SSDG SSDG Stack Service Access Providers (SAP) or Service providers (SP) Implemented by IA Consultancy

11

Generic -SAP

Provided by C-DAC (Available in DVD-4 in SSDG

Installation Kit in three flavors Java, PhP and DotNet)

• Take request packet from SAP ASP connector

• Put in desired format to communicate with SSDG

• Forward it to SSDG

Page 12: 1 SSDG Connector Overview. 2 Applications Connectors SSDG SSDG Stack Service Access Providers (SAP) or Service providers (SP) Implemented by IA Consultancy

12

Connectors at SP Side

Page 13: 1 SSDG Connector Overview. 2 Applications Connectors SSDG SSDG Stack Service Access Providers (SAP) or Service providers (SP) Implemented by IA Consultancy

13

Generic -SP

Provided by C-DAC (DVD-4 of SSDG Installation kit)Available in Java and DotNet flavors

Check validity of the received message

Extract payload and forward to ASP at SP Side

Invalid messages back to SSDG with appropriate error messages

Page 14: 1 SSDG Connector Overview. 2 Applications Connectors SSDG SSDG Stack Service Access Providers (SAP) or Service providers (SP) Implemented by IA Consultancy

14

Application Specific -SP

To be developed by Implementation Agencies

• Understand the received payload

• Generate request for appropriate service at SP side

• send necessary response to SAP through SSDG

Page 15: 1 SSDG Connector Overview. 2 Applications Connectors SSDG SSDG Stack Service Access Providers (SAP) or Service providers (SP) Implemented by IA Consultancy

15

Thank YouAll details available in Connector development manual

(DVD-4 of SSDG Installation Kit) and on http://nsdg.gov.in or http://nsdg.cdacmumbai.in