CORS Issue in WSO2 DSS By using Ajax

385 views Asked by At

Calling Wso2 Dss Services by using ajax is not working like Rest Resource or SOAP UI it causes

Cors Issue , Even i did not get any relevant information about that after a long research What i have to edit in my Configuration File or is some other option is there to fix this issue.

This Case For my apache tomcat Server , i can Simply add Access Control Orgin header as * , but in wso2 its not working out .I dont know even where to add it ..plz give me a good solution for this

1

There are 1 answers

3
Jamsheer On BEST ANSWER

You may set up WSO2 ESB on before of your DSS server and you may call your service using ESB proxy or REST end point.If you do that you can set CORS parameters inside outSequence tag. Same question asked here Call WSO2 DSS service using ajax?