Importing a Remoting SDK Service RODL doesn;t work in Visual Studio

When I try and importing a service, I can’t seem to get it to work in Visual Studio 2015. I just click on import and nothing happens. I can import into Delphi Berlin, so know that the server is running, and even if I stop the server, I get no error message. Just nothing…no remoterodl file, no intf file and no serveraccess file. Am I missing something in VS?

Hello

Which exactly RO SDK version do you use? What is the server channel type and what URL do you enter?

RO SDK version 9.0.97.1245. The server is Delphi, and I used the TROIpSuperHTTPServer and the bin message. URL is :

http://localhost:8098/bin (I changed the port, but doesn’t make any difference. I can put this url into a browser and get the response from the server. I can also import in Delphi. It’s just VS that doesn’t work.

what I have now done to get this to work is to do the following :

  1. Put the URL http://localhost:8098/rodl into a browser.
  2. Copy the resultant XML into a text file and save it as a .rodl file.
  3. Open up Visual Studio, and import from rodl file rather than from a remote server.
  4. I then get the three files as expected.

I haven’t tried to see if this actually works yet, but I’m at least on my way. It would be interesting to see why the import from server doesn’t work though.

This happens because .NET resolves http://localhost:8098/bin as IPv6 address while Delphi server doesn’t understand IPv6. Use the address like http://127.0.0.1:8098/bin and everything will work as intended.

Still a better error reporting is needed in the RODL import tool. Currently it reports errors in the VS Output pane which is not good enough for critical import errors.

We’ll check why IPv4 was not used by default in your case.

Ok, that worked now. I also have connection. Everything is working as expected.

Thanks