axis-c-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Samisa Abeysinghe <samisa.abeysin...@gmail.com>
Subject Re: AXIS C++ Webservices problem
Date Mon, 28 Feb 2005 07:55:02 GMT
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
<samisa.abeysinghe@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
> <bpvanjaku@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
> >
>

Mime
View raw message