All methods that
provides can be used for setting and retrieving
values. If you provide no parameters, you will get the current
value, and if parameters are provided, a new value will be assigned
to the object, and the method in question will return the current
object (if not stated otherwise). This is suitable for stacking
these calls. For example:
$lite = SOAP::Lite -> uri('http://simon.fell.com/calc') -> proxy('http://soap.4s4c.com/ssss4c/soap.asp') ;
The order is insignificant. You may call the
new( ) method first, but if you don’t, SOAP::Lite will do it
for you. Calling the
method explicitly gives you additional syntax:
$lite = SOAP::Lite->new( uri => 'http://simon.fell.com/calc', proxy => 'http://soap.4s4c.com/ssss4c/soap.asp' );
The SOAP::Lite methods are:
Accepts a hash with method names as keys. It will call the appropriate methods together with the passed values..
Provides access to the SOAP/Transport object. You probably shouldn’t play with
transport( ), since the object will be created for you.
Provides access to the SOAP/Serialization object. You probably shouldn’t play with
serializer( ), since the object will be created for you.
Lets you specify an endpoint without changing/loading the protocol module. This is useful for switching endpoints without switching protocols. You should call
proxy( )first. No checks for protocol equivalence will be made.
If true, all methods will ...