You are viewing a plain text version of this content. The canonical link for it is here.
Posted to c-user@axis.apache.org by bhanu prakash <bp...@yahoo.com> on 2005/02/26 00:39:27 UTC
AXIS C++ installation problem
I am trying to install AXIS C++(axis-c-src-1-4-linux)
using Apache HTTP server 2.0.53, xerces c++ parser
(xerces-c_2_6_0_redhat_80-gcc). I have installed
Apache server and changed the port to 3000. Now
http://localhost:3000/ is working correctly. After
builidng and installing AXIS C++ from source using
the instructions that are there in Apache
site(http://ws.apache.org/axis/cpp/lininstall-guide.html).When
I am trying to access http://localhost:3000/axis,it
says "url not found". If we give someother name 'xyz'
instead of 'axis' as in "http://localhost:3000/xyz", I
am getting '404 Not
Found' error.
I am not sure what to do, Can you please advise!
Thanks
__________________________________________________
Do You Yahoo!?
Tired of spam? Yahoo! Mail has the best spam protection around
http://mail.yahoo.com
RE: Compillation error
Posted by Tony Dodd <to...@btinternet.com>.
Sorry, I should have added that the version I am trying to build is 1.4
final.
>-----Original Message-----
>From: Tony Dodd [mailto:tony.dodd@btinternet.com]
>Sent: 11 March 2005 09:37
>To: 'Apache AXIS C User List'
>Subject: Compillation error
>
>Building on debian Linux I get the compiler error:
>
>In file included from ../wsdd/WSDDService.h:20,
> from ../wsdd/WSDDDeployment.h:24,
> from MessageData.cpp:25:
>../wsdd/WSDDHandler.h:62: `FILE' was not declared in this scope
>
>I expect I have dome something wrong in running automake &c,
>because I am new to these build tools.
>
>I'd be grateful for any suggestions.
>
>Thanks
>
>Tony Dodd
>
Compillation error
Posted by Tony Dodd <to...@btinternet.com>.
Building on debian Linux I get the compiler error:
In file included from ../wsdd/WSDDService.h:20,
from ../wsdd/WSDDDeployment.h:24,
from MessageData.cpp:25:
../wsdd/WSDDHandler.h:62: `FILE' was not declared in this scope
I expect I have dome something wrong in running automake &c, because I am
new to these build tools.
I'd be grateful for any suggestions.
Thanks
Tony Dodd
Re: AXIS C++ Webservices problem
Posted by Samisa Abeysinghe <sa...@gmail.com>.
Hi again, I made a little mistake here :(
please use -laxis_server (simple el) not -Iaxis_server (not capital i)
Thanks,
Samisa...
On Mon, 28 Feb 2005 13:44:38 +0600, Samisa Abeysinghe
<sa...@gmail.com> wrote:
> Use the command:
>
> g++ -shared -I$AXISCPP_DEPLOY/include -L$AXISCPP_DEPLOY/lib
> -oownservice.so -ldl -Iaxis_server *.cpp
>
> I assumed you used ant to build the source, if not replace
> -Iaxis_server with -lserver_engine.
>
> HTH.
>
> Samisa...
>
> On Sun, 27 Feb 2005 23:32:24 -0800 (PST), bhanu prakash
> <bp...@yahoo.com> wrote:
> > Hi,
> >
> > I am trying to write a webservice. When I execute
> > "java org.apache.axis.wsdl.wsdl2ws.WSDL2Ws
> > ownservice.wsdl -lc++ -sserver", It is giving the
> > following warnings:
> > log4j: WARN No appenders could be found for
> > logger(org.apache.axis.i18n.ProjectResourceBundle).
> > log4j: WARN Please initialise the log4j system
> > properly.
> >
> > Code generation completed.
> >
> > Now, All server side files are generated. But When I
> > am executing the following command
> > "gcc -shared -o ownservice.so *.cpp -lssl -I.
> > -I$AXISCPP_DEPLOY/include -L$AXISCPP_DEPLOY/lib", I am
> > getting a lot of errors. Those errors begin with
> > AxisServiceException.hpp file.
> >
> > I have exported all the jar files as:
> >
> > $ export TMP=$AXISCPP_DEPLOY/lib/axisjava
> > $ export
> > CLASSPATH=$AXISCPP_DEPLOY/lib/axis/wsdl2ws.jar:\
> > $TMP/axis-ant.jar:\
> > $TMP/axis.jar:\
> > $TMP/commons-discovery.jar:\
> > $TMP/commons-logging.jar:\
> > $TMP/jaxrpc.jar:\
> > $TMP/log4j-1.2.8.jar:\
> > $TMP/saaj.jar:\
> > $TMP/wsdl4j.jar:\
> > $TMP/xml-apis.jar
> >
> > Can you please figure out what might be the mistake I
> > am doing?
> >
> > Thanks,
> > Bhanu
> >
> >
> > __________________________________________________
> > Do You Yahoo!?
> > Tired of spam? Yahoo! Mail has the best spam protection around
> > http://mail.yahoo.com
> >
>
Re: AXIS C++ Webservices problem
Posted by Samisa Abeysinghe <sa...@gmail.com>.
Use the command:
g++ -shared -I$AXISCPP_DEPLOY/include -L$AXISCPP_DEPLOY/lib
-oownservice.so -ldl -Iaxis_server *.cpp
I assumed you used ant to build the source, if not replace
-Iaxis_server with -lserver_engine.
HTH.
Samisa...
On Sun, 27 Feb 2005 23:32:24 -0800 (PST), bhanu prakash
<bp...@yahoo.com> wrote:
> Hi,
>
> I am trying to write a webservice. When I execute
> "java org.apache.axis.wsdl.wsdl2ws.WSDL2Ws
> ownservice.wsdl -lc++ -sserver", It is giving the
> following warnings:
> log4j: WARN No appenders could be found for
> logger(org.apache.axis.i18n.ProjectResourceBundle).
> log4j: WARN Please initialise the log4j system
> properly.
>
> Code generation completed.
>
> Now, All server side files are generated. But When I
> am executing the following command
> "gcc -shared -o ownservice.so *.cpp -lssl -I.
> -I$AXISCPP_DEPLOY/include -L$AXISCPP_DEPLOY/lib", I am
> getting a lot of errors. Those errors begin with
> AxisServiceException.hpp file.
>
> I have exported all the jar files as:
>
> $ export TMP=$AXISCPP_DEPLOY/lib/axisjava
> $ export
> CLASSPATH=$AXISCPP_DEPLOY/lib/axis/wsdl2ws.jar:\
> $TMP/axis-ant.jar:\
> $TMP/axis.jar:\
> $TMP/commons-discovery.jar:\
> $TMP/commons-logging.jar:\
> $TMP/jaxrpc.jar:\
> $TMP/log4j-1.2.8.jar:\
> $TMP/saaj.jar:\
> $TMP/wsdl4j.jar:\
> $TMP/xml-apis.jar
>
> Can you please figure out what might be the mistake I
> am doing?
>
> Thanks,
> Bhanu
>
>
> __________________________________________________
> Do You Yahoo!?
> Tired of spam? Yahoo! Mail has the best spam protection around
> http://mail.yahoo.com
>
Re: AXIS C++ installation problem,axis-c-dev@ws.apache.org
Posted by bhanu prakash <bp...@yahoo.com>.
Hi Nithya and vijay,
Thanks for your replies. I tried installing xerces
2.2.0 instead of 2.6.0. When I am testing with the
sample client and server programs, it is working
correctly. But when I am trying to access WSDL links
from http://localhost:3000/axis/ (OR)
http://localhost:3000/axis, It is not giving anything.
Thanks again for your replies,
Bhanu
--
Bhanuprakash Vanjaku
Graduate Teaching Assistant
Computing & Information sciences
Kansas State University
Manhattan, KS
www.cis.ksu.edu/~bhanu
--- Nithyakala Thangarajah <ni...@opensource.lk>
wrote:
> Hi Bhanu,
>
> Since you are using axis-c-src-1-4-linux , I think
> u must recheck the
> installtion procedure with the INSTALL document
> inside the source boundle
> axis-c-src-1-4-linux.
>
> By the way did you edit httpd.conf file in
> <path to Apache web serverinstallation>/conf and add
> the following lines at
> the bottom of that file
>
> LoadModule axis_module modules/libaxiscpp_mod2.so
> <Location /axis>
> SetHandler axis
> </Location>
>
> and do check whether the following environmental
> variables are set properly ,
>
> AXISCPP_HOME="/my/home/axiscpp"
>
> AXISCPP_DEPLOY="Path to folder where you want to
> install Axis C++"
> e.g. AXISCPP_DEPLOY="/usr/local/axiscpp_deploy"
>
> LD_LIBRARY_PATH="<path to parser library you
> use>/lib:$AXISCPP_DEPLOY/lib:
> $LD_LIBRARY_PATH"
>
> Regards,
> Nithya.
>
>
>
>
> On Sunday 27 February 2005 03:02, vijay ponnavolu
> wrote:
> > try
> >
> > http://localhost:3000/axis/
> >
> > --vijay
> >
> > --- bhanu prakash <bp...@yahoo.com> wrote:
> > > I am trying to install AXIS
> > > C++(axis-c-src-1-4-linux)
> > > using Apache HTTP server 2.0.53, xerces c++
> parser
> > > (xerces-c_2_6_0_redhat_80-gcc). I have installed
> > > Apache server and changed the port to 3000. Now
> > > http://localhost:3000/ is working correctly.
> After
> > > builidng and installing AXIS C++ from source
> using
> > > the instructions that are there in Apache
> >
> >
>
site(http://ws.apache.org/axis/cpp/lininstall-guide.html).When
> >
> > > I am trying to access
> http://localhost:3000/axis,it
> > > says "url not found". If we give someother name
> > > 'xyz'
> > > instead of 'axis' as in
> "http://localhost:3000/xyz",
> > > I
> > > am getting '404 Not
> > > Found' error.
> > >
> > > I am not sure what to do, Can you please advise!
> > >
> > > Thanks
> > >
> > >
> > >
> __________________________________________________
> > > Do You Yahoo!?
> > > Tired of spam? Yahoo! Mail has the best spam
> > > protection around
> > > http://mail.yahoo.com
> >
> > __________________________________________________
> > Do You Yahoo!?
> > Tired of spam? Yahoo! Mail has the best spam
> protection around
> > http://mail.yahoo.com
>
__________________________________
Do you Yahoo!?
Take Yahoo! Mail with you! Get it on your mobile phone.
http://mobile.yahoo.com/maildemo
AXIS C++ Webservices problem
Posted by bhanu prakash <bp...@yahoo.com>.
Hi,
I am trying to write a webservice. When I execute
"java org.apache.axis.wsdl.wsdl2ws.WSDL2Ws
ownservice.wsdl -lc++ -sserver", It is giving the
following warnings:
log4j: WARN No appenders could be found for
logger(org.apache.axis.i18n.ProjectResourceBundle).
log4j: WARN Please initialise the log4j system
properly.
Code generation completed.
Now, All server side files are generated. But When I
am executing the following command
"gcc -shared -o ownservice.so *.cpp -lssl -I.
-I$AXISCPP_DEPLOY/include -L$AXISCPP_DEPLOY/lib", I am
getting a lot of errors. Those errors begin with
AxisServiceException.hpp file.
I have exported all the jar files as:
$ export TMP=$AXISCPP_DEPLOY/lib/axisjava
$ export
CLASSPATH=$AXISCPP_DEPLOY/lib/axis/wsdl2ws.jar:\
$TMP/axis-ant.jar:\
$TMP/axis.jar:\
$TMP/commons-discovery.jar:\
$TMP/commons-logging.jar:\
$TMP/jaxrpc.jar:\
$TMP/log4j-1.2.8.jar:\
$TMP/saaj.jar:\
$TMP/wsdl4j.jar:\
$TMP/xml-apis.jar
Can you please figure out what might be the mistake I
am doing?
Thanks,
Bhanu
__________________________________________________
Do You Yahoo!?
Tired of spam? Yahoo! Mail has the best spam protection around
http://mail.yahoo.com
Re: AXIS C++ installation problem
Posted by Nithyakala Thangarajah <ni...@opensource.lk>.
Hi Bhanu,
Since you are using axis-c-src-1-4-linux , I think u must recheck the
installtion procedure with the INSTALL document inside the source boundle
axis-c-src-1-4-linux.
By the way did you edit httpd.conf file in
<path to Apache web serverinstallation>/conf and add the following lines at
the bottom of that file
LoadModule axis_module modules/libaxiscpp_mod2.so
<Location /axis>
SetHandler axis
</Location>
and do check whether the following environmental variables are set properly ,
AXISCPP_HOME="/my/home/axiscpp"
AXISCPP_DEPLOY="Path to folder where you want to install Axis C++"
e.g. AXISCPP_DEPLOY="/usr/local/axiscpp_deploy"
LD_LIBRARY_PATH="<path to parser library you use>/lib:$AXISCPP_DEPLOY/lib:
$LD_LIBRARY_PATH"
Regards,
Nithya.
On Sunday 27 February 2005 03:02, vijay ponnavolu wrote:
> try
>
> http://localhost:3000/axis/
>
> --vijay
>
> --- bhanu prakash <bp...@yahoo.com> wrote:
> > I am trying to install AXIS
> > C++(axis-c-src-1-4-linux)
> > using Apache HTTP server 2.0.53, xerces c++ parser
> > (xerces-c_2_6_0_redhat_80-gcc). I have installed
> > Apache server and changed the port to 3000. Now
> > http://localhost:3000/ is working correctly. After
> > builidng and installing AXIS C++ from source using
> > the instructions that are there in Apache
>
> site(http://ws.apache.org/axis/cpp/lininstall-guide.html).When
>
> > I am trying to access http://localhost:3000/axis,it
> > says "url not found". If we give someother name
> > 'xyz'
> > instead of 'axis' as in "http://localhost:3000/xyz",
> > I
> > am getting '404 Not
> > Found' error.
> >
> > I am not sure what to do, Can you please advise!
> >
> > Thanks
> >
> >
> > __________________________________________________
> > Do You Yahoo!?
> > Tired of spam? Yahoo! Mail has the best spam
> > protection around
> > http://mail.yahoo.com
>
> __________________________________________________
> Do You Yahoo!?
> Tired of spam? Yahoo! Mail has the best spam protection around
> http://mail.yahoo.com
Re: AXIS C++ installation problem
Posted by vijay ponnavolu <vp...@yahoo.com>.
try
http://localhost:3000/axis/
--vijay
--- bhanu prakash <bp...@yahoo.com> wrote:
> I am trying to install AXIS
> C++(axis-c-src-1-4-linux)
> using Apache HTTP server 2.0.53, xerces c++ parser
> (xerces-c_2_6_0_redhat_80-gcc). I have installed
> Apache server and changed the port to 3000. Now
> http://localhost:3000/ is working correctly. After
> builidng and installing AXIS C++ from source using
> the instructions that are there in Apache
>
site(http://ws.apache.org/axis/cpp/lininstall-guide.html).When
> I am trying to access http://localhost:3000/axis,it
> says "url not found". If we give someother name
> 'xyz'
> instead of 'axis' as in "http://localhost:3000/xyz",
> I
> am getting '404 Not
> Found' error.
>
> I am not sure what to do, Can you please advise!
>
> Thanks
>
>
> __________________________________________________
> Do You Yahoo!?
> Tired of spam? Yahoo! Mail has the best spam
> protection around
> http://mail.yahoo.com
>
__________________________________________________
Do You Yahoo!?
Tired of spam? Yahoo! Mail has the best spam protection around
http://mail.yahoo.com