Subject: | problems with SOAP::Header ->value |
Have an issue with SOAP::Header->value
When setting a value that contains wide characters (> U+00ff), it tries to encode as Base64 but then fails because I have passed characters (not octets) to the method, so MIME::Base64::encode is croaking.
I Override this by using the type method to force xsd:string, so the encoding doesn't happen, BUT this then doesn't do basic xml escaping, so any & > < etc result in a corrupt envelope. Obviously I can work around this (doing the xml escaping myself first), but thought you might want to know. I figure it should work just like SOAP::Data (which is working fine re xml encoding - not sure about the MIME::Base64 croak).
uname -a: Linux Devlin 2.4.18-24.7.x #1 Fri Jan 31 07:43:27 EST 2003 i686 unknown
perl: 5.8.3
SOAP::Lite: 0.60
XML::Parser: 2.34
MIME::Base64: 2.21