Check the internet connection setup on your IE:
Tools --> Internet options --> Connection

From: Action Request System discussion list(ARSList) 
[mailto:[email protected]] On Behalf Of Benz, Michael
Sent: Wednesday, March 27, 2013 3:36 AM
To: [email protected]
Subject: Re: WebServices - Access-Control-Allow-Origin.

**
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/>

_ARSlist: "Where the Answers Are" and have been for 20 years_

The information in this email may contain confidential material and it is 
intended solely for the addresses. Access to this  email by anyone else is 
unauthorized. If you are not the intended recipient, please delete the email 
and destroy any copies of it, any disclosure, copying, distribution is 
prohibited and may be considered unlawful. Contents of this email and any 
attachments may be altered, Statement and opinions expressed in this email are 
those of the sender, and do not necessarily  reflect those of Saudi 
Telecommunications Company (STC).

_______________________________________________________________________________
UNSUBSCRIBE or access ARSlist Archives at www.arslist.org
"Where the Answers Are, and have been for 20 years"

Reply via email to