Normally this is what people use LiveCycle Forms to do. You can pass
pretty much anything back to your server and give that to LiveCycle
Forms and it will return you the XML that was contained in the form.
You can even pass the entire PDF back (data and all) and it will
extract the XML. However I am surprised that the URL encoded data did
not pass the data back exactly as if you were working with an HTML
form.