can't find unit XData.Service.Common

I am creating a service in my XDTATA server. When I compile the server project everything is fine.
When i add the service unit to my client project and try to compile i am getting an error: can't find unit XData.Service.Common
Can you advice please.

Here is the source of the service unit:

unit ReportService;
interface
uses
XData.Service.Common;

type
[ServiceContract]
IReportService = interface(IInvokable)
['{4CA70267-5A30-4D8B-B2FE-F2FFB6B40FEE}']
// [HttpGet] function Sum(A, B: double): double;
// By default, any service operation responds to (is invoked by) a POST request from the client.
[HttpPost] function BuildReport(TemplateID_p: string; ProcedureID_p: integer; FacilityID_p: integer; Foldername_p: string): integer;
end;

implementation

initialization
RegisterServiceType(TypeInfo(IReportService));

end.

Unit XData.Service.Common is not available in Web Core. It must be used in a different way than it's used in the VCL/FMX applications. More info here:

https://download.tmssoftware.com/business/xdata/doc/web/web-applications-tms-web-core.html

I'm glad to say that Web Core and compiler is being heavily improved, and with future new compiler features coming, it will likely be possible to use XData client in a very similar way as it's used now in VCL/FMX.