[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Reading a document after received in the IFS



   I have one question:



   I am new on this but it works great, I am pulling Orders from a Web
   Services using the http_url_get_raw, and We have received the File and
   save it in to the IFS

   now do yo have a tool to read the file from the IFS so I can read it
   and strip all the data from that file to populate PHYSICAL Files in the
   AS400.



   The file received looks like the following sample

     <?xml version="1.0" encoding="UTF-8" ?>
   [1]- <xmldata>
   [2]- <Orders>
     <OrderID>2944</OrderID>
     <AddressValidated>Y</AddressValidated>
     <BillingAddress1>1800 N. Oak St.</BillingAddress1>
     <BillingAddress2>Apt 1701</BillingAddress2>
     <BillingCity>Arlington</BillingCity>
     <BillingCompanyName />
     <BillingCountry>United States</BillingCountry>
     <BillingFaxNumber />
     <BillingFirstName>Margaret</BillingFirstName>
     <BillingLastName>Bishop</BillingLastName>
     <BillingPhoneNumber>7033519951</BillingPhoneNumber>
     <BillingPostalCode>22209</BillingPostalCode>
     <BillingState>VA</BillingState>
     <Order_Entry_System>PHONE</Order_Entry_System>
     <OrderDate>1/26/2012 11:05:00 AM</OrderDate>
     <OrderNotes />
     <OrderStatus>Processing</OrderStatus>
     <  </OrderDetails>
     </Orders>
   [3]- <Orders>





   Regards,

   Carlos Lugo

References

   1. https://www.shopinbloombyjonquil.com/dataport/dl/Generic/Orders18b7b14f-165f-4001-907d-ea1a0d328bce.xml
   2. https://www.shopinbloombyjonquil.com/dataport/dl/Generic/Orders18b7b14f-165f-4001-907d-ea1a0d328bce.xml
   3. https://www.shopinbloombyjonquil.com/dataport/dl/Generic/Orders18b7b14f-165f-4001-907d-ea1a0d328bce.xml
-----------------------------------------------------------------------
This is the FTPAPI mailing list.  To unsubscribe, please go to:
http://www.scottklement.com/mailman/listinfo/ftpapi
-----------------------------------------------------------------------