Wrong submission url

I have two servers of collect. I uploaded a form on the first server but unfortunately with a submission url of the second server. The enumerators have already collected the data but it cannot be uploaded. Is there a way the data can be uploaded either on the first or second server?

It is possible to get the data using Briefcase and the /odk folders from the phones as described here: https://docs.opendatakit.org/briefcase-using/#collect-directory

But you should be able to upload the form to the second server and this should allow the forms to be submitted. If you download the XML form definition file from the first server and upload it to the second then I think they should match and you should be good to go. Unless I misunderstand your situation.

Thank you danbjoseph. I uploaded the xml form on the second server and it has worked out.