I am getting the response from ADO.net webservice in following format:\[code\]<soap:Envelope xmlns:soap="http://schemas.xmlsoap.org/soap/envelope/" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema"> <soap:Body> <SourceCity_InTravelTypeIDResponse xmlns="http://wheelz.wheelzindia.com/"> <SourceCity_InTravelTypeIDResult> <xs:schema id="NewDataSet" xmlns="" xmlns:xs="http://www.w3.org/2001/XMLSchema" xmlns:msdata="http://stackoverflow.com/questions/14032803/urn:schemas-microsoft-com:xml-msdata"> <xs:element name="NewDataSet" msdata:IsDataSet="true" msdata:MainDataTable="FromCity" msdata:UseCurrentLocale="true"> <xs:complexType> <xs:choice minOccurs="0" maxOccurs="unbounded"> <xs:element name="FromCity"> <xs:complexType> <xs:sequence> <xs:element name="StateID" msdata:ReadOnly="true" msdata:AutoIncrement="true" msdata:AutoIncrementSeed="-1" msdata:AutoIncrementStep="-1" type="xs:int"/> <xs:element name="State" minOccurs="0"> <xs:simpleType> <xs:restriction base="xs:string"> <xs:maxLength value="http://stackoverflow.com/questions/14032803/150"/> </xs:restriction> </xs:simpleType> </xs:element> </xs:sequence> </xs:complexType> </xs:element> </xs:choice> </xs:complexType> <xs:unique name="Constraint1" msdatarimaryKey="true"> <xs:selector xpath=".//FromCity"/> <xs:field xpath="StateID"/> </xs:unique> </xs:element> </xs:schema> <diffgr:diffgram xmlns:msdata="http://stackoverflow.com/questions/14032803/urn:schemas-microsoft-com:xml-msdata" xmlns:diffgr="urn:schemas-microsoft-com:xml-diffgram-v1"> <DocumentElement xmlns=""> <FromCity diffgr:id="FromCity1" msdata:rowOrder="0"> <StateID>1073</StateID> <State>Ahmedabad</State> </FromCity> <FromCity diffgr:id="FromCity2" msdata:rowOrder="1"> <StateID>1051</StateID> <State>Amritsar</State> </FromCity> <FromCity diffgr:id="FromCity3" msdata:rowOrder="2"> <StateID>1024</StateID> <State>Bangalore</State> </FromCity> <FromCity diffgr:id="FromCity4" msdata:rowOrder="3"> <StateID>1074</StateID> <State>Bhopal</State> </FromCity> <FromCity diffgr:id="FromCity5" msdata:rowOrder="4"> <StateID>1034</StateID> <State>Chandigarh</State> </FromCity> <FromCity diffgr:id="FromCity6" msdata:rowOrder="5"> <StateID>1025</StateID> <State>Chennai</State> </FromCity> <FromCity diffgr:id="FromCity7" msdata:rowOrder="6"> <StateID>1075</StateID> <State>Dehradun</State> </FromCity> <FromCity diffgr:id="FromCity8" msdata:rowOrder="7"> <StateID>1001</StateID> <State>Delhi / NCR</State> </FromCity> <FromCity diffgr:id="FromCity9" msdata:rowOrder="8"> <StateID>1062</StateID> <State>Gwalior</State> </FromCity> <FromCity diffgr:id="FromCity10" msdata:rowOrder="9"> <StateID>1011</StateID> <State>Hyderabad</State> </FromCity> <FromCity diffgr:id="FromCity11" msdata:rowOrder="10"> <StateID>1035</StateID> <State>Jaipur</State> </FromCity> <FromCity diffgr:id="FromCity12" msdata:rowOrder="11"> <StateID>1063</StateID> <State>Jhansi</State> </FromCity> <FromCity diffgr:id="FromCity13" msdata:rowOrder="12"> <StateID>1036</StateID> <State>Jodhpur</State> </FromCity> <FromCity diffgr:id="FromCity14" msdata:rowOrder="13"> <StateID>1064</StateID> <State>Khajuraho</State> </FromCity> <FromCity diffgr:id="FromCity15" msdata:rowOrder="14"> <StateID>1026</StateID> <State>Kolkata</State> </FromCity> <FromCity diffgr:id="FromCity16" msdata:rowOrder="15"> <StateID>1072</StateID> <State>Ludhiana</State> </FromCity> <FromCity diffgr:id="FromCity17" msdata:rowOrder="16"> <StateID>1010</StateID> <State>Mumbai</State> </FromCity> <FromCity diffgr:id="FromCity18" msdata:rowOrder="17"> <StateID>1065</StateID> <State>Orchha</State> </FromCity> <FromCity diffgr:id="FromCity19" msdata:rowOrder="18"> <StateID>1016</StateID> <State>Pune</State> </FromCity> <FromCity diffgr:id="FromCity20" msdata:rowOrder="19"> <StateID>1037</StateID> <State>Udaipur</State> </FromCity> </DocumentElement> </diffgr:diffgram> </SourceCity_InTravelTypeIDResult> </SourceCity_InTravelTypeIDResponse> </soap:Body></soap:Envelope>\[/code\]But I want to skip all the stuff and only want to consider DocumentElement tag. I have give following mapping\[code\]<class name="pkg.SourceCityWheelzResponse"> <description xmlns="">Default mapping for class GhraPayOrderRequest</description> <map-to xml="SourceCity_InTravelTypeIDResponse" ns-uri="http://wheelz.wheelzindia.com/" /> <field name="fromCities" type="pkg.FromCity" collection="arraylist"> <bind-xml name="DocumentElement" node="element" /> </field> </class> <class name="pkg.FromCity"> <description xmlns="">Default mapping for class GhraPayOrderRequest</description> <map-to xml="FromCity" /> <fie <field name="stateId" type="java.lang.String" > <bind-xml name="StateID" node="element" /> </field> <field name="state" type="java.lang.String" > <bind-xml name="State" node="element" /> </field> </class>\[/code\]but I am getting null object so please help me how we can do achieve this either skipping rest of the xml part or by chnaging the root element Please help me as I am new to this.