Posted on 2008-08-19 19:48:55-07 by bobdolebananaphone
Finding the size of auto-typed base64Binary data in SOAP::Data
When I put binary data into a field in SOAP::Lite, it gets serialized to base64Binary data...Howeve +r, this doesn't do me any good if I don't know the size, because without the size, I can't decode +it at the other side. I have tried like $base64Data = SOAP::Data->name(data => $binarydata)->type('base64Binary'); $len = length($base64Data->value()); But $len holds the size of the original data, not the (expanded) base64ed data. Is there a simple way to find this? Does it have to go into the serializer first? Thanks Bob
Direct Responses: Write a response
Perl Weekly newsletter
A free weekly newsletter for people who are busy to read all the blogs. click here to check it out.