Wrox Programmer Forums
Go Back   Wrox Programmer Forums > XML > XML
|
XML General XML discussions.
Welcome to the p2p.wrox.com Forums.

You are currently viewing the XML section of the Wrox Programmer to Programmer discussions. This is a community of software programmers and website developers including Wrox book authors and readers. New member registration was closed in 2019. New posts were shut off and the site was archived into this static format as of October 1, 2020. If you require technical support for a Wrox book please contact http://hub.wiley.com
 
Old February 9th, 2005, 01:37 PM
Registered User
 
Join Date: Feb 2005
Posts: 2
Thanks: 0
Thanked 0 Times in 0 Posts
Default send data question

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...

 
Old February 10th, 2005, 06:09 AM
Friend of Wrox
 
Join Date: Jun 2003
Posts: 1,212
Thanks: 0
Thanked 1 Time in 1 Post
Default

what platform are you using? .NET? Java? VB? Something else?
 
Old February 10th, 2005, 10:01 AM
Registered User
 
Join Date: Feb 2005
Posts: 2
Thanks: 0
Thanked 0 Times in 0 Posts
Default

I should have mentioned that the platform is .NET.

Window's boxes take record the data to a local drive, then need to send the data in the XML format to a URL.

thanks






Similar Threads
Thread Thread Starter Forum Replies Last Post
Send/Insert data simultaneously osemollie Pro PHP 1 February 1st, 2006 05:57 AM
SmartSocket question: How to send object to host magsto All Other Wrox Books 1 August 16th, 2005 02:30 PM
send data to another computer. heathonbass C# 1 February 10th, 2005 05:56 AM
Send form data using VB ratheeshpkr Pro VB 6 8 October 18th, 2004 07:29 AM
Send form data using VB ratheeshpkr Classic ASP XML 0 October 18th, 2004 01:19 AM





Powered by vBulletin®
Copyright ©2000 - 2020, Jelsoft Enterprises Ltd.
Copyright (c) 2020 John Wiley & Sons, Inc.