[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: SOPE::Lite / prcessing complex data types at server side


Tobias Regneri wrote:
package MyService;

sub AddGroupAttributes {
   ($self, $provider, $group, $attrlist) = @_;

   ($name, $hashref) = split('=', $attrlist);
    $params = $$hashref;

   ...
}

the variables $provider and $group are set correctly but the
hash for the list items is empty. Do I have to override the
deserializer (if yes, is there any documentation available) or
am I handling the parameters in the wrong way?


SOAP lite does some weird things. 0.55 especially. If you aren't using 0.67 (or later), then you might want to upgrade.

I would use Data::Dumper; warn(Dumper(suppressed)); and see what's in the logs.

It should be:
provider
group
attrlist[item 0]
attrlist[item 1]
...

Rob


Mail converted by mhonarc 2.6.15
This archive provided courtesy of JSW4.NET, Internet Hosting Services for Small Business.