wink-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Hasini Gunasinghe <has...@wso2.com>
Subject How to invoke custom HTTP methods from Wink client
Date Sun, 18 Mar 2012 18:50:46 GMT
Hi all,

I need to invoke a custom HTTP method (PATCH) defined in JAX-RS based REST
resource.
Can you please let me know how to send request to this custom HTTP method
from wink client side?

I used 'invoke' method in org.apache.wink.client.Resource which allows to
pass the http method as a parameter, but it gave the
error: java.net.ProtocolException: Invalid HTTP method: PATCH

Appreciate any insight on how to achieve the above requirement.

Thanks,
Hasini.

Mime
View raw message