You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@cxf.apache.org by Jose María Zaragoza <de...@gmail.com> on 2015/06/24 16:06:48 UTC
Invalid HTTP method: PATCH
Hello:
I'm using CXF 2.7.8
When I try to invoke an URL with PATCH verb , I'm getting
"Invalid HTTP method: PATCH"
I've upgraded httpclient to 4.2.1. (httpclient-4.2.1.jar) but it still fails
Any ideas ?
Thanks and regards
Re: Invalid HTTP method: PATCH
Posted by Sergey Beryozkin <sb...@gmail.com>.
Hi
This looks fine, saves on configuring individual clients
Cheers, Sergey
On 24/06/15 17:00, Jose María Zaragoza wrote:
> 2015-06-24 16:06 GMT+02:00 Jose María Zaragoza <de...@gmail.com>:
>> Hello:
>>
>> I'm using CXF 2.7.8
>> When I try to invoke an URL with PATCH verb , I'm getting
>>
>> "Invalid HTTP method: PATCH"
>>
>> I've upgraded httpclient to 4.2.1. (httpclient-4.2.1.jar) but it still fails
>>
>>
>> Any ideas ?
>> Thanks and regards
>
>
> OK. Solved
>
> I've got :
>
> 1) use cxf-rt-transports-http-hc
>
> 2)
>
> <cxf:bus>
> <cxf:properties>
> <entry key="use.async.http.conduit" value="true"/>
> </cxf:properties>
> </cxf:bus>
>
> Question: is this the best place to configure ?
>
>
> Regards
>
Re: Invalid HTTP method: PATCH
Posted by Jose María Zaragoza <de...@gmail.com>.
2015-06-24 16:06 GMT+02:00 Jose María Zaragoza <de...@gmail.com>:
> Hello:
>
> I'm using CXF 2.7.8
> When I try to invoke an URL with PATCH verb , I'm getting
>
> "Invalid HTTP method: PATCH"
>
> I've upgraded httpclient to 4.2.1. (httpclient-4.2.1.jar) but it still fails
>
>
> Any ideas ?
> Thanks and regards
OK. Solved
I've got :
1) use cxf-rt-transports-http-hc
2)
<cxf:bus>
<cxf:properties>
<entry key="use.async.http.conduit" value="true"/>
</cxf:properties>
</cxf:bus>
Question: is this the best place to configure ?
Regards