Made a simple server {codefirst} with a simple Echo(Text:string):string; function.
Message is JSon and all works well with a Delphi client.
I used CodeGen to create a fitting Javascript client. But it did not work. So I tracked down the problem
debugging the Javascript and found the “problem”. The read of the Javascript Implementation tries to read
like this response.result[“Result”], which does not work because the response is {version:1,1 result:XXXXX}.
Do i misunderstand the mechanism or is the codegen wrong?
Chuck