This is the standard cross-origin error; "cross origin" here means: * origin = the origin of the resources, ie the host you are accessing * cross = a different origin than the one that served up the HTML page.
In other words, your HTML page is trying to access the REST resources but those REST resources are on a different host, You either need to locate ensure the host name is the same, or you can confirm a CORS filter in your web.xml. The contactapp [1] shows both of these approaches, see [2] and [3] respectively HTH Dan [1] https://github.com/incodehq/contactapp [2] https://github.com/incodehq/contactapp/tree/master/backend/webapp/src/main/webapp/mobile [3] https://github.com/incodehq/contactapp/blob/master/backend/webapp/src/main/webapp/WEB-INF/web.xml#L38 On 24 May 2016 at 20:28, Pedro Alba <[email protected]> wrote: > Good afternoon. > > I would like to know how to consume services exposed isis rest apache > applications from HTML pages, as consumption the following error message: > No 'Access-Control-Allow-Origin' header is present on the requested > resource. Origin 'null' is not allowed access THEREFORE. The response HTTP > status code 404 ADH. > > Thanks. > > > [image: Logo] > > *Pedro Antonio Alba * > *Senior Development Analyst* > Tel: (57) 1 703 17 77 > Cel: (57) 301 3379810 > E-mail: [email protected] > Calle 93 # 19b - 66 Ofc 202 > Bogotá D.C., Colombia > www.ticxar.com > > > > [image: facebook] > <http://www.facebook.com/pages/Ticxar/446503822192581> [image: > twitter] <http://twitter.com/ticxar> [image: linkedIn] > <http://www.linkedin.com/company/ticxar> >
