sugarboy has asked for the wisdom of the Perl Monks concerning the following question:

This node falls below the community's minimum standard of quality and will not be displayed.
  • Comment on How do i pass dateTime for a .Net webservice.

Replies are listed 'Best First'.
Re: How do i pass dateTime for a .Net webservice.
by Jenda (Abbot) on Sep 10, 2007 at 15:49 UTC

    If you go to the Web Service address with your browser you should be able to see examples of the stuff that service expects and even be able to try and submit some values. Most likely you'll just need to format the date somehow to match .Net's expectation. That's I'm afraid all we can say without more info from you.

Re: How do i pass dateTime for a .Net webservice.
by artist (Parson) on Sep 10, 2007 at 16:28 UTC
    You might want to use DateTime and get what you want.
    --Artist
Re: How do i pass dateTime for a .Net webservice.
by jfroebe (Parson) on Sep 10, 2007 at 18:10 UTC
      SOAP::Lite doesn't know that your perl string is supposed to be converted to an XSD dateTime type.

      At a glance, SOAP::WSDL doesn't either (even though it knows that the service requires a dateTime)... that'd probably be a useful thing for it to do. If not on date-like strings, then at least automatic conversion of the more common datetime object types.

      -David