sponsored links

Collapse

Announcement

Collapse
No announcement yet.

HTTP RESTful service

Collapse
X
  • Filter
  • Time
  • Show
Clear All
new posts

  • HTTP RESTful service


    I want to write program to receive xml data into datastrucutre thorugh RESTful service. i dont know how to receive xml attribute values in rpgle .

    this is my sample xml .

    <PURCHASEORDER> <IDENTIFICATION Reference_ID="c3a9e0b7-b1d1-48f0-bf96-a15a5507fcc9" Date="2017-06-12T08:33:25" MessageProtocol_ID="GriffinPurchaseOrder" FromOrg_ID="Griffin" ToOrg_ID="Vendor Name here" SenderOrg_ID="Griffin" /> <ORDERHEADER CustomerPONumber="997145" BackOrderOK="0" VendorOrderID="" RequestedShipDate="2017-08-21" AirportCode="" BrokerUpdatedBy="709" CarrierDescription="FED EX TWO DAY - GRIFFIN" HeaderComments="" CarrierNumber="90" BrokerCreatedDate="2017-06-09" BrokerCreatedTime="14:18:49" VendorNumber="0090000484" CommittedInventoryCode="" ShipMethod="90" BrokerOrderID="09442000" FreightPaymentMethod="P" IncomingType="N" ShippingInstructions="" SubstitutionOK="0" SalesRepName="EARL POPPELL"> <SOLDTO SoldToEmail="" SoldToContactName="SHIRLEY BARTON" BrokerSoldToNumber="70141" SoldToFax="(772)589-5019" SoldToZip="32970" SoldToAddress1="PO BOX 808" SoldToAddress2="" SoldToName="ROCK CITY NURS &amp; LDSP" SoldToState="FL" SoldToCity="WABASSO" SoldToPhone="(772)589-5835" SoldToCountry="(772)589-5835" /> <SHIPTO BrokerShipToNumber="66981" ShipToEmail="grower@rockcitygardens.com" ShipToContactName="ROCK CITY NURS &amp; LDSP" ShipToFax="(772)589-5019" ShipToZip="32970" ShipToAddress1="9080 N US 1" ShipToAddress2="" ShipToName="ROCK CITY NURS &amp; LDSP" ShipToState="FL" ShipToCity="WABASSO" ShipToPhone="(772)589-5835" ShipToCountry="US" /> </ORDERHEADER> <ORDERDETAILS> <ITEM BrokerLineItemNumber="10" BrokerMaterialNumber="4091391972084" VendorMaterialNumber="4091391972084" MaterialDescription="EVOLVU BLUE MY MIND 84/84 Tray" OrderdQty="168" ScheduledShipDate="2017-08-21" IncomingType="N" LineItemPrice="00.00" LineItemComment="" /> </ORDERDETAILS> </PURCHASEORDER>

  • #2
    Please be more specific.
    What exactly is your problem?
    What you have tried so far?

    Comment

    sponsored links

    Collapse

    Working...
    X