I have been fetching "ListofCompanies" report by sending XML Soap Request. in Tally.ERP9 But since there was no such report I fetch it with Following TDL Request <ENVELOPE> <HEADER> <VERSION>1</VERSION> <TALLYREQUEST>Export</TALLYREQUEST> <TYPE>Data</TYPE> <ID>List of Companies</ID> </HEADER> <BODY> <DESC> <TDL> <TDLMESSAGE> <REPORT NAME="ListofCompanies"> <FORMS>ListofCompanies</FORMS> <TITLE>"List of Companies"</TITLE> </REPORT> <FORM NAME="ListofCompanies"> <TOPPARTS>ListofCompanies</TOPPARTS> <HEIGHT>100% Page</HEIGHT> <WIDTH>100% Page</WIDTH> </FORM> <PART NAME="ListofCompanies"> <LINE>ListofCompanies</LINE> <REPEAT>ListofCompanies : ListofCompanies</REPEAT> <SCROLLED>Vertical</SCROLLED> <XMLTag>COMPANYNAME.LIST</XMLTag> </PART> <LINE NAME="ListofCompanies"> <FIELD>List of Companies</FIELD> </LINE> <FIELD NAME="List of Companies"> <SETAS>$Name</SETAS> <XMLTag>CompanyName</XMLTag> </FIELD> <COLLECTION NAME="ListofCompanies"> <TYPE>Company</TYPE> </COLLECTION> </TDLMESSAGE> </TDL> </DESC> </BODY> </ENVELOPE> Now I am facing a typical problem. This works fine on non server OS (including Win10) however, it returns non readable characters if i fetch from Tally Prime running on Server OS machine. Is there any specific header to be set in http (Post/GET request) ??? I am using msxml6.0 library for doing it. Thanks in advance.
try setting svsxportformat to xml Code: <STATICVARIABLES> <SVEXPORTFORMAT>$$SysName:XML</SVEXPORTFORMAT> </STATICVARIABLES>