Forum Stats

  • 3,855,628 Users
  • 2,264,535 Discussions
  • 7,906,119 Comments

Discussions

Batch Asses Service vs 'Standard' Asses Service

Dennis van Reijn
Dennis van Reijn Member Posts: 13 Red Ribbon

Hi All,

Does anyone have any experience in using both the Batch Asses Service as the 'standard' Asses Service?

I am wondering what the real differences are next to SOAP vs REST.

What I am especially looking for is what the benefit is of using the Batch Assess Service:

- Is there really a lot of performance difference if you use this Batch Assess Service?

- Is there are certain moment where you really need to step over from the 'Standard' Asses Service' to the Batch Asses Service and run into limitation from the 'Standard Assess Service'?

Please share me your experiences.

Kind regards,

Dennis van Reijn

Tagged:

Best Answer

  • Orlando Rodrigues
    Orlando Rodrigues Member Posts: 218
    edited Apr 30, 2019 9:01AM Answer ✓

    https://docs.oracle.com/en/cloud/saas/service/19a/opawx/op-determinations-server-batch-12.2.7-policy-models-policy-model…

    Please note that with REST relationship public names are sent instead of entity names in SOAP.

                    "outcomes": [

                                   "g_date_debut_ressources_mensuelles",

                                   "g_date_debut_annuelle-n-1",

                                   "g_date_debut_annuelle-n-2",

                                   "g_date_fin_ressources_mensuelles",

                                   "g_date_fin_annuelle-n-1",

                                   "g_date_fin_annuelle-n-2",

                                   "personne_tech_id",

                                   "personne_ressources_declaration_urgence",

                                   "personne_ressources_brm",

                                   "personne_ressources_declaration_mensuelle",

                                   "personne_ressources_dpr",

                                   "personne_ressources_declaration_annuelle_n-1",

                                   "personne_ressources_cntdf",

                                   "personne_ressources_declaration_annuelle_n-2",

                                   "personne_ressources_declaration_pensions_alimentaires_n-1",

                                   "personne_ressources_frais_reels_n-1",

                                   "personne_ressources_patrimoine",

                                   "personne_ressources_manquantes_mensuelles",

                                   "personne_ressources_manquantes_n-1",

                                   "personne_ressources_manquantes_n-2",

                                   "personne_ressources_manquantes_patrimoine",

                                   "personne_ressources_manquantes_frais_reels",

                                   "personne_ressources_manquantes_pensions_alimentaires",

                                   "ressourcesortante_tech_id",

                                   "ressourcesortante_source",

                                   "ressourcesortante_periodicite",

                                   "ressourcesortante_mois",

                                   "ressourcesortante_annee",

                                   "ressourcesortante_montant",

                                   "ressourcesortante_type",

                                   "perioderessourcemanquante_tech_id",

                                   "perioderessourcemanquante_annee",

                                   "perioderessourcemanquante_mois",

                                   "perioderessourcemanquante_periodicite",

                                   "coderet_code"

                    ],

                    "cases": [{

                                                   "@id": 11,

                                                   "g_date_ref": "2019-11-25",

                                                   "g_date_deb_premier_trim_droit": "2019-08-01",

                                                   "relation_global_personne": [{

                                                                                   "@id": 111,

                                                                                   "personne_tech_id": "111",

                                                                                   "personne_date_nais": "1976-04-12",

                                                                                   "relation_personne_sitpers": [{

                                                                                                                  "@id": 1111,

                                                                                                                  "sitpers_tech_id": "1111",

                                                                                                                  "sitpers_date_deb": "2000-01-01",

                                                                                                                  "sitpers_date_fin": "2999-12-31",

                                                                                                                  "sitpers_situation": "SALARIE_CP"

                                                                                                  }

                                                                                   ],

                                                                                   "relation_personne_ressource": [{

                                                                                                                  "@id": 11111,

                                                                                                                  "ressource_tech_id": "201800REV_ACT_SAL158",

                                                                                                                  "ressource_source": "DPR",

                                                                                                                  "ressource_periodicite": "ANN",

                                                                                                                  "ressource_annee": "2018",

                                                                                                                  "ressource_mois": "N/A",

                                                                                                                  "ressource_type": "REV_ACT_SAL",

                                                                                                                  "ressource_montant": 6480.00

                                                                                                  }

                                                                                   ]

                                                                   }

                                                   ]

                                   }

                    ]

Answers

  • Orlando Rodrigues
    Orlando Rodrigues Member Posts: 218
    edited Apr 25, 2019 5:01AM

    Hi,

    So far on my client only SOAP was used.

    On next steps, there is a need to send various cases in one OPA call and in batch mode. The only way to do that is to activate batch functionalities and uses REST API's.

    What you need to know:

    It is very easy from SOAP to generate an OPM session and debug and analyse results

    It is almost impossible from a JSON message without set up complicated code to generate a SOAP message from JSON one.

    So far; REST API is not pushed up by Oracle for real time purposes even if it is possible. For real time SOAP is the standard way of thinking.

    I guess that next road map for OPA could generalize REST for real time purposes but this problematic of create an OPM session will stay and in my contexte is a real issue.

    Cheers,

    Orlando

  • User_X4QH0
    User_X4QH0 Member Posts: 1 Red Ribbon
    edited Apr 30, 2019 8:08AM

    Hi Orlando,

    Where can I find OPA batch assess service request which has entities. Currently I need sample request with entity configuration.

  • Orlando Rodrigues
    Orlando Rodrigues Member Posts: 218
    edited Apr 30, 2019 9:01AM Answer ✓

    https://docs.oracle.com/en/cloud/saas/service/19a/opawx/op-determinations-server-batch-12.2.7-policy-models-policy-model…

    Please note that with REST relationship public names are sent instead of entity names in SOAP.

                    "outcomes": [

                                   "g_date_debut_ressources_mensuelles",

                                   "g_date_debut_annuelle-n-1",

                                   "g_date_debut_annuelle-n-2",

                                   "g_date_fin_ressources_mensuelles",

                                   "g_date_fin_annuelle-n-1",

                                   "g_date_fin_annuelle-n-2",

                                   "personne_tech_id",

                                   "personne_ressources_declaration_urgence",

                                   "personne_ressources_brm",

                                   "personne_ressources_declaration_mensuelle",

                                   "personne_ressources_dpr",

                                   "personne_ressources_declaration_annuelle_n-1",

                                   "personne_ressources_cntdf",

                                   "personne_ressources_declaration_annuelle_n-2",

                                   "personne_ressources_declaration_pensions_alimentaires_n-1",

                                   "personne_ressources_frais_reels_n-1",

                                   "personne_ressources_patrimoine",

                                   "personne_ressources_manquantes_mensuelles",

                                   "personne_ressources_manquantes_n-1",

                                   "personne_ressources_manquantes_n-2",

                                   "personne_ressources_manquantes_patrimoine",

                                   "personne_ressources_manquantes_frais_reels",

                                   "personne_ressources_manquantes_pensions_alimentaires",

                                   "ressourcesortante_tech_id",

                                   "ressourcesortante_source",

                                   "ressourcesortante_periodicite",

                                   "ressourcesortante_mois",

                                   "ressourcesortante_annee",

                                   "ressourcesortante_montant",

                                   "ressourcesortante_type",

                                   "perioderessourcemanquante_tech_id",

                                   "perioderessourcemanquante_annee",

                                   "perioderessourcemanquante_mois",

                                   "perioderessourcemanquante_periodicite",

                                   "coderet_code"

                    ],

                    "cases": [{

                                                   "@id": 11,

                                                   "g_date_ref": "2019-11-25",

                                                   "g_date_deb_premier_trim_droit": "2019-08-01",

                                                   "relation_global_personne": [{

                                                                                   "@id": 111,

                                                                                   "personne_tech_id": "111",

                                                                                   "personne_date_nais": "1976-04-12",

                                                                                   "relation_personne_sitpers": [{

                                                                                                                  "@id": 1111,

                                                                                                                  "sitpers_tech_id": "1111",

                                                                                                                  "sitpers_date_deb": "2000-01-01",

                                                                                                                  "sitpers_date_fin": "2999-12-31",

                                                                                                                  "sitpers_situation": "SALARIE_CP"

                                                                                                  }

                                                                                   ],

                                                                                   "relation_personne_ressource": [{

                                                                                                                  "@id": 11111,

                                                                                                                  "ressource_tech_id": "201800REV_ACT_SAL158",

                                                                                                                  "ressource_source": "DPR",

                                                                                                                  "ressource_periodicite": "ANN",

                                                                                                                  "ressource_annee": "2018",

                                                                                                                  "ressource_mois": "N/A",

                                                                                                                  "ressource_type": "REV_ACT_SAL",

                                                                                                                  "ressource_montant": 6480.00

                                                                                                  }

                                                                                   ]

                                                                   }

                                                   ]

                                   }

                    ]