As part of a web application I'm currently building I'm writing my own form builder which connects with the Aggregate server.
I tested by uploading an XForm compliant file to my front end and submitting it via a php cURL transfer to the aggregate server ( the /formUpload directory ). This worked fine.
However, now I'm generating the XForm file through code, so it isn't within a file but instead is sent as-is. I'm still using a cURL request, but the returned error is as follows: "Did not receive Form Name or Form XML Description".
This was an error code 400, returned from the /formUpload page of the Aggregate server, likely meaning that some part of the query being passed through is wrong.
What is different between the created document object and the xml file when passed through, and how can I fix this? If you have a better solution then let me know, but I have yet to find a good solution.
input id="upload_form" type="submit" name="button" class="gwt-Button" value
="Upload Form" />
/form>
ยทยทยท
On Tue, Feb 21, 2017 at 5:42 AM, wrote:
Hi there,
As part of a web application I'm currently building I'm writing my own
form builder which connects with the Aggregate server.
I tested by uploading an XForm compliant file to my front end and
submitting it via a php cURL transfer to the aggregate server ( the
/formUpload directory ). This worked fine.
However, now I'm generating the XForm file through code, so it isn't
within a file but instead is sent as-is. I'm still using a cURL request,
but the returned error is as follows: "Did not receive Form Name or Form
XML Description".
This was an error code 400, returned from the /formUpload page of the
Aggregate server, likely meaning that some part of the query being passed
through is wrong.
What is different between the created document object and the xml file
when passed through, and how can I fix this? If you have a better solution
then let me know, but I have yet to find a good solution.