Re: SOAP::Lite - Pretty-Printing XML?
- 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__________________________________________________
> By that I mean indented according to structure and line-wrapped.
> trace mode output is great but I have a lot of trouble reading the
> dump as a solid block of text!
> If not, would you take a patch that added such a feature?
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