You have to change the form and specify what is submitted.
Open the form in Adobe Designer. Find your "Submit" button and select it.
Look at the Object panel (choose Window -> Object from the tool bar if you don't see it).
If the button is of type "HTTP Submit Button" or "Email Submit Button" change it to "Button"
In the Object panel set the Control Type to Submit. That should make a "Submit" tab appear in the Object panel
Choose the Submit tab. Set the Submit to URL field (use the mailto: prefix if submitting through email).
In the Submit As dropdown choose PDF.
Save the PDF.
It will now submit the entire PDF to the URL rather than just the XML data
How to returned get as xml data from pdf acrobat reader.is it possible
I'm not sure I understand the question but the submit on the PDF will dictate whether you're going to receive XML or the entire PDF. This is just a configuration of the submit button.