I work with Oracle SOA Suite and need to add one transport header Access-Control-Allow-Origin: *
In the configuration the server weblogic for get this:
this picture is of one service in IIS7, that he have the next configuration:
<httpProtocol> <customHeaders> <add name="Access-Control-Allow-Origin" value="*" /> <add name="Access-Control-Allow-Methods" value="OPTIONS,POST" /> <add name="Access-Control-Allow-Headers" value="Content-Type,SOAPAction,origin" /> </customHeaders> </httpProtocol>
How I do this in weblogic server?
for default in the browser whit weblogic he show this:
You will have to set the property 'Access-Control-Allow-Origin' inside your webservice
This might help you :
https://techgrit.blogspot.com/2018/09/enable-cross-origin-resource-sharing.html
The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.