Hi Joâo,
that is exactly what i am looking for.
thank you very much!
cheers
Peter
João Marcelo wrote:
Hi Peter,
My Globus version is 4.2.0. There is a file located at
$GLOBUS_LOCATION/globus/share/globus_wsrf_tools called build-stubs.xml
. You can use this file as an ant build file and create the stubs
using the target generateStubs, you just need the wsdl file. It's not
necessary to code the service and the client for building the stubs.
I hope this helps,
[]'s
On Wed, Dec 2, 2009 at 1:40 PM, Peter Pan <x....@cgv.tugraz.at> wrote:
Hello all,
i've read this tutorial (
http://gdp.globus.org/gt4-tutorial/singlehtml/progtutorial_0.2.1.html#chap_core_first
) many times, but there is still a question that i cannot understand.
here is the thing:
Chapter 3. Writing your first stateful web service in 5 simple steps.
I've wrote my .wsdl file and now i am writing my java services. But as
author says, 'org.globus.example.stubs.MathService_instance' are generated
from WSDL file, and they won't exist until the services are compiled.
My question is, why in step 2: implementing the service in Java there are
such classes like "AddResponse, SubtractResponse and GetValueRP" can be
imported? All these 3 classes are come from the package
'org.globus.example.stubs.MathService_instance', aren't they? And by
implementing the simple client there are also such classes from "stubs"
package. But apparently i haven't compiled the services...actually i still
not finish coding them...can somebody tell me why or how can i find such
package??
many thanks in advance.
best wishes
Peter
--
Dipl.-Inf. Xueming(Peter) Pan http://www.cgv.tugraz.at
Email: x....@cgv.tugraz.at Tel: +43 (316) 873-5416
Institute of Computer Graphics and Knowledge Visualization
TU-Graz Inffeldgasse 16c, 8010 Graz, Austria
--
Dipl.-Inf. Xueming(Peter) Pan http://www.cgv.tugraz.at
Email: x....@cgv.tugraz.at Tel: +43 (316) 873-5416
Institute of Computer Graphics and Knowledge Visualization
TU-Graz Inffeldgasse 16c, 8010 Graz, Austria