--- Lite.pm.orig 2004-11-17 15:21:25.396928773 -0500 +++ Lite.pm 2004-11-17 15:22:09.896604769 -0500 @@ -107,7 +107,7 @@ *$AUTOLOAD = sub { my $self = shift; my($value, $name, $type, $attr) = @_; - return [$name, {'xsi:type' => "xsd:$method", %$attr}, $value]; + return [$name, {'xsi:type' => "xsd:$method", %$attr}, SOAP::Utils::encode_data($value)]; }; goto &$AUTOLOAD; }