Loading ...
Sorry, an error occurred while loading the content.

6004Encoding text from server

Expand Messages
  • Morgan Fletcher
    Aug 30, 2007
      I am querying a service like so:

      $response = SOAP::Lite
      ->service("http://thing1.thing2.com:10000/FOO.wsdl")
      -> getId("$r");

      Some of the records I get contain characters like this: \205 \256.
      (represented as best I can) When I get a record like that I get:

      not well-formed (invalid token) at line 44, column 106, byte 2658 at
      /usr/lib/perl5/vendor_perl/5.8.5/i386-linux-thread-multi/XML/Parser.pm
      line 187

      Should I be encoding this text somehow, from the client end, so that I
      don't get this XML Parser error? If so, how?

      Morgan
    • Show all 5 messages in this topic