FastInfoset Using CXF

FastInfoset Using CXF explains about How to use FastInfoset encoding with CXF framework

FastInfoset is a binary encoding for an XML Information, It incorporated with a more efficiant serialization mechanism than text based

Using FastInfoset encoding is a much better solution than gzip encoding because FastInfoset optimize both size and performance, while gzip only deals with size

You can also see the GZIP Using CXF if you need to configure gzip compression

You can see the below example, which is demonstrating the usage of FastInfoset Using CXF

RESTful Java Client Using HttpClient

RESTful Java Client Using HttpClient Example explains step by step details of How to create a RESTful java client using Apache HttpClient With Apache CXF

For Creating RESTful Java Client, We are using Apache HttpClient, which will call java.net.HttpURLConnection internally

Here we showing an example, of how to invoking GET and POST method of an exposed restful service (ie; GET & POST operations) .

You can see the below example, which is demonstrating a CXF REST Java Client Using HttpClient

CXF Restful Client

CXF Restful Client Example explains step by step details of How To Create a CXF REST Client from a deployed Apache CXF Restful service

For Creating Apache CXF Restful Client, We are using java.net.HttpURLConnection.

By using HttpURLConnection, we are invoking the correct exposed methods / operations of restful service.

You can see the below example, which is demonstrating a CXF REST Client Example

CXF Restful Tutorial

CXF Restful Tutorial explains step by step details of Creating / Developing Java rest Web services using Apache CXF, Spring and Eclipse

JAX-RS is Java API for RESTful Webservices which is very rely upon Representational State Transfer model, you can view JAX-RS specification 

JAX-RS uses annotations for simplifying the development efforts.

Now a days more & more deployment is going based on restful services compare to WSDL Webservices, due to the weights towards the simplicity of configuration

You can see the below example, which is demonstrating How to create a Restful service using CXF

TCPMon Download

TCPMon Download Article describes about How to download & configure TCPMon.

TCPmon is an open-source utility for checking the data flowing on a TCP connection. TCPMon is used to place in-between a consumer and a server. The consumer is made to connect to TCPMon, and TCPMon forwards the data to server and will display on in its GUI

TCPMon utility is mainly used for monitoring / debugging web services including soap & rest

You can also see an example of monitoring / debugging a webservice using TCPMon, please check this tutorial 

TCPMon Tutorial

Create CXF Client

Create CXF Client Example explains step by step details of how to create a CXF web service client / wsdl soap client using Apache CXF WebService Framework

For Creating Apache CXF Client, We are using org.apache.cxf.jaxws.JaxWsProxyFactoryBean. The factory option is particular to CXF and it is non-standard. This will give you a great control over the endpoint.

The Other options like Wsimport tool available with JDK are standard but that will give you less control. For example you can add a logging interceptor in order to show the logs when accessing your service using org.apache.cxf.jaxws.JaxWsProxyFactoryBean.

For publishing a web service, you can follow this tutorial CXF Web Service Tutorial. This client is based on mentioned Tutorial

TCPMon Tutorial

TCPMon Tutorial explains step by step details of How to debugging web service using TCPMon.

What is TCPMon & How to Use TCPMon?

Apache TCPMon is an open-source tool / debugger for checking the data flowing through TCP network. TCPMon placed intermediate to a consumer and a server. The consumer is made to contact with TCPMon, and TCPMon further send the data to the server and will shows on in its Graphical User Interface(GUI).

Apache TCPMon utility is using for monitoring soap message

You can also configure, TCPMon with Apache AXIS in order to monitor the traffic

For example if you, created webservice is deployed using Apache CXF or Apache AXIS, you can able to monitor traffic on TCP connections by using this tool  

CXF Web Service Tutorial

CXF Web Service Tutorial explains about step by step details of Creating / Developing Web service using Apache CXF, Spring & Eclipse and deployed in Tomcat

Apache CXF is a free and open source project, and a fully featured Webservice framework.

It helps you building webservices using different front-end API's, like as JAX-RS and JAX-WS.

Services will talk different protocols such as SOAP, RESTful HTTP, CORBA & XML/HTTP and work with different transports like JMS, HTTP or JBI.

Apache CXF Project was created by the merger of the Celtix and XFire projects. These two projects were merged by folks working together at the Apache Software Foundation.