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

Re: [soaplite] SOAP 1.1 -vs- 1.2

Expand Messages
  • Tom Mornini
    ... Hope you had a good trip! ... That makes sense! ... OK. That s interesting and useful information. Thank you very much for your time. -- -- Tom Mornini --
    Message 1 of 5 , Feb 27, 2002
    • 0 Attachment
      On Wednesday, February 27, 2002, at 01:41 PM, Paul Kulchenko wrote:

      > > my $s = SOAP::Lite->new(
      > >   soapversion => 1.2,
      > >   xmlschema   => '2001',
      > >   uri         => 'http://soap.soap.com/example',
      > >   proxy       => 'http://254.254.254.254/SOAP');
      > >
      > > worked fine, exactly as expected. I commented out the soapversion,
      > Just to clarify the situation (and sorry for my long absence from the
      > list; I was traveling for two weeks with occasional access to my
      > email. btw, thanks for your help, Duncan ;)).

      Hope you had a good trip!

      > use SOAP::Lite soapversion => 1.2;
      >
      > is the correct (compile-time) usage that will generate proper
      > namespaces.
      >
      > SOAP::Lite->soapversion(1.2);
      >
      > does the same thing in run-time, which is incorrect, yet allowed.
      > I'll probably generate fault in this case, because it doesn't do what
      > it should do.

      That makes sense!

      > If you just want to use 2001 Schema (and I believe it'll be
      > sufficient in this case), then 'xmlschema => 2001' will be enough. If
      > you want to play with SOAP 1.2, then 'soapversion => 1.2' will be
      > enough and you don't need to use xmlschema => 2001 in this case, it's
      > used with SOAP 1.2 by default. Hope it makes it more clear.

      OK. That's interesting and useful information. Thank you very much for
      your time.

      --
      -- Tom Mornini
      -- eWingz Systems, Inc.
      --
      -- ICQ: 113526784, AOL: tmornini, Yahoo: tmornini, MSN: tmornini
    Your message has been successfully submitted and would be delivered to recipients shortly.