cxf-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Sergey Beryozkin <>
Subject Re: Trailing Slash added in POST
Date Sat, 16 Jul 2011 23:37:54 GMT
> Hi folks,
> I'm using the JAXRSClientFactoryBean in a client to submit a POST to a
> remote server. I've noticed that enough though the URI I supply does not
> have a trailing slash and I don't supply any path parameters, the URI that
> is invoked has a trailing slash inserted and the remote server is rejecting
> the request as a result of this.
has been fixed now,

> Is there anyway to stop the trailign slash from being inserted when no path
> parameters are supplied?

Yes, as a workaround register an out CXF interceptor, which would remove 
the trailing slash
from the request URI, which is available on the current message as 
Message.ENDPOINT_ADDRESS property

Cheers, Sergey

> /KramKroc
> --
> View this message in context:
> Sent from the cxf-dev mailing list archive at

View raw message