Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 6813905
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 26, 20262026-05-26T20:37:29+00:00 2026-05-26T20:37:29+00:00

I have an interoperable WCF service which needs to provide a DateTime value to

  • 0

I have an interoperable WCF service which needs to provide a DateTime value to the clients.

I want to provide the maximum value of this DateTime if a certain field is set to ‘unlimited’ (DateTime.MaxValue in .NET). But what exact value to be passed to the clients as maximum in order to keep it interoperable and clients to treat it as “unlimited”?

I am worried because inside .Net DateTime.Max is ok, but Linux’s max datetime value is 19 January 2038.

Shall I check the maximum value of datetime for SOAP specification ?

EDIT: I really want to make use of this DateTime value, without adding any other fields to my contracts! What is the maximum date-time allowed by SOAP? For some reasons I could not find this on google.

Thanks.

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-05-26T20:37:29+00:00Added an answer on May 26, 2026 at 8:37 pm

    Ok, here is what I’m using right now:

    Per SOAP’s datetime decription here: http://www.w3.org/TR/xmlschema-2/#dateTime , if I understand correct, the values could be between year 0001 and year 9999, very similar to what .NET covers.

    So I am using these values for minimum and maximum for the server side. On the client side the value is retrieved and mapped to its own meaning of minimum and maximum (e.g linux max/min datetime). Yes, this implies the clients are pretty much forced to do this mapping right before/after SOAP communication.

    Update:
    It was bad from my part to not realize that I could use nullable values (DateTime?) through the channel. Seems I learned about its existence a bit later (quite lame).

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I have created a WCF routing service. This service uses basicHTTPBinding as it is
I'm preparing to create a WCF Service which our customers can use to update
Have just started using Visual Studio Professional's built-in unit testing features, which as I
Have you determined a maximum number of characters allowed in FCKEditor ? I seem
Have you managed to get Aptana Studio debugging to work? I tried following this,
First of all, this is a follow-up question to Should I use WCF or
I am going to have to interoperate with some WCF classes from an ASP.NET
Let's say I have this Hello.scala. object HelloWorld { def main(args: Array[String]) { println(Hello,
Have not done this before, so obviously I suck at it. Here 64 pixels
Have a photography site that I want to prevent image copying from. How can

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.