[owl-s] Problems while retrieving an "int" result of a service
execution
António Lopes
antonio.luis at iscte.pt
Wed Apr 27 11:07:11 EDT 2005
Hello,
I'm new with OWL-S API and I'm using it to execute some OWL-S service descriptions.
After executing a certain OWL-S description and doing the following:
Object value = values.getValue(process.getOutputs().getParameter(((OutputImpl)
(ol.get(i))).getJenaResource().getLocalName()));
System.out.println(value.toString());
...I get the following output: "<addReturn href="#id0"/>"
"id0" doesn't appear anywhere in the OWL-S file or the WSDL file.
"addReturn" is the name of the WSDL output parameter and is of type xsd:int.
However, if I change the type of the parameter from xsd:int to xsd:string (and
changing accordingly in the web service), it returns the correct output.
Does anyone know the reason for this?
Thanks in advance for any contributions you may have,
Best regards,
--
António Lopes - antonio.luis at iscte.pt
ADETTI/ISCTE
More information about the OWL-S
mailing list