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

Re: [soaplite] Trouble using the xsd:dateTime data type

Expand Messages
  • Byrne Reese
    FYI - this problem should be addressed in SOAP::Lite 0.65 - currently in Beta. http://www.soaplite.com/download.html In this release, the 2001 XML Schema has
    Message 1 of 2 , Oct 19 6:41 PM
      FYI - this problem should be addressed in SOAP::Lite 0.65 - currently in
      Beta.

      http://www.soaplite.com/download.html

      In this release, the 2001 XML Schema has been made the default schema,
      and autotyping for dateTime and date has been added.

      krishnan_anantheswaran@... wrote:

      > Hi,
      >
      > I'm trying to create an attribute of type xsd:dateTime using:
      >
      > my $x = SOAP::Data->value($date)->type('dateTime'));
      >
      > The error I get is:
      >
      > Schema/namespace for type 'dateTime' is not specified.
      >
      > I can use ->type('date') OK but this results in the server
      > (impelemented in Java using Apache Axis, by the way)
      > to ignore the time component of the attribute.
      >
      > I'm using SOAP::Lite 0.55 (I think).
      >
      > Any ideas?
      >
      > Regards,
      > Krishnan
      >
      >
      >
      > ------------------------------------------------------------------------
      > *Yahoo! Groups Links*
      >
      > * To visit your group on the web, go to:
      > http://groups.yahoo.com/group/soaplite/
      >
      > * To unsubscribe from this group, send an email to:
      > soaplite-unsubscribe@yahoogroups.com
      > <mailto:soaplite-unsubscribe@yahoogroups.com?subject=Unsubscribe>
      >
      > * Your use of Yahoo! Groups is subject to the Yahoo! Terms of
      > Service <http://docs.yahoo.com/info/terms/>.
      >
      >
    Your message has been successfully submitted and would be delivered to recipients shortly.