Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

All you need is 5 to 10 minutes and to follow these basic steps.

Background

Apache ServiceMix is a JBI (Jave Business Integration, JSR 208) implementation that is completely opensource and under the Apache License. ServiceMix v3.0 is the first official release of the JBI container by the Apache Software Foundation.

#top1. Quick start

Getting the software

At this time you have one option to get the software. The fastest and easiest way is to get the binary directly from the Apache site. Since this article is intended to help you to have Apache ServiceMix up and running in the fastest way only the binary download will be covered at this time.

...

The installation of Apache ServiceMix is as simple as uncompressing the .zip or .tar files. The next step is to start the server.

#top1. Quick start

Start the server

With Apache ServiceMix already installed, open a command line console and change directory to <servicemix_home>. To start the server, run the following command in Windows

...

you may have some illegal characters in the path, e.g. !, % etc., that cause Java not to find the files.

#top1. Quick start

Deploy a sample application

...

  • install the servicemix-shared Shared Library
  • install the servicemix-http and servicemix-jsr181 JBI components
  • deploy a JBI Service Assembly which exposes a service over HTTP/SOAP
Warning
titleLaunch directory

ServiceMix deploy and install directories are relative to the directory where ServiceMix was started. Be sure to start it from the root dir using the bin/servicemix command. If you run it from the bin dir, the previous commands will fail and you would have to copy the components to the bin/install and bin/deploy folders.

You should see the following on the command line console:

...

Wiki Markup
Now, open a web browser and point it to the following location: {{\[SM30UG:servicemix_home\]/examples/wsdl-first/client.html}}.  Then, click on the {{SEND}} button to see the web service response.

Warning
titleIE users

Internet explorer users will have to comment out the following line in the client.html web page.

No Format
 /* netscape.security.PrivilegeManager.enablePrivilege("UniversalBrowserRead UniversalBrowserWrite"); */

This will be fixed in 3.0.1 release.

#top1. Quick start

Summary

This article showed you how simple it is to have Apache Servicemix up and running. The overall time for getting the server running should be less than five minutes if you have the prerequisite (Java 1.5) already installed. Additionally, this article also showed you how to deploy and test a simple Web Service in less than five minutes.

#top1. Quick start

Wiki Markup
{scrollbar}