Coherence of the superconducting wavefunction between the heavy-fermion superconductor UPd2AI3 and niobium