Questions tagged as 'datasnap'

1
answer

Monitor service with Borland Socket Server

I'm developing a three-tiered application in the delphi-7 , using the TSockecConnection component. Is it possible to monitor connections, identify IP of connected users, as well as knock down some users?     
asked by 02.04.2014 / 19:39
1
answer

Using CallBack in Delphi

I'm rephrasing my question regarding the CallBack methodology. I would like some example or specific material on how to use CallBacks calls from the server to the client. Example: CLIENT SIDE On the client I have this TCallBack cl...
asked by 17.04.2014 / 17:08
1
answer

Return image by Web Service REST Server

I have Web Service REST running, this web service makes the query in ERP when the client requests the request of a certain data, needed to return the image that the client made the request and display in the browser. I made the f...
asked by 13.10.2016 / 19:43
1
answer

Error 503 "No 'Access-Control-Allow-Origin' header" [closed]

I'm trying to make a connection in datasnap using ajax My code: var url = 'http://cloud.nooven.com.br:12345/datasnap/rest/TServerMethods1/CriaSessao/'+cpfCnpj+'|'+usuario+'|'+senha; console.log(url);...
asked by 03.07.2015 / 20:33
2
answers

Retrieve Auto Increment Id DataSnap Delphi XE3

I use Delphi XE3 / DataSnap with Firedac When I write the parent table on the server I want to retrieve the value that was added via auto increment in the parent so that I can enter this new value in the foreign key in the child table. I d...
asked by 10.06.2014 / 17:39
2
answers

How to return image from DataSnap Server and show in browser

I developed an application made with Web Service REST , where the data is consumed for each client request, everything works perfectly, I created Web Service REST from DataSnap REST Application , so a form is available to dete...
asked by 21.10.2016 / 15:56
1
answer

Modify URLs for REST requests

I have a service running in Delphi in DataSnap REST , to access any function of REST via link would be like this: servidor:porta/datasnap/rest/classmethods/funcao/parametros I needed to change the url from /datasnap/rest/clas...
asked by 07.10.2016 / 14:52
1
answer

Get value from a TJSONString by Firemonkey (Delphi)

Good afternoon! I have a problem and I would like to see if you can help me. I have a DataSnap server, which is working normally. In it, I add and query the database by mobile devices. In the function where I make the register, it is co...
asked by 05.09.2018 / 20:45
1
answer

How to change the Port on the DataSnap Server through the INI file

I'm trying to set up an INI file to be able to access the client in order to be able to connect to the service through the port that it has determined. I get no problems at all, change in design mode, compile the project executes and start...
asked by 18.11.2016 / 13:06
0
answers

Error converting SQL - Datasnap Rest

I have a problem: I have a datasnap / rest server, in it I have the following method: Function TServerMethods.getComandoSQL(ASQL: string): TFDJSONDataSets; begin qryComando.Active := False; qryComando.SQL.Clear; qryComando.SQL.Add(ASQL);...
asked by 03.07.2018 / 15:24