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

1129Re: SOAP::Lite - Pretty-Printing XML?

Expand Messages
  • Paul Kulchenko
    Dec 20, 2001
      Hi, Sam!

      You can use readable() option for serializer:

      $soap = SOAP::Lite->proxy(...)->uri(...)->readable(1);

      in this case request will have nice readable format. However response
      will be shown exactly as received. If you use SOAP::Lite server you
      can do the same thing on server side:

      $server = SOAP::Transport::HTTP::Daemon


      Best wishes, Paul.

      --- Sam Tregar <sam@...> wrote:
      > Is there any way to get the XML output by trace mode to be pretty
      > printed?
      > By that I mean indented according to structure and line-wrapped.
      > The
      > trace mode output is great but I have a lot of trouble reading the
      > XML
      > dump as a solid block of text!
      > If not, would you take a patch that added such a feature?
      > -sam

      Do You Yahoo!?
      Check out Yahoo! Shopping and Yahoo! Auctions for all of
      your unique holiday gifts! Buy at http://shopping.yahoo.com
      or bid at http://auctions.yahoo.com