Skip to Main Content

Integration

Announcement

For appeals, questions and feedback about Oracle Forums, please email oracle-forums-moderators_us@oracle.com. Technical questions should be asked in the appropriate category. Thank you!

OSB: No ‘Access-Control-Allow-Origin’ problem on POST REST

BadGuyKuJan 14 2016 — edited Jan 20 2016

I am getting the following error using angular js to call an OSB Rest proxy service endpoint

Failed to load resource: the server responded with a status of 500 (Internal Server Error) (14:01:33:584 | error, network)

at http:/servername:8011/Test_SB/ProxyService/ProxyService_TEST_PS

XMLHttpRequest cannot load http://servername:8011/Test_SB/ProxyService/ProxyService_TEST_PS. Response to preflight request doesn't pass access control check: No 'Access-Control-Allow-Origin' header is present on the requested resource. Origin 'http://localhost:8383' is therefore not allowed access. The response had HTTP status code 500. (14:01:33:599 | error, javascript)

How can I resolve? I tried adding a transport header activity to the response pipeline that sends back ‘Access-Control-Allow-Origin' with the value * but that did not resolve

pastedImage_10.png

OSB/SOA Version: 11.1.1.7

Comments
Locked Post
New comments cannot be posted to this locked post.
Post Details
Locked on Feb 17 2016
Added on Jan 14 2016
2 comments
1,675 views