Thanks for the reply Tihomir.
I added cxf-bundle-jaxrs.2.3.0.jar and droolsjbpm-ide-common.5.3.0.jar to the project classpath. I am always getting the following error when creating instance of WebClient.create("http://127.0.0.1:8080/")
java.lang.AbstractMethodError: javax.ws.rs.core.UriBuilder.encode(Z)Ljavax/ws/rs/core/UriBuilder;