Perl SOAP::Lite XML Parser encoding value -
i calling web service soap::lite. gives following error:
not well-formed (invalid token) @ line 7, column 16, byte 281 @ /usr/lib/perl5/vendor_perl/5.8.5/i386-linux-thread-multi/xml/parser.pm line 187
at line 7 of output, there turkish character think caused problem. can see output terminal. starting following line :
<?xml version="1.0" ?>
there no encoding parameter. how can set output encoding value utf-8? tried following when calling web service did not work:
my $soap = soap::lite -> on_action( sub { join '/', @_ } ) -> readable(1) -> uri('xxx') -> proxy("http://xxx") -> ns("http://schemas.xmlsoap.org/soap/envelope/","soapenv") -> ns("xxx","yyy"); $soap->serializer()->encodingstyle("utf-8");
Comments
Post a Comment