<?xml version="1.0" encoding="utf-8"?>
<rss xmlns:atom="http://www.w3.org/2005/Atom" version="2.0"><channel><title>Answers to: Ajax call from HTML Dialog to consume Web Service and REST Service</title><link>https://answers.axonivy.com/questions/1837/ajax-call-from-html-dialog-to-consume-web-service-and-rest-service</link><description>&lt;p&gt;Hi All,&lt;/p&gt;
&lt;p&gt;I have the situation where from HTML dialog I need to make custom Ajax call to ivy Web Service in the same process.
I`m wandering what would be the implications of this approach regarding the security context.&lt;/p&gt;
&lt;p&gt;The Ajax call will send a HTTP request with the cookie session of the currently logged user. Will this be enough for ivy engine to identify the user ?&lt;/p&gt;
&lt;p&gt;This question is also valid for the future release 6.2 when it comes to REST services.&lt;/p&gt;
&lt;p&gt;Best Regards,
Yordan&lt;/p&gt;</description><atom:link href="https://answers.axonivy.com/questions/1837/ajax-call-from-html-dialog-to-consume-web-service-and-rest-service" rel="self"></atom:link><language>en</language><lastBuildDate>Fri, 24 Jun 2016 15:54:02 -0400</lastBuildDate><item><title>Comment by Stelt0 on Reto Weiss's answer</title><link>https://answers.axonivy.com/questions/1837/ajax-call-from-html-dialog-to-consume-web-service-and-rest-service#1845</link><description>&lt;p&gt;Danke !&lt;/p&gt;
&lt;p&gt;This will provide a lot of capabilities to integrate with the newest JavaScript frameworks.&lt;/p&gt;
&lt;p&gt;Best Regards,
Yordan&lt;/p&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">Stelt0</dc:creator><pubDate>Fri, 24 Jun 2016 15:54:02 -0400</pubDate><guid>https://answers.axonivy.com/questions/1837/ajax-call-from-html-dialog-to-consume-web-service-and-rest-service#1845</guid></item><item><title>Answer by Reto Weiss</title><link>https://answers.axonivy.com/questions/1837/ajax-call-from-html-dialog-to-consume-web-service-and-rest-service/1843</link><description>&lt;p&gt;Hi&lt;/p&gt;
&lt;p&gt;With 6.2 this will not work because we do not consider the http session when processing REST services. &lt;/p&gt;
&lt;p&gt;But your use case is interesting. I will report a feature request for it. Maybe it will be integrated to 6.3.&lt;/p&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">Reto Weiss</dc:creator><pubDate>Fri, 24 Jun 2016 14:34:21 -0400</pubDate><guid>https://answers.axonivy.com/questions/1837/ajax-call-from-html-dialog-to-consume-web-service-and-rest-service/1843</guid></item></channel></rss>