Pinned topicCross domain issue in importing websphere commerce jsp files into wordpress
This question has been answered.
This question has not been answered yet.
Few of my pages are getting loaded through wordpress, so I am including jsp files i.e. header and footer files from websphere commerce into wordpress. While doing it I am getting cross domain issue like in browser console i m getting error for dojo libraries. The following error I getting in websphere commerce console.
1/30/13 9:34:17:706 PST 0000011b CommerceSrvr E CrossSiteScriptingHelper handle CMN0522E: The request cannot be processed because it contains prohibited characters.
After adding the above line I am not getting any error in the websphere commerce console, But the error in the browser console is still coming because of which I am not able to use any of the dojo function. Below is the sample of the error which I am getting in Chrome.
XMLHttpRequest cannot load http://<websphere commerce IP>/webapp/wcs/stores/dojo15/dojo/_firebug/firebug.js. Origin http://<wordpress ip> is not allowed by Access-Control-Allow-Origin.
The same error I am getting for all the dojo js files which I am using in the application.