-
moctes started the topic Zeos 8 in the forum kbmMW 1 year, 3 months ago
Hi Kim,
Can you add support for ZeosDB 8?, I’m trying to get away from Unidac. Enabling KBMMW_ZEOS6_SUPPORT does not make the cut
Regards,
Mocte -
moctes replied to the topic kbmMemSQL filter using date in the forum kbmMemTable 2 years, 11 months ago
After posting this I remembered that the Date(Time) type is a number, so for now I solved it like this:
QueryMT.ExecSQL( Format(‘select * from expenses where myDateField >= %d’, [trunc(myDate)]) );
Still if there is a better way to do it tips are welcome
-
moctes started the topic kbmMemSQL filter using date in the forum kbmMemTable 2 years, 11 months ago
Hi,
I couldn’t find a sample of ExecSQL, using a datetime field on the WHERE clause, I’m looking for something like this:
consMT.ExecSQL(‘select myDateField, myTextField from gastos where myDateField >= ‘);
On a Query component I would use parameters and then Params[0].AsDateTime := etc
How can I use dates on the Where clause?
With…[Read more]
-
moctes replied to the topic SmartServices CORS Preflight request in the forum kbmMW 4 years, 7 months ago
I couldn’t afford to wait too many days for a response, so I took another route to get rid of the CORS requirement, I’ll take a look at it as soon as time allows.
Thank you anyway.
-
moctes replied to the topic SmartServices CORS Preflight request in the forum kbmMW 4 years, 8 months ago
I tried to correct the wording to my post to make it clearer but it seems that it is not allowed, I will rewrite it below:
I’m struggling calling the webservices I have developed as smartservices, whenever I use some kind of authorization header (Basic, Bearer) from a request made from the browser ( using fetch API, axios, etc ) the browser…[Read more]
-
moctes started the topic SmartServices CORS Preflight request in the forum kbmMW 4 years, 8 months ago
Hi,
I’m struggling calling the webservices I have developed as smartservices, whenever I use some kind of authorization header from the browser ( fetch API, axios, etc ) the browser sends a PREFLIGHT REQUEST to the kbm server, I have traced the request to TkbmMWCustomSmartService.ProcessRequest on kbmMWCustomSmartService.pas, it hast the…[Read more]
-
moctes started the topic "The kbmMW Authorization manager explained" whitepaper in the forum kbmMW 4 years, 10 months ago
Hi Kim,
I am exploring the authorization manager capabilities, I have create succesfully a smartservice, created Roles, actors and granted access using attributes e.g. ( [kbmMW_Auth(‘role:[MyRole], grant:true’)] ) for that I followed your advice in the blog post on Rest easy with kbmmw 4 – Access management looking for more info I came across the…[Read more]
-
moctes replied to the topic Generic Object list serialization smartservice in the forum kbmMW 4 years, 11 months ago
Seem like declaring an alias class for hobbies solves the problem, something like:
THobbies = TObjectList<THobby>;
Then I can have in TMyResult :
Hobbies: THobbies;Error gone :), I quickly applied the same strategy on the real code, but I’m getting this in the result when the objectlist is empty:
"Hobbies":[true,0,0],and when I add data,…[Read more]
-
moctes started the topic Generic Object list serialization smartservice in the forum kbmMW 4 years, 11 months ago
Hi,
Let’s say I have this classes :
TGeneralData = class
public
Name: string;
Address: string;
end;THobby = class
public
Name: string;
constructor Create( hobbyName: string );
end;TMyResult = class
public
GeneralData: TGeneralData;
Hobbies: TObjectList<THobby>;constructor Create;
destructor…[Read more] -
moctes started the topic Web server & API Server in the forum kbmMW 4 years, 11 months ago
Hi,
Let me describe the situation :
1. I have an existing kbmMW server working for some years in an LAN without problems
2. I’m adding smartservices to this server so they can be consumed by a browser using Javascript on a single page application, so far, so good.
3. There are locations where they have qualified personnel who can setup…[Read more]
-
moctes replied to the topic Server mixing traditional Simple Services and rest SmartServices in the forum kbmMW 4 years, 12 months ago
Ok, I did some exploration after reading some of those posts just for getting a rest server up and running, so now I want to use both approaches in the same project.
Thank you Kim
-
moctes started the topic Server mixing traditional Simple Services and rest SmartServices in the forum kbmMW 4 years, 12 months ago
Hi,
I swear I saw a post on this topic, but for the life of me I can’t find it on the c4d blog. I have an old kbmMW server using Simple Services with IndyTransport.StreamFormat := Standard, I would like to add some REST services for reusing code, db connection pool, sharing user authentication, etc.
AFAICS it will be just a matter of adding…[Read more]
-
moctes replied to the topic Smartservices & the world in the forum kbmMW 5 years ago
Thank you Kim,
I will give these posts a more careful read, I quickly searched in the posts you suggested and altogh I saw this:
The moment you try to this call:http://localhost:1111/biolife/specieByCategory/ButterflyfishYou will be requested for a login by the browser. If you provide the user name and password matching a user in the…
-
moctes replied to the topic Smartservices & the world in the forum kbmMW 5 years, 1 month ago
Some how I missed this
Currently kbmMW supports HTTP Basic authorization which is stored in the header
That’s a show stopper for me, basic authentication is, well, basic, please forgive my previous posts (unapproved), I need to review what my options are and make a decision before any further development
-
moctes started the topic Smartservices & the world in the forum kbmMW 5 years, 1 month ago
Happy new year to all !
I have not used SmartServices with kbmMW and I am considering doing some services in this way, these services should be consumed by desktop clients as well as third party Web / Mobile applications etc. other than Delphi.
Can someone provide information about how to consume REST services using a generic client, ie…[Read more]
-
moctes replied to the topic c0000005 ACCESS_VIOLATION kbmMW Pro 64 in the forum kbmMW 5 years, 2 months ago
Thanks for answering,
If I run the server and make some calls to services and then I stop the server, all is well, the problem occurs every time I run batch of calls which are supposed to be made at the end of each day, but only if I run them with a compiled 64 bits binary.
I’m actually evaluating the task of porting the code to a more recent…[Read more]
-
moctes replied to the topic c0000005 ACCESS_VIOLATION kbmMW Pro 64 in the forum kbmMW 5 years, 2 months ago
Everything is alright ? This is worrying, it has been almost 5 days since I asked the question (and much more since my email), without any news so far.
I hope it is because you are on vacation and not because you are sick or something like that, but you really should think about having at least one person who is aware of what is happening around…[Read more]
-
moctes started the topic c0000005 ACCESS_VIOLATION kbmMW Pro 64 in the forum kbmMW 5 years, 2 months ago
Hi,
I’m doing tests compiling a kbmMW server for Win64, there haven’t been many problems so far, I have a batch process which is executed from the client, it runs fine without any issues, but when I close the server application, a main form and a datamodule with kbmMWServer, kbmMWTCPIndyServerTransport, etc. we are getting c0000005…[Read more]
-
moctes replied to the topic Problem compiling kbmMW Pro 5.12.12 in the forum kbmMW 5 years, 6 months ago
In the mean time I’m trying tos solve the issue, I downloaded previous versions so I can copy the missing files to the current and see if it them can be mixed with the latest without troubles, I downloadeded :
5.09.0
5.10.1
5.10.2
5.11.0
5.12.1I didn’t install them in the IDE, I just did the extraction of the files, but there are no *RPC*.pas…[Read more]
-
moctes started the topic Problem compiling kbmMW Pro 5.12.12 in the forum kbmMW 5 years, 6 months ago
Hi Kim,
I’m trying to compile kbmMWRunD103Pro.dpk ( Delphi 10.3.3 ), without success , it complains about a missing file:
File not found: ‘kbmMWJSONRPCTransStream.pas’
If I remove the reference to that file I got a new error:
File not found: ‘kbmMWXMLRPCTransStream.pas’
I couldn’t find those files on the source folder, maybe they are indeed…[Read more]
- Load More
