有没有办法在Wso2身份服务器上启用Cors?

时间:2015-03-03 20:00:22

标签: soap wso2is

我尝试过对WSO2身份服务器的AuthenticationAdmin API进行soap调用 - https://“https://localhost:9443/services/AuthenticationAdmin?wsdl

我收到错误

No 'Access-Control-Allow-Origin' header is present on the requested resource. Origin 'http://localhost:9000' is therefore not allowed access.

1 个答案:

答案 0 :(得分:-1)

您能否解释一下您尝试调用管理服务的方式。您是否为此soap服务创建了API?默认情况下,您不需要启用CORS来访问管理服务。以下是一些参考资料。

[1] http://pradeepfernando.blogspot.com/2010/12/how-to-consume-admin-services-in-wso2.html [2] http://nandikajayawardana.blogspot.com/2012/10/how-to-invoke-admin-services-with-soapui.html