seki has asked for the wisdom of the Perl Monks concerning the following question:
Hi Monks,
I am trying to understand (and perhaps fix somes issues in) the implementation of SOAP::WSDL while trying to set attributes for an element inside a request and I am struggling with the notations like
my %xmlns_of :ATTR(:name<xmlns> :default<{}>); that are used a lot i.e in SOAP::WSDL::BASE.pm and in the Elements and Types generated by the script wsdl2perl.pl in order to build SOAP request by filling a simple hashtable (all the types resolving and corresponding xml generation is done at run time thanks to the generated packages).
I have made some research to understand the attributes with Attribute::Handlers but it seems to be a variation as the documentation does not show the attributes in the arguments like for :name, and the code is not even using this package. Or is it something different?
If you can provide some help...
|
|---|