Check the user that you are authenticating with for the web service call (you must pass in a user name and password). My guess is the user's settings are -7. It should be in the user's application preferences.
Sean From: Action Request System discussion list(ARSList) [mailto:arslist@ARSLIST.ORG] On Behalf Of Chintan Shah Sent: Wednesday, November 16, 2011 3:04 PM To: arslist@ARSLIST.ORG Subject: Re: Remedy Web-service Timezone question for date/timestamp fields ** Hi Andrew, I am sorry, I should have been more clear. I am consuming a web-service outside of web-service filter action(using a custom java web-service client). Does that make a difference or is it still always server timezone? My issue is both my midtier and ARServer are set to Pacific timezone, which means I should expect -8 and not -7 in SOAP envelope from Nov 6 onwards. My default user for midtier is set to "America/Los_Angeles" timezone. My dilemma is why is it sending me -7 instead of -8. Thanks Chintan. ________________________________ From: Andrew C Goodall <ago...@jcpenney.com> To: arslist@ARSLIST.ORG Sent: Wednesday, November 16, 2011 10:50 AM Subject: Re: Remedy Web-service Timezone question for date/timestamp fields ** Comes from the timezone of the ARS server I believe that executes the web service filter action. e.g. try changing your server timezone and see if it changes. Regards, Andrew Goodall Software Engineer 2 | Development Services | jcpenney . www.jcp.com <http://www.jcp.com/> ________________________________ From: Action Request System discussion list(ARSList) [mailto:arslist@ARSLIST.ORG] On Behalf Of Chintan Shah Sent: Wednesday, November 16, 2011 12:09 PM To: arslist@ARSLIST.ORG Subject: Remedy Web-service Timezone question for date/timestamp fields Hello all, I am getting an element back from Web-service which looks like this <ns0:Create_Date>2011-11-09T05:00:00-07:00</ns0:Create_Date> Now, question I have is who sets "-07:00"? Is it hard-coded in midtier code or does mid-tier gets the timezone from preference form for default midtier user? Thanks Chintan. The information transmitted is intended only for the person or entity to which it is addressed and may contain confidential and/or privileged material. If the reader of this message is not the intended recipient, you are hereby notified that your access is unauthorized, and any review, dissemination, distribution or copying of this message including any attachments is strictly prohibited. If you are not the intended recipient, please contact the sender and delete the material from any computer. _attend WWRUG12 www.wwrug.com<http://www.wwrug.com> ARSlist: "Where the Answers Are"_ _attend WWRUG12 www.wwrug.com ARSlist: "Where the Answers Are"_ _attend WWRUG12 www.wwrug.com ARSlist: "Where the Answers Are"_ _______________________________________________________________________________ UNSUBSCRIBE or access ARSlist Archives at www.arslist.org attend wwrug12 www.wwrug12.com ARSList: "Where the Answers Are"