Well, we’ve been trying migrate a legacy project from Visual Studio 2015 to IDE Water, but, we are facing some difficulties to compile the code made in Oxygene (VS 2015) to the new IDE Water.
First of all, we need to know if the new versions of Elements Oxygene is exclusively made for IDE Water, or we could still compile using Visual Studio (we downloaded the lasts releases (Elements and Data Abstract (Water, Visual Studio and Delphi ).
Some of our services (that were made using Oxygene) are Soap Services, made in VS 2015. We are trying to compile in Water, but fail the compilation process, it returns these kinds of messages:
W: Unknown or unsupported Generator ‘WCF Proxy Generator’ for file ‘Service References\BoticarioSiscobraServicos\Reference.svcmap’.
These errors are references in *.oxygene file generated by VS 2015.
It`s possible migrate Soap legacy codes to compile in Water?
There is a tool or procedure to generate a Soap Service reference inside IDE Water like VS? It`s necessary generate all Service References again?
Usefull informations: Actual Version that we are using in production: RemObjects Elements with Visual Studio 2015 - 9.3.103.2211.exe. Trying update to: RemObjects Elements with Water - 10.0.0.2605.exe
Yes, Oxygene continues to support Visual Studio 2017 and 2019, in addition to Water.
Curious., this was a know issue but should have been fixed a few weeks ago, but it looks iike there might have been a typo. I have just now fixed this for tomorrow’s build.
not currently, no. You will need to open your projects in Visual Studio for that, even if you work in Water the rest of the time.
Acctually I fixed the problems that I mentioned in this topic. I had to reimport each folder again to be effectivelly readed by the compilers. In addition it was possible run in Water or Visual Studio 2019.
But now, Im in doubt about Server_Access file. The compiler is often asking to generate this file, so Ive openned the Edit Library and did it. Follow an snippet of the file:
method ServerAccess.get__LoginService: not nullable ILoginService;
begin
exit CoLoginService.Create(self._message) clientChannel(self._clientChannel) as not nullable;
end;
However it returns the error while compiling:
|Erro||(E600) Parameter labels do not match. Parameter 2 is labeled clientChannel but should be unlabeled in call to class method Create(message: IMessage; clientChannel: IClientChannel): CSLog.dxserver.ILoginService_Async|dxserver|D:\siscob_trunk\net\dxserver\dxserver_ServerAccess.pas|634||
What I must to configure to be generated correctly?
Another problem Its with the URL asked at Edit Box
Compiler itself should not care about this file at all. If you don’t use it then you can safely remove it.
The code in ..._ServerAccess file is intended to be used as a starting point in your server infrastructure.
This is a bug obviously. The code line should look like
exit CoLoginService.Create(self._message, self._clientChannel) as not nullable;
Compiler itself should not care about this file at all. If you don’t use it then you can safely remove it.
The code in ..._ServerAccess file is intended to be used as a starting point in your server infrastructure.
Understood, but while compiling it asks for this file.
Could you show the code around this line?
It is shown at constructor lines, self._clientChannel and self._message. Have we configure this entry point at local machine and in the server?
I believe that is fixed in last week’s build (2607)…
this one i can not comment on without seeing more of the code. can you reproduce this error in a smaller test case you can send us? i assume CSLog.dxserver.SantanderBoletoTicket.TicketEndpointis an interface, and has a matching method called create?
I believe that is fixed in last week’s build (2607)…
How can I download this new version?
this one i can not comment on without seeing more of the code. can you reproduce this error in a smaller test case you can send us? i assume CSLog.dxserver.SantanderBoletoTicket.TicketEndpointis an interface, and has a matching method called create ?
It`s matching because in others projects are ok this is the file References, generated by the Services References.
Hm, that’s strange. What user are you logged in as? The license I see on your account is still active, but doesn’t match the date shown in your screenshot… it looks as iff the website is confused about your license status, but I cant imagine how that would happen, right now.