I only know of a few example services, e.g. the counter service, in the wsrf
package,
but maybe others know more.
export
CVSROOT=:pserver:[email protected]:/home/globdev/CVS/globus-packages
cvs co -r globus_4_2_1 wsrf
Have a look at the code in wsrf/java/core/samples
Alternatively you may have a look at ws-gram (cvs co -r globus_4_2_1 ws-gram)
or RFT (cvs co -r globus_4_2_1 ws-transfer).
I can't tell you right now what needs to be modified in the prog tutorial, but
it
might be time-consuming to figure these things out.
Martin
Christian Szongott wrote:
Hi,
thanks for your help. Are there any working examples for newer releases
somewhere else? Or can you tell me what files have to be modified to
make the examples compatible with this new release? Does it make sense
to modify them or are there too many changes between the versions?
Christian
Martin Feller wrote:
Hi,
The programmer's tutorial was written with the 4.0 series of the
toolkit and
as far as i know no effort was made to make it 4.2 compatible, and
this might
actually never happen.
I'd expect the examples to work with a 4.0.8 installation though.
Martin
Christian wrote:
Hi!
I tried to build the example service from the Globus Toolkit 4
Programmer's Tutorial (progtutorial-examples_0.2.1). But everytime I
get the following error. Can someone please help me to find out
what's wrong?
I'm using the latest stable release GT 4.2.1.
Here's what I get when I try to build the service:
$ ./globus-build-service.sh first
Buildfile: build.xml
init:
[delete] Deleting directory
/home/globus4user/ServiceExamples/build/lib
[mkdir] Created dir: /home/globus4user/ServiceExamples/build/lib
flatten:
WSDLUptodate:
flatten:
[echo] Processing WSDL in Math.wsdl
[java] Retrieving document at
'/home/globus4user/ServiceExamples/build/schema/examples/MathService_instance/Math.wsdl'.
[java] Error processing WSDL: Could not read WSDL input file:
/home/globus4user/ServiceExamples/build/schema/examples/MathService_instance/Math.wsdl
BUILD FAILED
/home/globus4user/ServiceExamples/build.xml:228: The following error
occurred while executing this line:
/usr/local/gt4/share/globus_wsrf_tools/build-stubs.xml:166: Java
returned: 2
Total time: 7 seconds