[Seaside] WAResponse and XML

Philippe Marschall philippe.marschall at gmail.com
Thu Aug 4 06:08:04 UTC 2011


2011/8/4 Jay Hardesty <jayh at panix.com>:
> Thank you for the response, James.
> For me, the problem is that I need the XML to be processed automatically
> (with no dialog).
> Whereas my response from Seaside used to return XML - that is something
> starting with:
> <?xml version="1.0" encoding="UTF-8"?...  (because that's how my xmlString
> starts)
> I instead now see something starting:
> <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 ...
> For instance the response returned from the code fragment in your response
> ultimately arrives as the same (html) result
> I should mention that this particular request is being sent to my Seaside
> app from a non-Seaside client; perhaps a Seaside app simply can't be used in
> such a way anymore(?)

What do you mean with non-Seaside client? Is it a non-browser
application, non-HTML application? In those cases you can still use
Seaside. You can either directly write RequestHandlers or you can have
a look at Seaside-REST.

Cheers
Philippe


More information about the seaside mailing list