1 - Installing Hybrid Service
Requirements
To install 'Hybrid Service' make sure you have:
Apache Tomcat ,
NaradaBrokering and
Maven 1.0.2 installed
CATALINA_HOME and
JAVA_HOME environment variables properly set
Installing Hybrid Service
- Download the Hybrid Service code hybrid_service.zip
- Extract the archive. (e.g. /home/<user name>/unzip
hybrid_service.zip) This will create a directory called "hybrid_service"
- Update "tomcat.home" variable to point your tomcat installation (e.g.
tomcat.home=${user.home}/tomcat/jakarta-tomcat-5.0.28) in the "project.properties"
located under "hybrid_service" directory.
- Update Narada Brokering (NB) parameters to point to your NB broker in
the "properties.properties" file located under "hybrid_service/conf/"
directory.
- Run "maven deploy-hybrid-service" or copy "axis2" directory
located under "hybrid_service/src/webapp" into
"<jakarta-tomcat-home>/webapps/".
- Restart your Jakarta Tomcat installation.
- This will deploy the HYBRID_SERVICE into your Jakarta
Tomcat installation as a web application (<jakarta-tomcat-home>/axis2/services/HYBRID_SERVICE?wsdl)
- To see a list of deployed web services go to
http://<your-server-name>:<portnum>/axis2/services/listServices
2 - Example Clients for Hybrid_Service
- Please find the example Clients to HYBRID_SERVICE under "hybrid_service/src/java"
directory structure
- There is a client example called PublishService.java
- You can find the client examples at
hybrid_service.zip".
In this archive, you will also find required library that you might want
to include your project.
- If you are a JBuilder IDE user, you could simply open this project
as JBuilder project.
Note: Maven
Repository Problems
- If you experience problems downloading jars with maven, you can download
the required maven repositories below, in .zip format. Unpack either
one in your home directory to create a .maven subdirectory.
dot_maven.zip
|