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

3470Re: [soaplite] Re: SOAP::Lite and dates

Expand Messages
  • Duncan Cameron
    Apr 3, 2004
      --- Duncan Cameron <duncan_cameron2002@...> wrote:
      > --- Stephane Bortzmeyer <bortzmeyer@...> wrote:
      > >
      > > > and your server needs to specify the 2001 namespace not 1999,
      > > > i.e. xmlns:xsd="http://www.w3.org/2001/XMLSchema".
      > >
      > > I do not find how to do so with SOAP::Lite (yes, my server is
      > written
      > > in SOAP::Lite, too).
      >
      > From memory, on the server side something like
      >
      > my $daemon = SOAP::Transport::HTTP::Daemon # etc
      >
      > $daemon->serializer->xmlschema('2001');
      > or
      > $daemon->serializer->version('1.1');
      >
      > will cause the 2001 namespace to be used.
      >
      Sorry to reply to my own posting but the soapversion() call doesn't
      work on a server in the same way as a client. Try

      SOAP::Lite->soapversion('1.2');

      /before/ creating your server daemon.

      Regards
      Duncan






      ___________________________________________________________
      WIN FREE WORLDWIDE FLIGHTS - nominate a cafe in the Yahoo! Mail Internet Cafe Awards www.yahoo.co.uk/internetcafes
    • Show all 12 messages in this topic