Hello, Unfortunately, I'm only now to respond. Restful was recommended to me by my instructor. I would like to send the XML file via POST to cocoon, recycle there and spend as PDF, HTML, or RTF. Currently, I have not yet an overview if there is a ready-made opportunity to Cocoon XML to accept documents through POST?
Von: Jos Snellings [mailto:[email protected]] Gesendet: Samstag, 5. April 2014 15:23 An: [email protected] Betreff: Re: Cocoon 2 - Webservice Hi Klaus, As REST is a principle, it is possible to implement a service "in a REST-ful manner". However, is it correct to state, as your message suggests, that the service would perform a sort of document conversion of an XML document in a specified format, to a PDF file? If this is the case, my idea would be: - cocoon 2 is a good choice, no need to upgrade - do not care about the REST religion, and just generate a pdf document Jos On Sat, Apr 5, 2014 at 3:06 PM, Klaus Nuhr <[email protected]> wrote: Hello to everyone in the mailing list :), I would like to implement a WebService via Cocoon. In this case, the client should send a XML file to my service, it will be processed accordingly and delivered as a pdf back to the client. The processing of a local XML works great. Now must be implemented as a webservice. I would have preferred RESTful, but seems all so only with cocoon 3 to come. Is there in this respect a tutorial or sample code? Greetings --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected] -- La majestueuse égalité des lois, qui interdit au riche comme au pauvre de coucher sous les ponts, de mendier dans les rues et de voler du pain. -- Anatole France --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected]
