Watson dialog API returns the same output every time

I am trying to use the Watson dialog API for question and answer.. I am trying to call API for a particular dialog id but every time it return the same output and the first level output. Can anybody help me on this?

I have sample XML file and it is working fine in blue-mix cloud environment. i am getting answer of my question and same xml file i am trying in by using curl command locally for similar question but not getting proper response. I am getting same response for all the input that are available in the xml file. Please let me know if you have tried this...