Two Laptop Bag*
The moose likes XML and Related Technologies and the fly likes Not retriving any data xml response I tried with jaxb and sax, dom tryng read map to java Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Engineering » XML and Related Technologies
Bookmark "Not retriving any data xml response I tried with jaxb and sax, dom tryng read map to java " Watch "Not retriving any data xml response I tried with jaxb and sax, dom tryng read map to java " New topic
Author

Not retriving any data xml response I tried with jaxb and sax, dom tryng read map to java

m kota
Greenhorn

Joined: Oct 17, 2012
Posts: 1
multiple root nodes and nodes having <FIELD NAME="strShipmentNo" VALUE="A15082271" /> how do read and map to java please repsonse any urgent look below xml file

<DTDCREPLY>
<CONSIGNMENT>
<CNHEADER>
<CNTRACK>TRUE</CNTRACK>
<FIELD NAME="strShipmentNo" VALUE="A15082271" />
<FIELD NAME="strRefNo" VALUE="N/A" />
<FIELD NAME="strMode" VALUE="AIR" />
<FIELD NAME="strOrigin" VALUE="LEAK-PROOF ENGINEERING PVT.LTD, AHMEDABAD" />
<FIELD NAME="strOriginRemarks" VALUE="Received from" />
<FIELD NAME="strBookedOn" VALUE="08072009" />
<FIELD NAME="strPieces" VALUE="1" />
<FIELD NAME="strWeightUnit" VALUE="Kg" />
<FIELD NAME="strWeight" VALUE="0.020" />
<FIELD NAME="strDestination" VALUE="PUNE" />
<FIELD NAME="strStatus" VALUE="DELIVERY" />
<FIELD NAME="strStatusTransOn" VALUE="09072009" />
<FIELD NAME="strStatusTransTime" VALUE="1210" />
<FIELD NAME="strRemarks" VALUE="CO SEAL" />
<FIELD NAME="strNoOfAttempts" VALUE="" />
</CNHEADER>
<CNBODY>
<CNACTIONTRACK>TRUE</CNACTIONTRACK>
<CNACTION>
<FIELD NAME="strAction" VALUE="DISPATCHED" />
<FIELD NAME="strRemarks" VALUE="" />
</CNACTION>
<CNACTION>
<FIELD NAME="strAction" VALUE="RECEIVED" />
<FIELD NAME="strRemarks" VALUE="" />
</CNACTION>
<CNACTION>
<FIELD NAME="strAction" VALUE="DISPATCHED" />
<FIELD NAME="strRemarks" VALUE="" />
</CNACTION>
<CNACTION>
<FIELD NAME="strAction" VALUE="RECEIVED" />
<FIELD NAME="strRemarks" VALUE="" />
</CNACTION>
<CNACTION>
<FIELD NAME="strAction" VALUE="OUT FOR DELIVERY" />
<FIELD NAME="strRemarks" VALUE="" />
</CNACTION>
</CNBODY>
</CONSIGNMENT>
</DTDCREPLY>


 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: Not retriving any data xml response I tried with jaxb and sax, dom tryng read map to java
 
Similar Threads
Problem with use Castor from Spring OXM.
XML Data Mapping
How to change the database in Java EE
How to map arraylist containing a list of hashmaps using castor
Castor unable to Map - please help