...
...
Web services with ServiceMix and CXF
This tutorial teaches you INLINE
how you can do a webservice for ServiceMix using the CXF frameworkuse the CXF components for building a new web service in ServiceMix. Excerpt
Goals of the document
This example tutorial shows you how to expose a webservice with create a new web service using the servicemix-cxf-se/bc, starting from the
pure WSDL and exposing it via JBI component. You will also learn how to expose this web service to the outside world over HTTP/SOAP with the servicemix-cxf-bc.
Description of webservice
This webservice The web service we will create is a simple hello-user example. The client will send very simple greeter application: if a client sends a user name and the webservice will reply in the request, the service will respond with a friendly greeting message.
Apache CXF
...
The Apache CXF framework is an open source framework which helps you develop webservices using frontend programming APIs like JAX-WS.
These services can communicate over many protocols . For example: (e.g. SOAP, XML/HTTP, RESTful HTTP. They can communicate over many transports.
For example ) and transports (e.g. HTTP, JMS or JBI). You can also use interceptors to easily add behavior to the services stack.
Goals
After this tutorial...
- you can use using Maven to develop JBI service units and service assemblyassemblies
- using you can use xbean.xml files to configure routes and services in ServiceMixthe ServiceMix CXF components
- you know how to use a writing WSDL file to define our webservice
- writing a java class to implement our webservice
After finishing this tutorial you have a working webservice. Feel free to play around with it and adding improvements.
Prerequisites
- basic knowledges about development in Java
- basic knowledges about web services (especialy about WSDL)
- basic knowledges about deployment services in ServiceMix
Contents
Children Display | ||||
---|---|---|---|---|
|
Start this tutorial (← 1.01 Creating the Maven project)
Wiki Markup |
---|
{scrollbar} |
- your web service
- you know how to implement web services using Java classes
Prerequisites
Before starting this tutorial, you should...
- be able to use ServiceMix (start/stop the container, deploy service assemblies, ...) (→ tutorial 1)
- know how to use the Maven archetypes and JBI plugin to build and deploy your projects (→ tutorial 2)
- know how to develop Java classes and build them using Maven
- have a basic knowledge about web services (e.g. WSDL, SOAP, ...)
Contents
...
Start this tutorial
...