I don't know anything about XML Gateway, but I would have thought you should be expecting something other than a 404 error from the URL.
Having said that, it's possible that you are only supposed to be "POST"ing to the URL, and not "GET"ing.
Maybe someone with XML Gateway knowledge can advise.