Database XML Upload/Download SDK

General ShopSite user discussion

Database XML Upload/Download SDK

Postby rippyj » Thu Nov 13, 2008 3:11 pm

Does anyone have any experience using the XML Upload utility to upload to the product database?

I am trying to create a password protected html form that will allow for coworkers to fill out some questions to essentially create a new "product." This new product will essentially be used for custom quotes for customers. (Ex. A large order quote of multiple items)

I can get this to work if I manually place the XML file on to my server, but what I would like to do is to take the HTML form data and create XML data with it. Similar to what is being discussed in the forum below:

http://www.opendesigns.org/forum/discussion/1553/

My XML file looks something like this:

<?xml version="1.0" encoding="iso-8859-1"?>
<!DOCTYPE ShopSiteProducts PUBLIC "-//shopsite.com//ShopSiteProduct DTD//EN" "http://www.shopsite.com/XML/1.7/shopsiteproducts.dtd">
<ShopSiteProducts>
<Response>
<ResponseCode>1</ResponseCode>
<ResponseDescription>success</ResponseDescription>
</Response>
<Products>
<Product>
<Name>Test</Name>
<SKU>Test</SKU>
<ProductID>1</ProductID>
<Price>48.00</Price>
<SaleAmount>35.52</SaleAmount>
<Graphic>test.jpg</Graphic>
<FileName>testquote.html</FileName>
<MoreInformationTitle>Quote2</MoreInformationTitle>
<MoreInformationText>Tom Test Quote</MoreInformationText>
<Template>quoteTemplate</Template>
</Product>
</Products>
</ShopSiteProducts>
rippyj
 
Posts: 18
Joined: Wed Feb 13, 2008 8:21 am
Location: St. Louis MO

Did you ever get an answer?

Postby RedSyntax » Mon Feb 23, 2009 11:05 am

Did you ever get an answer? I am trying to do this same thing. Did you ever get an answer?
RedSyntax
 
Posts: 51
Joined: Mon Nov 17, 2008 7:29 am


Return to User Forum

Who is online

Users browsing this forum: No registered users and 45 guests