cross domain problem
We’re having troubles with the WSO2 Mashup server.
WSO2 server was installed on a Linux server with the host: https://localhost:7443.
We have successfully created and deployed Mashup Services.
There is already has Tomcat installed on that machine with the host: https://localhost:8080.
Main application was deployed on Tomcat.
WSO2 exposes services as JavaScript (as https://localhost:7443/service_name?stub).
Main application’s JSP files include these JavaScript stubs and use it.
But the problem is that WSO2 denies requests to the other host.
(https://localhost:8080 requests service from https://localhost:7443/)
We did a lot of search on that and finally stopped on “Cross Domain” problem.
(To avoid XSS attacks).
We also tried on Mooshup.com, it works, but in our local server it does not work.
Tnx
- Login or register to post comments
- Printer friendly version
- 426 reads











The answer can be found in this forum post
Hi,
Looks like you are facing the same problem as this user http://wso2.org/forum/thread/3563 . Read through that thread and you will find the reason for this and how you can workaround this situation.
Thanks,
Keith.
http://www.keith-chapman.org