Hi
in my server application in all services (code-first) I add the ROServiceGroup attribute to be able to manage them separately on the client side.
Currently in my service (but there will be many services developed with Hydra) there are two defined services:
1.login
[ROService('LoginService', '{66980D47-CF19-40D3-B3D5-9B68B0279279}')]
[RONamespace(__RODLLibraryNamespace)]
[ROServiceGroup('login')]
[ROStandardClassFactory]
TLoginService = class(TSimpleLoginService, ILoginServiceServer)
2.common
[ROService('CommonService', '{CCE18AD1-F304-49D4-80C8-2AC6B48190C6}')]
[RONamespace(__RODLLibraryNamespace)]
[ROServiceGroup('common')]
[ROPooledClassFactoryAttribute(50)]
TCommonService = class(TDataAbstractService)
I noticed that if I invoke from browser this link:
http://127.0.0.1:8099/rodl?servicegroup=login
the generated rodl is complete also with the common service
While if I throw this:
http://127.0.0.1:8099/bin?servicegroup=login
the generated rodl contains only the login service definitions.
Is this behavior correct?
I changed only /rodl? with /bin?
If I then try to generate the unit for the client with the use of rodl2code this does not work because the distributed Echoes.dll library is in version 10.0.02456 while the tool looks for the version 10.0.0.2480
This is the error that is raised:
Unhandled Exception: System.IO.FileLoadException: Could not load file or assembly ‘Echoes, Version = 10.0.0.2480, Culture = neutral, PublicKeyToken = 3df3cad1b7aa5098’ or one of its dependencies. The located assembly’s manifest definition does not match the assembly reference. (Exception from HRESULT: 0x80131040)
I have seen that this problem has already been resolved.
Is it possible to have the tool update?
Thank you very much