I need to send data in xml format to a server.
I have an application that gathers data in behalf of a customer.
NAME, ADDR, STATE, ZIP, and need to send this data to the customer.
The application is NOT web based.
the data will be sent to
http://www.anywhere.com/sumurl/HTTPPost
the URL is listed is bogus, and the realone is owned by the customer.
I can create the customer XML file from the database collecting the information. I belive the XML would look like this...
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE CustomerRequests SYSTEM "D:\X\Customers.dtd">
<CustomerRequests>
<CustomerID>Text</CustomerID>
<FirstName>Text</FirstName>
<MiddleInitial>Text</MiddleInitial>
<LastName>Text</LastName>
<Address1>Text</Address1>
<City>Text</City>
<State>Text</State>
<ZipPostalCode>Text</ZipPostalCode>
</CustomerRequest>
I have a couple of questions..
1) What do I do with this file?
2) Do I even need to create this file?
3) How do I send these elements to the target server?
thanks
-an XML newbie...