#1 2017-09-26 08:03:32

linbren
Member
Registered: 2017-08-11
Posts: 42

invalid contract

I am testing SynCrossPlatformREST.

get a exception here

  if contract<>fContractExpected then
    raise EServiceException.CreateFmt('Invalid contract "%s" for %s: expected "%s"',
      [contract,ClassName,fContractExpected]);

the "contract" was not the same .

my mORMotClient was donwload from Wrapper service .
the contract value was assigned in create method :>   fContractExpected := 'E705B04F2012153D';
-----------------------------------
what does the "contract" working here ? how to calculate the value ?


Windows 7 64bit. Delphi XE10.2 Professional.

Offline

#2 2017-09-26 11:44:17

ab
Administrator
From: France
Registered: 2010-06-21
Posts: 14,240
Website

Re: invalid contract

Regenerate the client.

Offline

Board footer

Powered by FluxBB