2.3 Transactional Operation on FCUBS
This topic provides information on Transactional Operation on FCUBS. For processing transactional operations, FCUBS core banking system exposes SOAP web services.
To invoke the SOAP web services, SOAP client stubs need to be generated with the help of WSDL exposed by FCUBS. The thus generated client stubs should be included in classpath and configure database entries in DIGX_FW_CONFIG_OUT_WS_CFG_B table. Create instance of FCUBS Soap client service using com.ofss.fc.infra.ws.JAXWSFactory.createServiceStub(String, String) and invoke the respective methods with required request payload.
com.ofss.fc.infra.ws.JAXWSFactory.createServiceStub(String, String) method will instantiate the respective SOAP client services by passing the service and operation name. It uses the DIGX_FW_CONFIG_OUT_WS_CFG_B database table to retrieve the SOAP WSDL URL, End point service name and proxy services name for instantiating the client services, so all the relevant database entries should be configured in database table for each service operations.
Following step to invoke the soap service:
- Generate SOAP client stubs from WSDL file.
- Insert the database entry in
DIGX_FW_CONFIG_OUT_WS_CFG_Btable for the respective service and operation. - Get the SOAP client services instance by invoking
com.ofss.fc.infra.ws.JAXWSFactory.createServiceStub(String, String)method. - Create request header instance and fill the mandatory fields.
- Create request body instance and fill the essential detail.
- Invoke the respective SOAP method by passing the request parameter containing request header and body.
- Create FCUBS SOAP Client Instance
This topic provides information on Create FCUBS SOAP Client Instance. Create an instance of soap client services by invokingJAXWSFactory.createServiceStubmethod by passing service id and operation name arguments to identify the service. - Get FCUBSHeader Values
This topic provides information on Get FCUBSHeader Values. Each and every FCUBS soap request requires header object of classFCUBSHeaderType.
Parent topic: FCUBS Adapter Implementation