Hey Martin,
On Fri, Sep 12, 2008 at 1:49 AM, Martin Kutter <mar...@fe...> wrote:
> 2) What should ->document() do? return the plain XML? Returning the
> content of the soap:Body element is less useful as it may seem - there
> may be information in the header, too.
I was thinking that document() should return the XML content of the
Body tag, but after digging a bit more I think it is unnecessary - as
the SOM class has all the needed methods: body, envelope, header, etc,
but there is the bug with attributes that is making them not useful.
It seems a bit redundant to serialize them, and then deserialize them,
but not such a big deal.
Again, fixing the attribute bugs would really solve this.
> One current workaround could be setting ->outputxml(1) on the SOAP
> object and processing the XML by other means (like XML::Simple or the
> like).
But doesn't this only affect the *client*? This is needed for the *server*.
Cheers, jas.
|