I need to map the fields inside the dataset table

0

I'm trying to map a Diffgram field but I could not:

This is the XML that I want to map:

    <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>
          <CONSULTA_CUENTA_MISCELANEAResponse xmlns="http://tempuri.org/">
             <CONSULTA_CUENTA_MISCELANEAResult>
                <xs:schema id="NewDataSet" xmlns="" xmlns:xs="http://www.w3.org/2001/XMLSchema" xmlns:msdata="urn:schemas-microsoft-com:xml-msdata">
                   <xs:element name="NewDataSet" msdata:IsDataSet="true" msdata:UseCurrentLocale="true">
                      <xs:complexType>
                         <xs:choice minOccurs="0" maxOccurs="unbounded">
                            <xs:element name="Table">
                               <xs:complexType>
                                  <xs:sequence>
                                     <xs:element name="Codigo_Compania" type="xs:int" minOccurs="0"/>
                                     <xs:element name="Codigo_Cuenta" type="xs:string" minOccurs="0"/>
                                     <xs:element name="Descripcion_Cuenta" type="xs:string" minOccurs="0"/>
                                  </xs:sequence>
                               </xs:complexType>
                            </xs:element>
                         </xs:choice>
                      </xs:complexType>
                   </xs:element>
                </xs:schema>
                <diffgr:diffgram xmlns:msdata="urn:schemas-microsoft-com:xml-msdata" xmlns:diffgr="urn:schemas-microsoft-com:xml-diffgram-v1">
                   <NewDataSet>
                      <Table diffgr:id="Table1" msdata:rowOrder="0">
                         <Codigo_Compania>5</Codigo_Compania>
                         <Codigo_Cuenta>1234567890B</Codigo_Cuenta>
                         <Descripcion_Cuenta>DEUDOR PRUEBA - CARGA FACIL</Descripcion_Cuenta>
                      </Table>
                   </NewDataSet>
                </diffgr:diffgram>
             </CONSULTA_CUENTA_MISCELANEAResult>
          </CONSULTA_CUENTA_MISCELANEAResponse>
       </soap:Body>
    </soap:Envelope>

This is the attempt I made of mapping:

Any way to get the values from the table separately?

    
asked by Xicebriel 18.04.2018 в 16:32
source

0 answers