6467Re: AW: [soaplite] with ->call() => $value is different from ->value( $value ) ?
- Mar 29, 2010On Mar 27, 2010, at 2:04 PM, Martin Busik wrote:
> the construct:Clearly ;-)
> 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.
> The constructI 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...
> SOAP::Data->name( $method )->attr( $SAMAPI )->value( $SOAPAUTH
> instructs SOAP::Lite to put SOAPAUTH inside (->value) of the $method tag.
Net Consonance : consonant endings by net philanthropy, open source and other randomness
- << Previous post in topic Next post in topic >>