[greenstone-devel] Re: [greenstone-users] how to build Application which can search , get and manage the Object in GSDL remote

From feng wang
DateThu Mar 27 04:14:09 2008
Subject [greenstone-devel] Re: [greenstone-users] how to build Application which can search , get and manage the Object in GSDL remote
In-Reply-To (2493-150-135-248-55-1205985023-squirrel-webmail-scms-waikato-ac-nz)
Hi Quan,
If i want to use the SOAP Protocol for my Implementation which communicate with 3.0 remote, which product of the markt i should use? Which one of SOAP was used for GSDL? Is the AXIS of Apache?

As the Client side of the SOAP for AXIS, which JAR Files i should use and include to my Project to implement the Function?

axis.jar+log4j.jar+xerces.jar+commons-discovery.jar

I'm searching some examples and tutorial for the SOAP and AXIS with the client side.

Did the developer of your team create any WSDL for the SOAP Services before. The Files will be very useful and helpful for me.

Regards

Feng Wang

-------- Original-Nachricht --------
> Datum: Thu, 20 Mar 2008 16:50:23 +1300 (NZDT)
> Von: qq6@cs.waikato.ac.nz
> An: "feng wang" <wangfeng77@gmx.de>
> CC: greenstone3@list.scms.waikato.ac.nz
> Betreff: Re: [greenstone-users] how to build Application which can search , get and manage the Object in GSDL remote

> Hi Feng Wang
>
> > Hi Quan,
> >
> > Sorry, it's my fault by writing the mail. I used the "gs3-setup.sh" file
> > the command source in GSDL Home directory.
> >
> > Should i give the java path by installing the GSDL from the source
> files??
> > ant install +????
>
> No, you shouldn't. The java path will be automatically added to the
> environment variables after run the source command. "ant install" will
> look for the corresponding variables, such as Greenstone3 home directory,
> or java, etc, from the local environment setting during installing
> Greenstone3.
>
> >
> > Regards
> > Feng Wang
> >
> >
> > -------- Original-Nachricht --------
> >> Datum: Tue, 18 Mar 2008 07:41:12 +1300 (NZDT)
> >> Von: qq6@cs.waikato.ac.nz
> >> An: "feng wang" <wangfeng77@gmx.de>
> >> CC: greenstone3@list.scms.waikato.ac.nz
> >> Betreff: Re: [greenstone-users] how to build Application which can
> >> search , get and manage the Object
> in
> >> GSDL remote
> >
> >> Hi Feng Wang
> >>
> >> > Hi Quan,
> >> >
> >> > I have tried to install the GSDL 3 of the source code version again
> in
> >> > Linux. As you purposed, I added and changed the environment of
> >> JAVA_HOME
> >> > and PATH. And typed the □source gs3-setup.pl□ Successfully
> >> executed
> >> > with the □pl□ file.
> >>
> >> "gs3-setup.sh"(not gs3-setup.pl) should be sourced under the
> Greenstone3
> >> home directory.
> >>
> >> >
> >> > But it appeared the same exception as before!
> >> > file:/home/fwang/greenstone-3.03/build.xml:94: Unexpected element
> >> > "condition"
> >> >
> >> > One Point I must tell you that as a normal user in server, I
> don□t
> >> have
> >> > the right to change the environment in /etc/profile. So I changed the
> >> file
> >> > □.bashrc□ of my Home Directory. It□s the only point
> that
> >> I don□t
> >> > be sure whether I did right.
> >> >
> >> You may ask your administrator for the solution of this issue.
> >>
> >> > The other question is about my Implementation. You knew that I must
> >> write
> >> > a GUI Program which can access and manage the GSDL remote. We knew
> >> that
> >> > the GSDL3 supports the SOAP Protocol for the communication between
> the
> >> > GSDL and other Program like my GUI Program as the third
> party-program.
> >> > Can the SOAP be used in my Program to communicate to the GSDL3?
> >> > SOAP+Servlet/JSP?
> >>
> >> Yes, it is the way how Greenstone3 was designed.
> >>
> >> >
> >> > Idea:
> >> > My GUI Program (Client) can write the request with XML File in SOAP
> >> Format
> >> > and send it to the Receptionist with the different Messages and wait
> >> the
> >> > response from the servelet in GSDL 3 Server? Is it impossible???
> >> Enable
> >> to
> >> > write a remote Program like this and support all functions what the
> >> GLI
> >> > have?
> >>
> >> I think it can be done.
> >> >
> >> > Regards
> >> > Feng Wang
> >> >
> >> > PS: what the different between greenstone3@list.scms.waikato.ac.nz
> and
> >> > greenstone-users@list.scms.waikato.ac.nz
> >> >
> >> >
> >> >
> >> >
> >> >
> >> >
> >> >
> >> > -------- Original-Nachricht --------
> >> >> Datum: Tue, 11 Mar 2008 10:07:06 +1300 (NZDT)
> >> >> Von: qq6@cs.waikato.ac.nz
> >> >> An: "feng wang" <wangfeng77@gmx.de>
> >> >> CC: greenstone3@list.scms.waikato.ac.nz
> >> >> Betreff: Re: [greenstone-users] how to build Application which can
> >> >> search , get and manage the Object in
> >> GSDL
> >> >> remote
> >> >
> >> >> Hi Feng Wang
> >> >>
> >> >> Greenstone3.03 Linux binary installer has binded a JVM. If no JVM
> >> (above
> >> >> 1.4) could be found from the local machine during installation, the
> >> >> installer will use the binded JVM instead. If you want to use the
> JDK
> >> or
> >> >> JRE installed on the local machine, please add the JDK home
> >> (something
> >> >> like: /opt/jdk1.4, --JDK home folder) or JRE path (something like:
> >> >> opt/jre1.4/bin, --JRE bin folder) to the environment path.
> >> >>
> >> >> You wrote:
> >> >> >But I can’t remove the order of java in our server.
> >> >>
> >> >> I think you probably can modify the java environment setting even on
> >> >> your
> >> >> server, like defining JAVAHOME, add java into path,etc.
> >> >>
> >> >> You wrote:
> >> >> > So I thought that I shall install the GSDL from source file with
> >> ant.
> >> >> > Typing the “ant installâ€□ and searching the
> >> right target in
> >> >> the
> >> >> > build.xml. But the exception was
> >> >> > file:/home/fwang/greenstone-3.03/build.xml:94: Unexpected element
> >> >> > "condition".
> >> >>
> >> >> Please run "source gs3-setup.sh" to setup the greenstone3
> environment
> >> >> first before run "ant install".
> >> >>
> >> >> > I think, I should modify the build.xml or build.properties. But I
> >> >> don’t
> >> >> > know, how can I do? Please help me.
> >> >>
> >> >> No, you don't need to modify the build.xml file.
> >> >>
> >> >> >
> >> >> > Ps: i got the web.xml and will try to reconfigurate it again to
> >> enable
> >> >> the
> >> >> > remote GLI. And the Collector is remote GLI??
> >> >>
> >> >> Collector is available only in Greenstone2, it wasn't implemented in
> >> >> Greenstone3.
> >> >>
> >> >> Regards
> >> >> Quan
> >> >>
> >> >> > Hi Quan,
> >> >> >
> >> >> > Thanks for your incredible Support. And sorry that I disappeared
> >> for
> >> >> a
> >> >> > while.
> >> >> >
> >> >> > I have tried to install the GSDL 3 in our Server of The
> University
> >> >> > Duisburg in two ways. From the binary file and from the source.
> >> >> >
> >> >> > By installing with the Binary File the erro is :
> >> >> >
> >> >> > This application requires a Java Run Time Environment
> >> (JRE)
> >> >> > to run. Searching for one on your computer was not
> >> >> successful.
> >> >> > Please use the command line switch -is:javahome to
> >> specify
> >> >> > a valid JRE. For more help use the option -is:help.
> >> >> >
> >> >> > We have the Java from 1.4 to 1.6 in the Server. But the Default
> >> >> Version
> >> >> is
> >> >> > 1.4.2. So I tried to get the command with path of the current
> java.
> >> >> The
> >> >> > Install File said still, that it can’t find the JRE for
> >> >> Installing
> >> >> the
> >> >> > GSDL. I had the same problem, while I tried to install the GSDL in
> >> my
> >> >> > Linux. At that time I moved the java the order of /opt and the
> >> problem
> >> >> is
> >> >> > then solved. But I can’t remove the order of java in
> our
> >> server.
> >> >> It’s
> >> >> > not the most important problem, because I must install the GSDL
> >> remote
> >> >> by
> >> >> > using the Putty in console version.
> >> >> >
> >> >> > So I thought that I shall install the GSDL from source file with
> >> ant.
> >> >> > Typing the “ant installâ€□ and searching the
> >> right target in
> >> >> the
> >> >> > build.xml. But the exception was
> >> >> > file:/home/fwang/greenstone-3.03/build.xml:94: Unexpected element
> >> >> > "condition".
> >> >> >
> >> >> > I think, I should modify the build.xml or build.properties. But I
> >> >> don’t
> >> >> > know, how can I do? Please help me.
> >> >> >
> >> >> > Regards
> >> >> >
> >> >> > Feng wang
> >> >> >
> >> >> >
> >> >> > Ps: i got the web.xml and will try to reconfigurate it again to
> >> enable
> >> >> the
> >> >> > remote GLI. And the Collector is remote GLI??
> >> >> >
> >> >> >
> >> >> > -------- Original-Nachricht --------
> >> >> >> Datum: Tue, 12 Feb 2008 10:59:36 +1300 (NZDT)
> >> >> >> Von: qq6@cs.waikato.ac.nz
> >> >> >> An: wangfeng77@gmx.de
> >> >> >> CC: greenstone-users@list.scms.waikato.ac.nz
> >> >> >> Betreff: Re: [greenstone-users] how to build Application which
> can
> >> >> >> search , get and manage the Object in
> >> GSDL
> >> >> >> remote
> >> >> >
> >> >> >> Hi Feng Wang
> >> >> >>
> >> >> >> The web.xml file is attached with this mail. please replace the
> >> same
> >> >> >> file
> >> >> >> under GREENSTONE3/packages/tomcat/conf.
> >> >> >>
> >> >> >> The CGI API is provided in a .jar file that you need to rename
> >> >> >> GREENSTONE3/packages/tomcat/server/lib/servlets-cgi.renametojar
> to
> >> >> >> servlets-cgi.jar.
> >> >> >>
> >> >> >> Please let me know any progress
> >> >> >>
> >> >> >> Quan
> >> >> >> >
> >> >> >> >
> >> >> >> >
> >> >> >> >
> >> >> >> >> Hi
> >> >> >> >> Sorry, that i send the Mail so later.
> >> >> >> >> Here is the web.xml and err messenger is:
> >> >> >> >>
> >> >> >> >> Exception in thread "launch browser"
> >> >> java.lang.NullPointerException
> >> >> >> >> at
> >> >> >> >>
> >> >>
> org.greenstone.server.BrowserLauncher.<init>(BrowserLauncher.java:26)
> >> >> >> >> at
> >> >> >> org.greenstone.server.Server.launchBrowser(Server.java:149)
> >> >> >> >> at
> >> >> >> >>
> org.greenstone.server.ServerControl$5.run(ServerControl.java:210)
> >> >> >> >> at java.lang.Thread.run(Thread.java:595)
> >> >> >> >> I installed the GSDL under /opt/Greenstone3
> >> >> >> >> Hope, you can help me!
> >> >> >> >> thanks
> >> >> >> >> Regards
> >> >> >> >> Feng Wang
> >> >> >> >>
> >> >> >> >>
> >> >> >> >> -------- Original-Nachricht --------
> >> >> >> >>> Datum: Tue, 29 Jan 2008 12:12:51 +1300 (NZDT)
> >> >> >> >>> Von: qq6@cs.waikato.ac.nz
> >> >> >> >>> An: "feng wang" <wangfeng77@gmx.de>
> >> >> >> >>> CC: greenstone-users@list.scms.waikato.ac.nz
> >> >> >> >>> Betreff: Re: [greenstone-users] how to build Application
> which
> >> >> can
> >> >> >> >>> search , get and manage the Object in GSDL
> >> remote
> >> >> >> >>
> >> >> >> >>> Hi Feng
> >> >> >> >>>
> >> >> >> >>> Could you send me the
> greenstone3/packages/tomcat/conf/web.xml
> >> >> file?
> >> >> >> >>>
> >> >> >
> >> >> > --
> >> >> > Psssst! Schon vom neuen GMX MultiMessenger gehört?
> >> >> > Der kann`s mit allen: http://www.gmx.net/de/go/multimessenger
> >> >> >
> >> >> >
> >> >>
> >> >
> >> > --
> >> > GMX startet ShortView.de. Hier findest Du Leute mit Deinen
> Interessen!
> >> > Jetzt dabei sein: http://www.shortview.de/?mc=sv_ext_mf@gmx
> >> >
> >>
> >
> > --
> > Psst! Geheimtipp: Online Games kostenlos spielen bei den GMX Free Games!
> > http://games.entertainment.gmx.net/de/entertainment/games/free
> >
>

--
Der GMX SmartSurfer hilft bis zu 70% Ihrer Onlinekosten zu sparen!
Ideal f□r Modem und ISDN: http://www.gmx.net/de/go/smartsurfer