Loading ...
Sorry, an error occurred while loading the content.

3462SOAP::Lite and dates

Expand Messages
  • Stephane Bortzmeyer
    Apr 2, 2004
    • 0 Attachment
      I have a SOAP method which returns a date (currently as a
      string). Reading SOAP::Lite documentation
      <URL:http://guide.soaplite.com/#types%20and%20names>, I do not find
      the list of supported types for SOAP::Data->type but, reading the
      code, it seems "date" is not one of them.

      In CPAN, I've found a SOAP::DateTime. Is it the only solution?

      SOAP::DateTime - Support for converting dates to
      "xsd:dateTime" format

      use SOAP::DateTime;
      my $soap_datetime = ConvertDate($arbitrary_date);

      "SOAP::DateTime" converts dates into the format required
      by the "xsd:dateTime" type.
    • Show all 12 messages in this topic