You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@cocoon.apache.org by Sands Fish <sa...@MIT.EDU> on 2007/02/27 16:16:49 UTC
Simple Session Question
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!
-sf
PS - The Cocoon docs boast many many components but is there a place
that enumerates them all?
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@cocoon.apache.org
For additional commands, e-mail: users-help@cocoon.apache.org
Re: Simple Session Question
Posted by Grzegorz Kossakowski <gr...@tuffmail.com>.
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: users-unsubscribe@cocoon.apache.org
For additional commands, e-mail: users-help@cocoon.apache.org