Hello!
Sorry by my terrible English, I am trying to get better.
I am beginner in pascal, I began less than 1 month with Lazarus, and it is the first IDE RAD in pascal that I program (I also never made something decent in Delphi). Nevertheless I already have a problem by the front, I need to create a WebService with Lazarus and FP. That means so much the Server, as the Client, should be written in FreePascal. Of course is being created an atmosphere of tests, however will already do more than 1 week that I don't get to give any significant step in that.
Ah, the exists "Web Service ToolKit" however the documentation seems very confused and in the end of the tutorial when I tried to execute an example application (the user_client_console), in spite of to Server to seem to work, the Client shot a mistake after choosing the action make: "Synapse TCP/IP Socket error 10054: connection reset by peer."
I have the Synapse Lib in my pc and it already attributes her to the 'Others Units' in the options of the project.
I already tried other 'possible' solution as Indy, but without success.
Lazarus Version: 0.9.24
FP Version: 2.2.0
Please, it would like to help, a simple example and practice if possible.
I thank at once,
thank you.
PS: I already know more than the basic of the language...
==============================================
Phew! Now in Portuguese, if the passage in English has been very enigmatic...
----------------------------------------------------------------------------------
Ufa! agora em português, caso o trecho em inglês tenha ficado muito enigmatico...
==============================================
Olá!
Peço que me desculpem pelo meu péssimo inglês, estou tentando melhorar.
Enfim, sou iniciante em pascal, comecei com o Lazarus a menos de 1 mês, e é a primeira IDE RAD em pascal que programo( também nunca fiz algo decente em delphi). Ainda assim já tenho uma empreitada pela frente, preciso criar um webService com Lazarus e FP. Isso quer dizer que Tanto Servidor, quanto Cliente, devem ser criados com FP. Claro que estou apenas criando um ambiente de testes, porém já vai fazer mais de 1 semana que não consigo dar nenhum passo significante nisso.
Ah, existe o 'Web Service ToolKit' porém o documentação me pareceu muito confusa e no final do tutorial quando tentei executar uma aplicação de exemplo( a user_cliente_console), apesar do servidor parecer funcionar, o cliente disparou um erro após escolher a ação a fazer: "Synapse TCP/IP Socket error 10054: connection reset by peer."
Eu tenho a Lib Synapse em meu pc e já atribui ela ao 'Others Units' nas opções do projeto.
Já tentei outras 'possiveis' solução como a Indy, mas sem sucesso.
Versão do Lazarus: 0.9.24
Versão do FP: 2.2.0
Por favor, gostaria de ajuda, um exemplo simples e pratico se possivel.
Agradeço desde já,
Obrigado.
OBS: Já conheço mais que o basico da linguagem >.<!!