Import from Tally

Discussion in 'Tally Integration' started by Eka Bada, May 30, 2021.

    
  1. Eka Bada

    Eka Bada New Member


    Data from XML to tally is successfully made by way of POST method. But for Import Data from Tally in XML is not success the same. While any request by xml is send then response.text is showing that tally prime server is running. TDL in text file format is properly included and in Tally Prime Showing no issue with TDL. Also TDL is included in XML and Send via POST but received same response.
     


  2. teja varma

    teja varma Active Member


    As far as I understand, you are not able to send XML requests to tally for importing data.
    You are getting "Tally Prime Server is running" - This is because you are not sending any data to Tally (i.e Request body is empty).

    While sending XML request to the tally:
    1)Make sure you use proper XML Structure for importing data
    2) XML is included as a request Body.
    3)If you are sending TDL. you need to convert TDL to XML from the tally developer.

    For more info on XML Integration, refer here:
    https://help.tallysolutions.com/dev...capabilities/integration-using-xml-interface/
     


  3. Eka Bada

    Eka Bada New Member


    Thanks for your reply. In VB Code a string variable has set which receives response from Tally. Codes are:

    Set objXML = New MSXML2.ServerXMLHTTP
    objXML.Open "POST", "http://localhost:9000", False
    objXML.send ExCd

    'Here ExCd is string variable which has XML Codes

    Do While objXML.ReadyState <> 4
    DoEvents
    Loop

    ExRes = objXML.responseText
    ExRes is a string which receives response, and its showing Tally Prime is Running.
     


  4. teja varma

    teja varma Active Member


    What is the XML data you are sending?
     


Share This Page