When I request to export data via XML interface from tally, it throws HTML file contains response ‘Tally Server is Running’ with licence detail in place of XML response. Please help me? Getting correct response of XML when posted on education mode of tally. But when I post it over licence version getting this response 'Tally Server is running' with licence detail.
2 Answers
Please check value of system variable named as SVExportFormat, this should have value as 'XML'
Most probably you have not included the xml request while hitting the server and port. You need to add the xml request as a data parameter. For example, if you're using curl, it would be:
curl -X POST http://localhost:9000 --data "[insert XML here]"
9002
. Did you try that?9000
is the default