-
VadimMest commented on the post, USB HID support in kbmMW – #1 – Card readers 5 years, 7 months ago
>kbmMWHID contains high level support for: TkbmMWGenericBarcodeReaderHID
in which version kbmMW? -
VadimMest replied to the topic TkbmMWXMLMarshal doesn't process object based on class(TObjectList) in the forum kbmMW 5 years, 11 months ago
Dear Kim
This changing breaks down function Unmarshal for some JSON
-
VadimMest replied to the topic TkbmMWXMLMarshal doesn't process object based on class(TObjectList) in the forum kbmMW 5 years, 11 months ago
Dear, Kim
I’ve changed it (replaced with mrt=mwrmrtObject and move this block under “if mrt=mwrmrtCollection” block in two functions (Marshal and UnMarshal) and It did work.
Thanks!
-
VadimMest started the topic TkbmMWXMLMarshal doesn't process object based on class(TObjectList) in the forum kbmMW 5 years, 12 months ago
Hello
TkbmMWXMLMarshal doesn’t process all properties in object based on class(TObjectList<TItem>)
I need to create xml file with additional property Total for node with “sequence” Item
<?xml version=”1.0″ encoding=”utf-8″…[Read more]
-
VadimMest replied to the topic Transporent gzip compressing for JSON in AJAX server in the forum kbmMW 6 years, 5 months ago
Hi
What is the right way to add compressing in server response?
1. Write new TkbmMWAJAXZipResponseTransportStream class (based on TkbmMWAJAXResponseTransportStream)
2. Write new compressor class (similar as TkbmMW LZ Compression)Thanks
-
VadimMest started the topic Transporent gzip compressing for JSON in AJAX server in the forum kbmMW 6 years, 5 months ago
Hi
I produce HTTP server for Android Application
Android application sends HTTP POST request and kbmMW HTTP server sends JSON as result. Is there some trick for easy enable compressing (compress result stream and add application-mimetype : zip in header) without any special changing on the application side? As I have read, the zip c…[Read more]
-
VadimMest replied to the topic How can I send file as result in TkbmMWEventHTTPService.Get? in the forum kbmMW 6 years, 5 months ago
I’ve got it
I added Self.SetResponseMimeType(
f := TFileStream.Create(s1, fmOpenRead);
ext := UpperCase(ExtractFileExt(AURL));
if leftStr(ext, 1) = ‘.’ then
ext := copy(ext, 2, length(ext) – 1);
if ext = ‘APK’ then
Self.SetResponseMimeType(‘application/vnd.android.package-archive’)
else
Self.SetResponseMimeType(GetMimeTypeExt(ext));
Result…[Read more] -
VadimMest started the topic How can I send file as result in TkbmMWEventHTTPService.Get? in the forum kbmMW 6 years, 5 months ago
Hello
I use TkbmMWEventHTTPService as REST server for mobile application (on Android).
I put some images on server root folder and tried to get it from WEB browser. WEB browser doesn’t recognize result as binary file. How do I fill result for send file as it does usual HTTP WEB server?
Thanks
-
VadimMest replied to the topic TkbmMWXMLMarshal and national symbols in xml in the forum kbmMW 6 years, 8 months ago
I am so sorry. It’s work! I didn’t call procedure for classes registration
-
VadimMest started the topic TkbmMWXMLMarshal and national symbols in xml in the forum kbmMW 6 years, 8 months ago
Hello
KbmMW 5.00.00 Beta Feb 19 2017
I try to work with XML file (utf-8) which contains national symbol (Cyrilic) in node’s names
<?xml version=”1.0″ encoding=”utf-8″ ?>
<Файл ИдФайл=”ON_NSCHFDOPPR” ВерсФорм=”5.01″ ВерсПрог=”Diadoc 1.0″>I created Delphi classes from XSD file with national symbols in class’s names. It’s possible in Delphi XE…[Read more]
