Hi
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:
http://cxf.547215.n5.nabble.com/Trailing-Slash-added-in-POST-tp4586794p4586794.html
Sent from the cxf-dev mailing list archive at Nabble.com.