Hello Soumya,
The below statement
sap.ui.getCore().setModel(oModel, "XCRFTokenModel");
stores the fethced XCRF Token in the model so that you can use the token anywhere.
In our OData service new csrf token is not sent.
Now which error you are getting?
Regards,
Imran