Hi Rashmi,
I Think CORS is not enabled in your code, so enable the CORS in the code base
you will have to add the following code:
xdmp:add-response-header("Access-Control-Allow-Origin",
"*"),xdmp:add-response-header("Access-Control-Allow-Headers",
"Content-Type"),xdmp:add-response-header("Access-Control-Allow-Credentials",
"true")
RegardsDharmendra Kumar Singh
On Wednesday, 19 July 2017 3:00 PM, "[email protected]"
<[email protected]> wrote:
Hi Folks,
I am working on Tableau integration with Marklogic through web data connector
(WDC) which internally performs ajax call with the GET request type and trying
to fetch one simple json document from the ML server.
Problem Statement: I am stuck with the below error. However I went through some
discussions happened in several forums but those solutions are not helping.
I have set WDC up in my local machine. I have two Marklogic servers, one
installed in my local and other one is in amazon cloud (cross domain).
The above issue is happening with both the servers.
Can anyone please suggest anything to get rid of this issue?
Thanks in advance!
Regards,
Rashmi Ranjan Acharya
This e-mail and any files transmitted with it are for the sole use of the
intended recipient(s) and may contain confidential and privileged information.
If you are not the intended recipient(s), please reply to the sender and
destroy all copies of the original message. Any unauthorized review, use,
disclosure, dissemination, forwarding, printing or copying of this email,
and/or any action taken in reliance on the contents of this e-mail is strictly
prohibited and may be unlawful. Where permitted by applicable law, this e-mail
and other e-mail communications sent to and from Cognizant e-mail addresses may
be monitored._______________________________________________
General mailing list
[email protected]
Manage your subscription at:
http://developer.marklogic.com/mailman/listinfo/general
_______________________________________________
General mailing list
[email protected]
Manage your subscription at:
http://developer.marklogic.com/mailman/listinfo/general