Web Services

Can I call a webservices from NAV to NAV, for example can I create a codeunit in NAV1 and put it in web service table, then can I call this web service from NAV2?

The idea is communicate two different databases of NAV to share some info like inventory.

Thanks,