The CORS actually needs to be set where he is trying to fetch the XML, not
on Zeppelin side.

On Sun, Sep 4, 2016 at 4:58 AM, tolomaus <niek.bartholom...@gmail.com>
wrote:

> There is an option zeppelin.server.allowed.origins in zeppelin-site.xml to
> configure the origin you want to allow, but I never got it to work. If I
> recall well it was only partially implemented.
>
> I worked around this problem with jsonp:
>
>     $.ajax({
>       url: "http://...";,
>       data: {a: "xxx", b: "..."},
>       async: true,
>       dataType: 'jsonp',
>       crossDomain: true,
>       success: function (data, status, xhr) {
>          ...
>
> Note that the result the server returns should be in javascript.
>
>
>
> --
> View this message in context: http://apache-zeppelin-users-
> incubating-mailing-list.75479.x6.nabble.com/ajax-call-tp4024p4037.html
> Sent from the Apache Zeppelin Users (incubating) mailing list mailing list
> archive at Nabble.com.
>

Reply via email to