Sands Fish napisaƂ(a):
Hello all,

I apologize for the remedial nature of this question, but I can't seem to dig up the answer. I am using Cocoon to interface with an XML service (do a POST to the server and it returns an XML response). All I want to do is take a value from that XML response and set it as an HTTP session variable, but I have not been able to find a method to do this. Do I have to make my own transformer to do this? If so, that's fine, but I don't want to reinvent the wheel.
Thanks all!

Few questions:
1. How and where do you call the service?
2. Where XML data for POST comes from?
3. What do you want to do with response of service?

Modifying the session in the transformer is usually not a good idea. In general, I think transformer should only perform processing of xml stream without any side-effects.

PS - The Cocoon docs boast many many components but is there a place that enumerates them all?
Unfortunately, I don't think so. Most components are described in official docs, rest can be discovered by looking at api docs. Yes, we know that it is not perfect situation and some work on improving the situation is in progress.

--
Grzegorz Kossakowski

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to