Re: Setting a HTTPRequest Parameter

2009-10-22 Thread oakridge
Dan, Thanks, but it looks like the internal variable does the same thing (put the values in the HTTP headers). This is not ideal, but I can change my code on the server side to start reading headers. Thanks -- View this message in context: http://www.nabble.com/Setting-a-HTTPRequest

Re: Setting a HTTPRequest Parameter

2009-10-21 Thread Daniel Kulp
On Mon October 19 2009 6:11:26 pm oakridge wrote: Hi all, I am trying to set a http request parameter that contains an encrypted userid and password on the outbound message (client side). The token is consumed by a filter running at the service endpoint. I have written a JAXWS handler

Re: Setting a HTTPRequest Parameter

2009-10-21 Thread Daniel Kulp
On Wed October 21 2009 1:34:45 pm Julian wrote: You mentioned that I need to put the parameters into the RequestContext, but how can I get a handle on that object from within a LogicalHandler? The LogicalMessageContext that is passed into the handler should be fine. -- Daniel Kulp

Re: Setting a HTTPRequest Parameter

2009-10-21 Thread Julian
Dan, You mentioned that I need to put the parameters into the RequestContext, but how can I get a handle on that object from within a LogicalHandler? Thanks

Re: Setting a HTTPRequest Parameter

2009-10-21 Thread oakridge
(testparameter) is null). Is the only way to get at this data by adding another LogicalHandler on the server side? I was hoping that I could use an existing security filter to read tokens in the request. Thanks -- View this message in context: http://www.nabble.com/Setting-a-HTTPRequest-Parameter

Re: Setting a HTTPRequest Parameter

2009-10-21 Thread Daniel Kulp
My bad. For some bizzare spec reason, Logical handlers cannot get the HTTP_REQUEST_HEADERS. We have to return null there. You should be able do do: context.get(org.apache.cxf.message.Message.PROTOCOL_HEADERS) and use that. Internally, that's the key we really use. Dan On Wed

Setting a HTTPRequest Parameter

2009-10-19 Thread oakridge
in context: http://www.nabble.com/Setting-a-HTTPRequest-Parameter-tp25966596p25966596.html Sent from the cxf-user mailing list archive at Nabble.com.

RE: Setting a HTTPRequest Parameter

2009-10-19 Thread Pydipati, Karuna
-Original Message- From: oakridge [mailto:cerebr...@yahoo.com] Sent: Monday, October 19, 2009 3:11 PM To: users@cxf.apache.org Subject: Setting a HTTPRequest Parameter Hi all, I am trying to set a http request parameter that contains an encrypted userid and password on the outbound

RE: Setting a HTTPRequest Parameter

2009-10-19 Thread oakridge
in context: http://www.nabble.com/Setting-a-HTTPRequest-Parameter-tp25966596p25967877.html Sent from the cxf-user mailing list archive at Nabble.com.