Hello Niksa,

> In my application I need to receive XML requests, and then to send the
> response back to the client in XML format too. I tried to find some nice
> solution here, but with no success. I hope you can give me some short code
> examples.

As far as I understand this is not supported out of the box by Tapestry. 
Tapestry is designed to recieve Requests for web pages and render 
HTML-Responses. 

For generating Responses: The quickest approach would be a Templating engine 
like Freemarker or Velocity or even Tapestry's own extension. Integration of 
those is performed e.g. by Chenillekit, infos here: 
http://www.chenillekit.org/chenillekit-template/index.html
If you need fully blown xml-Support (Schema-Validation, Namespaces) then you 
should use an XML-Framework. My Favorite is JDOM.

For recieving the requests: I would configure a URL-Pattern that is NOT 
processed by the TapestryFilter. This is done in the filter-mapping element in 
web.xml and let another framework (Apache Axis?) process those requests.

Greetz, nillehammer

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscr...@tapestry.apache.org
For additional commands, e-mail: users-h...@tapestry.apache.org

Reply via email to