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

6467Re: AW: [soaplite] with ->call() => $value is different from ->value( $value ) ?

Expand Messages
  • Jo Rhett
    Mar 29, 2010
      On Mar 27, 2010, at 2:04 PM, Martin Busik wrote:
      > the construct:
      >
      > SOAP::Data->name( $method )->attr( $SAMAPI ) => $SOAPAUTH
      > is just a syntactical variant to:
      > SOAP::Data->name( $method )->attr( $SAMAPI ), $SOAPAUTH
      >
      > Then SOAP::Lite recognizes SOAPAUTH as a Header object and serializes
      > it in the SOAP:Header.

      Clearly ;-)

      > The construct
      >
      > SOAP::Data->name( $method )->attr( $SAMAPI )->value( $SOAPAUTH
      >
      > instructs SOAP::Lite to put SOAPAUTH inside (->value) of the $method tag.


      I guess it's not clear to me why there is a difference. Even more so since the documentation seems to indicate that they are equivalent -- they indicate you can do it either way. But if they are not equivalent...

      --
      Jo Rhett
      Net Consonance : consonant endings by net philanthropy, open source and other randomness
    • Show all 4 messages in this topic