Advertisement

07.03.2008 at 03:28AM PDT, ID: 23536333
[x]
Attachment Details
[x]
The Solution Rating System

With so many solutions, how can you tell which solutions are most likely to help you and which ones are not? To provide you with a tool to use, we rate our solutions based on various elements that most accurately determine if a solution is a quality solution. To explain what factors affect the solution rating, here are the elements we take into consideration when formulating our solution rating.

  • The Grade of the Solution
  • The Zone Rank of the Expert Providing the Solution
  • The Number of Author and Expert Comments
  • The Number of Experts Contributing
  • The Feedback of the Community

Your Input Matters
Because of the way the system is set up, the most important variable in this equation is you. As a member of Experts Exchange, you are able to cast your vote on the quality of the solutions in regard to how complete, accurate, helpful and easy to understand each solution is. When you provide your feedback, each rating is adjusted accordingly. So, if you see a solution that has a poor rating that you think is a good solution, let us know by rating it. As you do, the rating will be adjusted and will become more accurate for other members of our site.

If you have any suggestions that you would like to make for our rating system, please ask a question in the Suggestions Zone of Community Support.

Thank you!

7.6

Coldfusion adjusts datetime to local timezone when consuming a .Net web service

Asked by dominic_latham in ColdFusion Application Server, Cold Fusion Markup Language, SOAP

Tags:

I am using CF MX and consuming a .Net webservice (http://book.livebookings.net/webservices-test/internal/service.asmx?wsdl). When I parse the result to retrieve datetime values they are returned adjusted based on the timezone differences between the servers.

This request:
<?xml version="1.0" encoding="UTF-8" ?><soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
<soapenv:Body>
<SearchAvailabilityRequest xmlns="http://schemas.livebookings.net/OneFormat/Aggregator/Internal/1/0/">
<Languages>en-GB</Languages>
<SessionId>DINNER</SessionId>
<DiningDateAndTime>2008-07-03T18:00:00.000Z</DiningDateAndTime>
<Size>2</Size>
<RestaurantSalesForceCustomerIds>104569</RestaurantSalesForceCustomerIds>
<MaximumResults>10</MaximumResults>
<MaximumCharactersInDescription>0</MaximumCharactersInDescription>
<ReturnPromotions>true</ReturnPromotions>
<ReturnNonPromotions>false</ReturnNonPromotions>
<ReturnSessionMessage>true</ReturnSessionMessage>
<ReturnReturnMessage>true</ReturnReturnMessage>
</SearchAvailabilityRequest>
</soapenv:Body>
</soapenv:Envelope>

This is a snippet of the response including the time values I'm interested in:
<Result time="2008-07-03T17:30:00" correlationData="24533">
<Return culture="en-GB">return time 20:00</Return>
</Result>
<Result time="2008-07-03T18:00:00" correlationData="24533">
<Return culture="en-GB">Return time 20:30</Return>
</Result>
<Result time="2008-07-03T18:30:00" correlationData="24533" />
<Result time="2008-07-03T19:00:00" correlationData="24533" />
<Result time="2008-07-03T19:30:00" correlationData="24533" />
<Result time="2008-07-03T21:00:00" correlationData="24533" />
<Result time="2008-07-03T21:30:00" correlationData="24533" />
<Result time="2008-07-03T22:00:00" correlationData="24533" />
<Result time="2008-07-03T22:30:00" correlationData="24533" />

I need to display the result time in the local time of the remote server. However when I extract these values from the object returned from Coldfusion they are all adjusted by 2 hours as my dev server has different timezone settings than this remote server.

I have developed a work around based on the assumption that the remote server timezone is GMT however I'd rather just get CF/Axis to return me the raw time rather than adjusting it.

Can anybody help?
Start Free Trial
 
Loading Advertisement...
 
[+][-]07.04.2008 at 05:04AM PDT, ID: 21932557

Experts Exchange has a courteous staff of administrators who help members get the most out of the website by means of administrative comments like this one.

Start your 7-day free trial to view this Administrative Comment or ask the Experts your question.

 
[+][-]07.04.2008 at 05:30AM PDT, ID: 21932702

At Experts Exchange, members can ask their questions to thousands of technology professionals, also known as Experts. Experts compete and collaborate to answer those questions by leaving comments like this one.

Start your 7-day free trial to view this Expert Comment or ask the Experts your question.

 
[+][-]07.04.2008 at 06:00AM PDT, ID: 21932865

Often, when Experts are collaborating with members who have asked questions, they will request additional information about the problem. Askers respond with an author comment like this one.

Start your 7-day free trial to view this Author Comment or ask the Experts your question.

 
[+][-]07.04.2008 at 06:31AM PDT, ID: 21933008

At Experts Exchange, members can ask their questions to thousands of technology professionals, also known as Experts. Experts compete and collaborate to answer those questions by leaving comments like this one.

Start your 7-day free trial to view this Expert Comment or ask the Experts your question.

 
[+][-]07.04.2008 at 07:19AM PDT, ID: 21933281

Often, when Experts are collaborating with members who have asked questions, they will request additional information about the problem. Askers respond with an author comment like this one.

Start your 7-day free trial to view this Author Comment or ask the Experts your question.

 
[+][-]07.04.2008 at 08:00AM PDT, ID: 21933442

Assisted solutions are selected by the member who asked the question as a comment that contributed to their question's solution.

Start your 7-day free trial to view this Assisted Solution or ask the Experts your question.

 
[+][-]07.21.2008 at 01:20AM PDT, ID: 22048726

View this solution now by starting your 7-day free trial. Setting up your free trial is quick, easy, and secure. We will return you to this solution, unlocked, when you're done.

 

About this solution

Zones: ColdFusion Application Server, Cold Fusion Markup Language, SOAP
Tags: Coldfusion MX
Sign Up Now!
Solution Provided By: dominic_latham
Participating Experts: 1
Solution Grade: A
 
 
 
Loading Advertisement...
20080716-EE-VQP-32 / EE_QW_2_20070628