cocoon-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Michael Wechner <michael.wech...@wyona.org>
Subject Re: ServletProxyGenerator
Date Thu, 18 Jul 2002 22:40:26 GMT


Ivelin Ivanov wrote:

>Sounds similar to the recently contributed WebServiceProxyGenerator.
>
>Check it. Maybe you can add improvements instead of writing a new component
>with overlapping functionality:
>

That's right. I will check it out.

Thanks a lot

Michael


>
>
>http://www.mail-archive.com/cocoon-dev@xml.apache.org/msg19390.html
>
>
>Ivelin
>
>
>----- Original Message -----
>From: "Michael Wechner" <michael.wechner@wyona.org>
>To: <cocoon-dev@xml.apache.org>
>Cc: <cocoon-users@xml.apache.org>
>Sent: Tuesday, July 16, 2002 10:46 AM
>Subject: ServletProxyGenerator
>
>
>>Hi
>>
>>I am currently working on a ServletProxyGenerator:
>>
>>    +--------+       +------------------------+       +---------+
>>    |        | ----> | Cocoon:                | ----> |         |
>>    | Client |       | ServletProxyGenerator: |       | Servlet |
>>    |        | <---- | HttpClient             | <---- |         |
>>    +--------+       +------------------------+       +---------+
>>
>>with the goal to connect some "legacy servlets" and being able to
>>pipe them through Cocoon.
>>
>>Actually the ServletProxyGenerator doesn't do a lot. It is just creating
>>an HttpClient (org.apache.commons.http) and "forwarding" all parameters
>>(POST) and
>>the QueryString (GET) from the original client to the HttpClient being
>>instanced within the ServletProxyGenerator.
>>
>>It is working very fine so far. I now wanted to connect some servlets
>>which need the session of the original client, which means I started to
>>transfer all Cookies into the HttpClient.
>>
>>The problem now is, that the servlet still doesn't find the session!
>>
>>Does anyone have experience with these kind of stuff: Passing cookies
>>from one client to another?
>>
>>Thanks for your help and comments
>>
>>Michael
>>
>>P.S.: If the ServletProxyGenerator is of any use for the Cocoon
>>community, then I would be happy to donate it.
>>
>>
>>
>>
>>---------------------------------------------------------------------
>>To unsubscribe, e-mail: cocoon-dev-unsubscribe@xml.apache.org
>>For additional commands, email: cocoon-dev-help@xml.apache.org
>>
>
>
>---------------------------------------------------------------------
>Please check that your question  has not already been answered in the
>FAQ before posting.     <http://xml.apache.org/cocoon/faq/index.html>
>
>To unsubscribe, e-mail:     <cocoon-users-unsubscribe@xml.apache.org>
>For additional commands, e-mail:   <cocoon-users-help@xml.apache.org>
>



---------------------------------------------------------------------
To unsubscribe, e-mail: cocoon-dev-unsubscribe@xml.apache.org
For additional commands, email: cocoon-dev-help@xml.apache.org


Mime
View raw message