Thanks for your answer Oleg.
I took a look at your ORB implementation and I found it would me help me a lot, but unfortunately I had to solve that problem before your answer...
Delphi to/from XML and
XML to/from Java
using a socket. It has its limitations but it's working!!