When creating the submit data connection, it should be the URL of the library itself, not a particular view or folder. The publish URL is actually just the site, and then you choose the proper doc lib from there. If you paste in the whole URL, it just extracts the site portion of the URL anyway.