Hi Gilad,
Welcome. Some questions:
I need to load our db from a client xml
What do you mean with "load our db from a client xml"? Do you want to retrieve documents from a BaseX database or store new documents?
the problem is the server cannot reach the client so remote url is not an option.
So you would like to access a client machine from the server?
Looking forward to more details, Christian