[thelist] XML HTTP help
Roger Ly
RLy at homestead-inc.com
Wed Dec 25 22:53:00 CST 2002
Hey Tom,
I guess the first question to ask is what platform you are developing on. We use Kurant StoreSense for our store applications and use the same functionality on IIS. We have developed some ISAPI extensions, built off of MFC and the CHttpConnection class that send these requests to Kurant and gets the XML response back. All you really need to do is to generate a POST request and send it to the StoreSense server. The server will generate so XML as the response, from which you can derive the result of your query.
The data of the POST request will be your raw XML data. Make sure you set the correct content-length in your POST request, and that you have a valid XML request. I am sure that in whatever development you are building on, you should be able to generate a POST request and send it to some server fairly easily.
Roger
-----Original Message-----
From: thelist-admin at lists.evolt.org on behalf of Tom Dell'Aringa
Sent: Mon 12/23/2002 6:56 AM
To: thelist at lists.evolt.org
Cc:
Subject: [thelist] XML HTTP help
Hi all,
Working on this project where I am putting my own components to work
with Kurant StoreSense. They have their own proprietary DB.
The SDK says I can modify their db with an XML extention via HTTP.
Now they don't actually tell you in the docs HOW to use XML via HTTP.
All they give me is something like this (for a Query:)
<?xml version="1.0" encoding="UTF-8"?>
<XTE version="2.0" locale="en_US">
<Client>
<Name></Name>
<Version></Version>
</Client>
<Logon>
<Zone>store</Zone>
<UserName></UserName>
<Password></Password>
<ShortName></ShortName>
</Logon>
<Request type="Product">
<Action>Query</Action>
<Query>
<Select>
<ProductName/>
<ProductNo/>
...
</Select>
<Where>
<ProductNo></ProductNo>
</Where>
</Query>
</Request>
</XTE>
Obviously I fill in the correct info. But I don't know how to get
this to work. HOW do I accomplish this XML via HTTP? The only cryptic
help I find in the SDK is
POST ...
Content-Type: text/xml
...
<XTE>
...
</XTE>
Which I don't get at all..
Did a search on Google with pretty much no luck, may be searching the
wrong terms. Any help is greatly appreciated.
Tom
=====
var me = tom.pixelmech.webDeveloper();
http://www.pixelmech.com/
http://www.maccaws.com/
[Making A Commercial Case for Adopting Web Standards]
__________________________________________________
Do you Yahoo!?
Yahoo! Mail Plus - Powerful. Affordable. Sign up now.
http://mailplus.yahoo.com
--
* * Please support the community that supports you. * *
http://evolt.org/help_support_evolt/
For unsubscribe and other options, including the Tip Harvester
and archives of thelist go to: http://lists.evolt.org
Workers of the Web, evolt !
More information about the thelist
mailing list