We have to send a request to a web service using HTTPS POST. The code below is the XML that we will send. It sends a UPC number that comes from our MySQL database on an Apache server. The web service then responds with the product details associated with the UPC number. We send the POST to:
We are planning to use PHP to create and process the POST. We're trying to keep it simple.
Is this correct? We create a simple html form that pulls the UPC from our database (no problem there). Our html form uses a php script that we create for the action in the form. This PHP script assembles the XML request and passes it via HTTPS POST to the web service.
Assuming this is essentially correct, we are looking for any samples of the PHP script necessary to assemble the data and process the POST.
Thanks a bunch.