Koozali.org: home of the SME Server
Obsolete Releases => SME Server 7.x => Topic started by: ronaldson40 on June 27, 2007, 08:53:38 AM
-
Hi
Is SME server Web Service compliant?
Can I run java based web services on SME server?
If yes, can you direct me to any documentation, which can help me more on the same.
Regards
Ronald
-
Like tomcat?
http://wiki.contribs.org/Tomcat
-
Tomcat I suppose is only the web server for running jsp files.
I was looking for running web services. On the apache website, there is a site of web services.. Tomcat I suppose does not support xml-rpcs.
Howvwer on the Apache Foundation website they have a site for web services.
http://ws.apache.org/
They use a package called AXIS web services. Is the installation of this package similar to the installation of Tomcat on SME?
Is there a how-to for this?
-
Can you tell me if I could follow the instructions on this website for installing AXIS?
http://www.lankalinux.com/?q=node/8
Will it lead to any problems when running it from commandline in SME Server. The tomcat server, I could install using the howto mentioned on the contribs site. However I am bit skeptical about the remaining parts... i.e the Maven and AXIS
-
Step 1:
Follow the tomcat howto and install tomcat and java.
In a few hours I install maven and tell you howto install.
-
Ok.
Now follow these commands:
Download maven
wget http://apache.adcserver.com.ar/maven/binaries/maven-1.1.tar.gz
tar -xzf maven-1.1.tar.gz
Change the name of maven-1.1 directory to maven. The move to /usr/local directory.
Edit you bash profile. Edit the file /root/.bash_profile
This is my .bash_profile file. Make the necesary changes to look like this:
# .bash_profile
# Get the aliases and functions
if [ -f ~/.bashrc ]; then
. ~/.bashrc
fi
# User specific environment and startup programs
MAVEN_HOME=/usr/local/maven
PATH=$PATH:$HOME/bin:$MAVEN_HOME:$MAVEN_HOME/bin
export PATH
unset USERNAME
Create a file named java.sh an put under /etc/profile.d directory.
#!/bin/bash
######################################################
# JAVA LIBS
#
######################################################
if [ -z "$JAVA_HOME" ]; then
JAVA_HOME=/usr/java/jdk
JAVAHOME=$JAVA_HOME
CLASSPATH=$JAVA_HOME/lib:$CLASSPATH
PATH=$JAVA_HOME/bin:$PATH
fi
export PATH CLASSPATH JAVAHOME JAVA_HOME
for i in /etc/profile.d/*-java.sh ; do
if [ -r "$i" ]; then
. $i
fi
done
unset i
Set perms to 777.
Reboot your server.
After reboot type: maven -v and you see it is run ok.
Then you can install axis as java aplication.
-
Then you can install axis as java aplication.
Hi What do you mean by the above?
Should download the WAR file of AXIS and run it using maven?
Sorry i am a newbie at this sort of stuff.
Why doesn't someone make a script or a contrib for axis on the wiki site. Web Services should be by default supported in SME.
-
Why doesn't someone make a script or a contrib for axis on the wiki site. Web Services should be by default supported in SME.
Why you not try to install? SME server allow java aplications as I demostrated, but if you want to learn java aplications, do it yourself.
Ask at axis mail lists. You have tomcat and maven working ok.
-
Thanks mate for all your help...
[update : 03 July 07]
Tomcat up and running!