Hello, Does anyone know anything about this?
Regards, Michael Benz Holcim Australia Shared Services www.holcim.com.au<http://www.holcim.com.au/> From: Benz, Michael Sent: Tuesday, 26 March 2013 8:27 AM To: '[email protected]' Subject: WebServices - Access-Control-Allow-Origin. Hello World Recently, I've been trying to use web services to display information from change requests, and I get the following error from Chrome Debug console.. XMLHttpRequest cannot load http://<Midtier>/arsys/WSDL/public/<AR Server>/CHG_ChangeInterface_WS<http://%3cMidtier%3e/arsys/WSDL/public/%3cAR%20Server%3e/CHG_ChangeInterface_WS>. Origin <Web<http://ossc-dev-swb01.devoc.local/> Server> is not allowed by Access-Control-Allow-Origin. Now when I run chrome with disabled security, it works. But obviously that's not best practise. >From what I read, this means I have to put the following somewhere in the >midtier application. Response.setHeader("Access-Control-Allow-Origin","*"); But I can't find it anywhere. Has anyone else had this problem, can someone shed some light on it for me? I'm not very good at tomcat configuration so any help would be great Regards, Michael Benz Holcim Australia Shared Services Holcim (Australia) Pty Ltd Suite 201, Level 2, 7-9 Irvine Place Norwest Business Park, Baulkham Hills, NSW 2153 Phone: +61 2 8867 2326 Mobile: +61 429 790 513 www.holcim.com.au<http://www.holcim.com.au/> _______________________________________________________________________________ UNSUBSCRIBE or access ARSlist Archives at www.arslist.org "Where the Answers Are, and have been for 20 years"

