I tried using the {@link com.sun.star.document.MediaDescriptor} but got a com.sun.star.beans.UnknownPropertyException
The URL-Property is marked OPTIONAL in the IDL. You are better of using the XModel to get the URL