2 Replies Latest reply on Mar 10, 2020 10:49 AM by f8bb0eaf-a028-48db-9c1f-4af74912eae3

    CORS(CROSS ORIGIN) set in Transport headers are not getting passed to AJAX page in OSB12.2.1.0

    user5449243

      Dear All,

       

      I have requirement, where I have to pass CROSS ORIGIN to call the AJAX page. I have used transport header and set "Access-Control-Allow-Origin" = '*' . While testing from POSTMAN plugin, i can see all the values passed in transport header but when we test from application, it is giving below error :

       

      " No 'Access-Control-Allow-Origin' header is present on the requested resource. Origin 'http://10.3.4.15' is therefore not allowed access. The response had HTTP status code 404."

       

      OSB version: 12.2.1.0

      Service: REST

      Using transport header in response pipeline.

      Direction: Inbound response

       

      Any help/suggestion is highly appreciated.

       

      Thank you advance.