Hi list,
I'm trying to create a first simple GridService (using the examples from the
book 'Globus Toolkit 4 - Programming java services'). I'm using the Globus
Toolkit 4.0.6.
Now I have the problem that the stubs for the factory-service aren't generated
while the stubs for the instance-service are generated correctly.
I understand that the factory service's WSDL must contain a portType with the
name "<factory-service-wsdl-name>PortType" (in my example, FactoryPortType).
This is the case. The instance service's WSDL, analoguosly, contains a
portType named InstancePortType (as my instance service's WSDL is named
Instance.wsdl).
Nevertheless, the described behaviour occurs (No factory-service-stubs).
Here's the output from the build:
--8<-------------------------------------------------------------------------------------------------------------------------
[EMAIL PROTECTED] GT4_Manual]$ ./globus-build-service.sh factory stubs
Buildfile: build.xml
init:
[mkdir] Created dir: /home/muenchen/workspace/GT4_Manual/build/classes
[mkdir] Created dir: /home/muenchen/workspace/GT4_Manual/build/lib
[mkdir] Created
dir:
/home/muenchen/workspace/GT4_Manual/build/stubs-de_fh_muenster_lab4inf_grid_services_factory
[mkdir] Created
dir:
/home/muenchen/workspace/GT4_Manual/build/stubs-de_fh_muenster_lab4inf_grid_services_factory/src
[mkdir] Created
dir:
/home/muenchen/workspace/GT4_Manual/build/stubs-de_fh_muenster_lab4inf_grid_services_factory/classes
[mkdir] Created dir: /home/muenchen/workspace/GT4_Manual/build/stubs
[mkdir] Created
dir: /home/muenchen/workspace/GT4_Manual/build/stubs/classes
[mkdir] Created dir: /home/muenchen/workspace/GT4_Manual/build/schema
[copy] Copying 31 files
to /home/muenchen/workspace/GT4_Manual/build/schema
flatten:
WSDLUptodate:
flatten:
[echo] Processing WSDL in Instance.wsdl
[java] Retrieving document
at '/home/muenchen/workspace/GT4_Manual/build/schema/factory/Instance.wsdl'.
[java] Retrieving document
at '../wsrf/properties/WS-ResourceProperties.wsdl', relative
to
'file:/home/muenchen/workspace/GT4_Manual/build/schema/factory/Instance.wsdl'.
generateBindings:
bindingUptodate:
generateBinding:
[echo] Generating bindings for Instance_flattened.wsdl
stubs:
mergePackageMapping:
[echo]
Merging /home/muenchen/workspace/GT4_Manual/namespace2package.mappings
generateStubs:
[echo] Generating stubs from Instance_service.wsdl
[java] {http://schemas.xmlsoap.org/ws/2004/03/addressing}Action already
exists
BUILD SUCCESSFUL
Total time: 5 seconds
--8<-------------------------------------------------------------------------------------------------------------------------
here's my build.mappings:
--8<-------------------------------------------------------------------------------------------------------------------------
factory,de/fh_muenster/lab4inf/grid/services/factory,schema/factory/Instance.wsdl,schema/factory/Factory.wsdl
--8<-------------------------------------------------------------------------------------------------------------------------
and my namespace2package.mappings:
--8<-------------------------------------------------------------------------------------------------------------------------
http\://grid.lab4inf.fh-muenster.de/namespaces/factory=de.fh_muenster.lab4inf.grid.stubs.factory
http\://grid.lab4inf.fh-muenster.de/namespaces/factory/bindings=de.fh_muenster.lab4inf.grid.stubs.factory.bindings
http\://grid.lab4inf.fh-muenster.de/namespaces/factory/service=de.fh_muenster.lab4inf.grid.stubs.factory.service
--8<-------------------------------------------------------------------------------------------------------------------------
What can I try next?
--
from the desk of
Tim München M.Sc.
University of Applied Sciences, Muenster, Germany
Department of Electrical Engineering and Computer Sciences
Stegerwaldstr. 39
48565 Steinfurt
EMail: [EMAIL PROTECTED]
Office: +49 (0)2551 962582