Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Mike Lewis on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Import XML File into Datastore

Status
Not open for further replies.

Jmchap1

MIS
Nov 16, 2005
15
US
I have tried several ways to import an XML file into datastore. I have used
//ll_Rtn = lds_ack.ImportString(ls_input, 2, 6, 0, 0, 2)
I get ll_rtn = -4
Invalid Input

ll_Rtn = lds_ack.ImportFile(XML!,ls_FullPath)
I get ll_rtn = -11
XML Parsing Error; XML parser libraries not found or XML not well formed.

Here is the data I need to import into the datastore:

<?xml version="1.0" encoding="utf-8"?>
<InboundResponse TransactionType="eRS Inbound">
<TransactionStatus>SUCCESS</TransactionStatus>
<TransactionMessage>Pump has been succesfully received at Pump Service Center on 9/15/2010 11:12:38</TransactionMessage>
<ReceiveDate>2010-09-15T11:12:38-04:00</ReceiveDate>
<SN>1000659</SN>
<RMA>880899</RMA>
<Event>2</Event>
</InboundResponse>
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top