Jump to content

Rolphy Reyes

Members
  • Content Count

    19
  • Joined

  • Last visited

Everything posted by Rolphy Reyes

  1. I have Delphi Berlin (10.1) installed. I have to consume an API endpoint I've been using the Indy component suite and the Delphi native component suite TNetHTTPClient to send an XML file and the results are not what I expected; plus I'm very new to this. Using the component suites mentioned above I get all kinds of errors except those that the API should report. However, using the PostMan application, the API returns correctly. I haven't installed the ICS component suite yet, but I've run some of its examples, and the OverbyteIcsHttpRestTst.exe application example is pretty close to achieving what I need. If you look closely, you can see the error I get when attempting to send a message in the attached image. Can you help me resolve this issue? TIA
  2. Rolphy Reyes

    ICS - XX: The XX field is required

    Hi! I'm sorry if I wasted your valuable time. But I found the right way to send the file. I think I was too exhausted and didn't understand the entire example. Anyway, thank you very much. This time, ICS saved my life.
  3. Rolphy Reyes

    ICS - XX: The XX field is required

    Hi! My XML file is correct. And I'm using the correct URL. What I don't know is how to add the parameter from the OverbyteIcsHttpRestTst.exe application, just like Postman does.
  4. Rolphy Reyes

    ICS - XX: The XX field is required

    Hi! Sorry, I can't describe the errors because I didn't save any pictures of them. Attached is an image of how it works in Postman.
  5. Rolphy Reyes

    ICS - XX: The XX field is required

    Hi! I attach an image of how sending the file works in Postman.
  6. I'm thinking about starting a new project. I've always liked developing desktop applications because I feel in control of the application and what it does. At the company where I work, we use Intraweb. We've been developing with the tool for about 11 years, and even with all that time, I still don't like web or intraweb development per se. Perhaps it's because you need to use additional languages to be able to do practically the same things you do in a desktop application. That said, the question is: Is it worth developing ERP-type desktop applications at this time? I know there are several web frameworks, such as Intraweb (I use it daily at work), TMS Web Core, and Unigui. If you use any of the frameworks mentioned above, please share your experiences with me. Thank you for your time!
  7. Rolphy Reyes

    Delphi 12.3 is available

    Hi! I can't understand why Embarcadero doesn't official support PostgreSQL v17 in this release.
  8. Rolphy Reyes

    Deployment to IIS

    Hi! This is the first time I'm trying to make a deployment to IIS. Everything is working fine in my development machine (as always). When I'm trying to make the deployment to IIS, I'm getting this error: HTTP/1.1 500 Internal Server Error Server: Microsoft-IIS/10.0 Date: Sun, 10 Nov 2024 17:07:20 GMT Connection: close Access-Control-Allow-Origin: * Access-Control-Allow-Methods: HEAD,GET,PUT,POST,DELETE,OPTIONS Access-Control-Allow-Headers: X-Requested-With,Content-Type,Authorization Content-Encoding: UTF8 Content-Type: text/plain Content-Length: 12 HTTP/1.1 5 Server: Microsoft-IIS/10.0 Date: Sun, 10 Nov 2024 17:07:20 GMT Connection: close C<�h�t�m�l�>�<�t�i�t�l�e�>�I�n�t�e�r�n�a�l� �S�e�r�v�e�r� �E�r�r�o�r� �5�0�0�<�/�t�i�t�l�e�>� � �<�h�1�>�I�n�t�e�r�n�a�l� �S�e�r�v�e�r� �E�r�r�o�r� �5�0�0�<�/�h�1�>�<�h The call is: https://myserver/myAppPool/ApiLogin.dll/MyBase/security/helloworld Anyone can help me?
  9. Rolphy Reyes

    Deployment to IIS

    This is what I find (I have to "erase" some data): 2024-11-10 16:54:32 10.1.0.4 GET /api/security/helloworld - 443 - 00.000.00.000 Mozilla/5.0+(Windows+NT+10.0;+Win64;+x64;+rv:132.0)+Gecko/20100101+Firefox/132.0 - 500 0 0 24 2024-11-10 16:54:52 10.1.0.4 GET /api/security/helloworld - 443 - 00.000.00.000 Mozilla/5.0+(Windows+NT+10.0;+Win64;+x64;+rv:132.0)+Gecko/20100101+Firefox/132.0 - 500 0 0 23 2024-11-10 16:56:44 10.1.0.4 GET /api/security/helloworld - 443 - 00.000.00.000 Mozilla/5.0+(Windows+NT+10.0;+Win64;+x64;+rv:132.0)+Gecko/20100101+Firefox/132.0 - 500 0 0 24 2024-11-10 16:59:21 10.1.0.4 GET /api/security/helloworld - 443 - 00.000.00.000 Mozilla/5.0+(Windows+NT+10.0;+Win64;+x64;+rv:132.0)+Gecko/20100101+Firefox/132.0 - 500 0 0 18 2024-11-10 16:59:52 10.1.0.4 GET /api/security/helloworld - 443 - 00.000.00.000 PostmanRuntime/7.42.0 - 500 0 0 130 2024-11-10 17:00:05 10.1.0.4 GET /api/security/helloworld - 443 - 00.000.00.000 Mozilla/5.0+(Windows+NT+10.0;+Win64;+x64;+rv:132.0)+Gecko/20100101+Firefox/132.0 - 500 0 0 75 2024-11-10 17:07:20 10.1.0.4 GET /favicon.ico - 443 - 00.000.00.000 Mozilla/5.0+(Windows+NT+10.0;+Win64;+x64;+rv:132.0)+Gecko/20100101+Firefox/132.0 api/security/helloworld 404 0 64 2 2024-11-10 17:15:46 10.1.0.4 GET /api/security/helloworld - 443 - 00.000.00.000 Mozilla/5.0+(Windows+NT+10.0;+Win64;+x64;+rv:132.0)+Gecko/20100101+Firefox/132.0 - 500 0 0 385 2024-11-10 17:18:06 10.1.0.4 GET /api/security/helloworld - 443 - 00.000.00.000 Mozilla/5.0+(Windows+NT+10.0;+Win64;+x64;+rv:132.0)+Gecko/20100101+Firefox/132.0 - 500 0 0 84 2024-11-10 17:18:06 10.1.0.4 GET /favicon.ico - 443 - 00.000.00.000 Mozilla/5.0+(Windows+NT+10.0;+Win64;+x64;+rv:132.0)+Gecko/20100101+Firefox/132.0 api/security/helloworld 404 0 64 0 2024-11-10 17:43:02 10.1.0.4 GET /api/security/helloworld - 443 - 00.000.00.000 PostmanRuntime/7.42.0 - 500 0 0 347 2024-11-10 17:50:55 10.1.0.4 GET /api/security/helloworld - 443 - 5.255.231.71 Mozilla/5.0+(compatible;+YandexBot/3.0;++http://yandex.com/bots) - 500 0 0 137
  10. Rolphy Reyes

    Deployment to IIS

    I have the INI file with this: [DefaultEngine] BasePath=/MyApi ;Port=0 ;PortSSL=0 ThreadPoolSize=100 Seguridad.JWT.Issuer=Bla Bla Seguridad.JWT.Secret=Bla Bla ;DefaultApp.JWT.CookieEnabled=true ;DefaultApp.JWT.CookieName=access_token ;CookieDomain default: hostname of the request ;DefaultApp.JWT.CookieDomain= ;CookiePath default: base path of the request ;DefaultApp.JWT.CookiePath= Seguridad.JWT.Duration=1 ;DefaultApp.JWT.CookieSecure=false Compression.Enabled=True CORS.Enabled=True CORS.Origin=* CORS.Methods=HEAD,GET,PUT,POST,DELETE,OPTIONS CORS.Headers=X-Requested-With,Content-Type,Authorization
  11. Rolphy Reyes

    Deployment to IIS

    Where I can see this log?
  12. Rolphy Reyes

    Deployment to IIS

    I think it load only the INI file of the framework, so to speak.
  13. Rolphy Reyes

    Deployment to IIS

    Hi! Thanks for your time. I've had compiled it for both 32 bit and 64 bit and I get the same error. In the Application Pool on the IIS, I had turn on/off in the enable 32-bit applications param. I don't really understand what's going on. And the sad part is that I have to delivery this ASAP.
  14. Hi! I have the same problem with the current version of the source code of the framework. I put this code in the ServerMainForm unit: initialization ReportMemoryLeaksOnShutdown := True; DefaultMARSJSONSerializationOptions.SkipEmptyValues := False; DefaultMARSJSONSerializationOptions.DateIsUTC := False; DefaultMARSJSONSerializationOptions.UseDisplayFormatForNumericFields := False; DefaultMARSJSONSerializationOptions.DateFormat := ISO8601; And I still can not get all the fields, the fields with empty value are completely ommitted.
  15. Rolphy Reyes

    TFrame versus SubForm

    Hi! For me the biggest problem is when you need to add some additional "TEdit" in a frame in a certain scenario. I think that with "SubForms" you don't have that problem.
  16. Rolphy Reyes

    Advise the component for editing tables

    Hi! Maybe the JEDI library.
  17. Rolphy Reyes

    Error on read-only transaction

    Hi! Maybe I'm wrong but I think that you get two "different" connections when the AcquireConnection method is call. I would do this: LTransactionRW.Connection := FDManager.AcquireConnection('MY_DB', ''); LTransactionRW.Options.ReadOnly := False; LQueryRW.Connection := LTransactionRW.Connection; LQueryRW.Transaction := LTransactionRW;
  18. Rolphy Reyes

    ChatGPT Example

    Hi! I don't know if you have seen this blog (and may help you): https://www.tmssoftware.com/site/blog.asp?post=1045
  19. Rolphy Reyes

    Fill Class Variables from a table row??

    Hi! Maybe you can use attributes.
×