You have chosen to sponsor your bid up to a maximum amount of .
I need a php form to post the form data as xml to a webservice and capture the xml response and redirect the form to the url in the xml response.
This is how i would expect the process to go, if you have better plan to execute this, we can discuss it further.
1. User enters data into form
2. form is posted to php file which formats the posted data as xml and sends it to webservice using curl and updates mysql database
3. form waits for response from webservice. Update the database with the response and parse the xml for the url and status.
4.The status in response is either "accepted", "rejected" or "error". In case of "accepted", the response will have a url that form needs to redirect to and in case of "rejected" and "error", the form must redirect to a default url.
The form is ready, so I dont need the form to be scripted. This project is only for form processing part.
I will provide the variables from the form and xml schema and sample responses.
Thanks for bidding