Watch, Follow, &
Connect with Us

Please visit our new home
community.embarcadero.com.


Welcome, Guest
Guest Settings
Help

Thread: Datasnap server as a service application and javascript client


This question is not answered. Helpful answers available: 2. Correct answers available: 1.


Permlink Replies: 1 - Last Post: Jul 17, 2017 3:55 AM Last Post By: Mohamad Akkad
Mohamad Akkad

Posts: 3
Registered: 9/7/13
Datasnap server as a service application and javascript client  
Click to report abuse...   Click to reply to this thread Reply
  Posted: Jul 15, 2017 8:42 AM
Hi All
I wish to find an answer for my question here...
I have developed a datasnap server as a service application that support a TCP/IP and HTTP protocols.
Everything is fine and I am connecting now with my datasnap by desktops applications built by delphi by TCP/IP.

Now I need to build a web client that connect with my datasnap server from javascript (REST).
I always received errors because of Cross-origin resource sharing (CORS) .
I found a solution on the web like this one [here|https://community.embarcadero.com/blogs/entry/cors-on-datasnap-rest-server] ...
and this solution work when the application is built as "Datasnap Rest Application"
is there any way to apply this solution on datasnap server as a service..

Thanks
Mohamad Akkad

Posts: 3
Registered: 9/7/13
Re: Datasnap server as a service application and javascript client  
Click to report abuse...   Click to reply to this thread Reply
  Posted: Jul 17, 2017 3:55 AM   in response to: Mohamad Akkad in response to: Mohamad Akkad
Nobody can help!!
Legend
Helpful Answer (5 pts)
Correct Answer (10 pts)

Server Response from: ETNAJIVE02