locked
Web Service and Time Difference in Client and Server RRS feed

  • Question

  • User2105156359 posted

    Hi,

    I have a web service hosted in ISS in India(GMT + 5.30) and a client is trying to involke it from UK(GMT), at sometimes it usually shows error "an unexpected or incorrectly secured fault was recieved from the other party. "

    its solved when i change the time and its cause is normally due to the time different between server and client, is there anyway i can resolve it with some settings in web.config ?

    Monday, January 7, 2013 10:10 AM

Answers

  • User2105156359 posted

    Yes,

    But only when the time difference of the Uk is less than that of Indian time...but if i increase the time of the UK machine by 10 or 20 minutes..its fixed...is there anyway i can change the web service so that what ever the time is , it will communicate properly ?

    • Marked as answer by Anonymous Thursday, October 7, 2021 12:00 AM
    Wednesday, January 9, 2013 2:33 AM

All replies

  • User-1662538993 posted

    We had similar kind of issue and what we did is we find out the time zone from the country and then adjusted the date time by adding or subtracting the value as per the timezone and it worked for us.

    Monday, January 7, 2013 10:15 AM
  • User2105156359 posted

    Hi,

    But in this case we are not using datatime in the web services...its showing error while communication...i mean some timestamp or stuffs...

    Monday, January 7, 2013 10:18 AM
  • User-1662538993 posted

    I am sorry i did not understand your problem correctly.

    You are saying that you have webservice and you have hosted it in Indian server.

    While somebody from UK try to access that service you are getting an error.

    Monday, January 7, 2013 11:05 AM
  • User2105156359 posted

    Yes,

    But only when the time difference of the Uk is less than that of Indian time...but if i increase the time of the UK machine by 10 or 20 minutes..its fixed...is there anyway i can change the web service so that what ever the time is , it will communicate properly ?

    • Marked as answer by Anonymous Thursday, October 7, 2021 12:00 AM
    Wednesday, January 9, 2013 2:33 AM
  • User-1658256289 posted

    I have encountered a similar issue, but still not find another way..

    Tuesday, January 22, 2013 11:45 PM