Hello there,
I am trying to create a service which uses two separate resources. I
have read that "Multiple resources are referenced in a single portType
element. The extension attribute ResourceProperties can contain
multiple space-separated values.". So in the portType element of my
WSDL I wrote:
wsrp:ResourceProperties="tns:PippoResourceProperties tns:PlutoResourceProperties
at building time I get the following error:
[java] [main] ERROR wsdl.WSDLPreprocessor - ERROR: Failed to add
resource properties
[java] ERROR: Failed to add resource properties
[java] java.lang.Exception: Unable to find
'{http://grid.deis.unical.it/TestService}PippoResourceProperties
tns:PlutoResourceProperties' element in WSDL schema section of
'file:/home/globus/test-service-2.0/build/schema/test/test.wsdl'
document.
[java] at
org.globus.wsrf.tools.wsdl.TypesProcessor.addResourceProperties(TypesProcessor.java:189)
[java] at
org.globus.wsrf.tools.wsdl.WSDLPreprocessor.main(WSDLPreprocessor.java:246)
It looks like it's considering the two resources as one element only,
instead of two elements. Maybe the values should be separated by some
other character?
Does anyone know where the problem could be?
Best regards,
--
Marco Lackovic
Dept. of Electronics, Computer Science and Systems
University of Calabria, Italy - http://grid.deis.unical.it/
Tel. +39 0984 494773