Implementing a light weight web service trigger in Flux

Aloha from Hawaii! Shame on me to not blog for months. Well, honestly I have been quite busy during the past few months. With the big move to Hawaii in December and the recent launch of Floify kept me occupied. Although moving to a new place is fun, getting settled on an island can sometimes … Read moreImplementing a light weight web service trigger in Flux

Invoking Web Services from your Flux Workflow

Flux’s RestAction is the go-to construct for users orchestrating Flux workflows that involve web service integration. Be it HTTP-based services or SOAP-based services that implement HTTP binding, RestAction comes very handy for developers. Flux has a WebServiceAction which talks SOAP exclusively for services that implement WS-* such as Addressing, Security etc. RestAction has neat XPath … Read moreInvoking Web Services from your Flux Workflow

Sakila Restful Search using CXF FIQL

There are two features that are very cool in the recent CXF 2.3 release that deserves its mention in the release notes/features document as they prove to be quite useful and powerful in certain use cases. Advanced search capabilities and Atom Logging features make CXF a compelling choice for developers looking for this support in … Read moreSakila Restful Search using CXF FIQL

Hate JAXB annotations: MOXy and JAXBIntroductions comes to the rescue

JAXB is the defacto OXM binding framework for the Java platform which performs marshalling (serializing Java to XML) and unmarshalling (deserializing XML to Java) using the standard Java APIs. I must admit that JAXB is a smart addition to the Java Web services technologies stack. It reminds me of days where I used to write … Read moreHate JAXB annotations: MOXy and JAXBIntroductions comes to the rescue

SOAP over RESTy Client

JAX-RS runtime allows applications to supply entity providers which maps services between representations (via @Produces and @Consumes) and their Java types. The entity provider interfaces MessageBodyReader and MessageBodyWriter defines the contract that supports the conversion of a stream to a Java type and vice versa. Lets write a simple JAXRS provider for handling a SOAPMessage … Read moreSOAP over RESTy Client

Accessing RESTful services configured with SSL using RestTemplate

SSL enabled RESTful services are quite easier to develop and test using Jersey, Grizzly and RestTemplate. Jersey (resource development) Grizzly Web Server (resource configuration and deployment) Spring 3 RestTemplate backed by Commons HTTP Client (resource access) In a moment, you will notice how all these nicely fit the bill. Let us start with the POM … Read moreAccessing RESTful services configured with SSL using RestTemplate

RestTemplate, the Spring way of accessing RESTful services

The central API for accessing RESTful services in Spring 3 is RestTemplate. It is like any other template mechanism provided by Spring for the client side access. The default implementation uses the java.net package for creating HTTP requests. RestTemplate can be backed by Commons HttpClient using ClientHttpRequestFactory. Using Commons HttpClient as the backend implementation supports … Read moreRestTemplate, the Spring way of accessing RESTful services

Jersey 1.0.3 improves WADL support

Jersey 1.0.3 was released this week. This release has quite a few interesting new features and improvements to some of its existing functionality. Paul’s blog entry gives the specifics of this release. One of the cool features in this release is the ability to inject WadlApplicationContext in resources. This provides access to the WADL JAXB … Read moreJersey 1.0.3 improves WADL support

CXF 2.2 in Action – services design simplified

I was playing with CXF 2.2 over the weekend. I would like to share my experience in building a simple blogger service using CXF which provides seamless access to SOAP and REST web services. You would soon realize how services design and development has become easier with this new CXF release. Lets dive into the … Read moreCXF 2.2 in Action – services design simplified