I think this came up in a meeting this week. Apparently the work to sort this out still needs to be done. Can you changes your service to handle this error by returning the output as a string to say either "true" or "false" ?
I don't know if Java (if that's what you're using) can do something like Boolean.toString(); as it does for Interger. regards, Paul. Marco Roos wrote: > Hello, > > I am using a service that has a boolean as output, not a string. > Apparently, this leads to an error message in Taverna 2 (see below) > (unless something else is wrong; I am still testing the service). > > Will Taverna be able to handle anything other than Strings? Or at > least automatically convert basic non-string port types to strings > (e.g. a boolean to true/false)? > > Many thanks, > Marco. > >> |ERROR 2009-03-03 14:04:27,625 >> (net.sf.taverna.t2.activities.wsdl.WSDLActivity:29 >> 6) - Error finding the input data for addRdf >> net.sf.taverna.t2.reference.ReferenceServiceException: Failed to >> register POJO, >> found a type 'java.lang.Boolean' which cannot be registered with the >> reference m >> anager >> at >> net.sf.taverna.t2.reference.impl.ReferenceServiceImpl.getNameForObjec >> t(ReferenceServiceImpl.java:217) >> at >> net.sf.taverna.t2.reference.impl.ReferenceServiceImpl.register(Refere >> nceServiceImpl.java:134) >> at >> net.sf.taverna.t2.activities.wsdl.WSDLActivity$1.run(WSDLActivity.jav >> a:280) >> at java.lang.Thread.run(Unknown Source) >> WARN 2009-03-03 14:04:27,625 >> (net.sf.taverna.t2.workflowmodel.processor.dispatc >> h.layers.Invoke:196) - Failed (INVOCATION) invoking >> net.sf.taverna.t2.activities >> .wsdl.wsdlactiv...@e6657f for job >> net.sf.taverna.t2.workflowmodel.processor.disp >> atch.events.dispatchjobev...@141172b: Unable to find input data >> net.sf.taverna.t2.reference.ReferenceServiceException: Failed to >> register POJO, >> found a type 'java.lang.Boolean' which cannot be registered with the >> reference m >> anager >> at >> net.sf.taverna.t2.reference.impl.ReferenceServiceImpl.getNameForObjec >> t(ReferenceServiceImpl.java:217) >> at >> net.sf.taverna.t2.reference.impl.ReferenceServiceImpl.register(Refere >> nceServiceImpl.java:134) >> at >> net.sf.taverna.t2.activities.wsdl.WSDLActivity$1.run(WSDLActivity.jav >> a:280) >> at java.lang.Thread.run(Unknown Source)| > > -- > > Marco Roos > Faculty of Science > University of Amsterdam > Kruislaan 403, room F1.02 > 1098 SJ Amsterdam > tel. +31 (0) 20 525 7522 > http://home.medewerker.uva.nl/m.roos1 (includes links to social networks) > Note the change of e-mail address to [email protected] > > ------------------------------------------------------------------------ > > ------------------------------------------------------------------------------ > Open Source Business Conference (OSBC), March 24-25, 2009, San Francisco, CA > -OSBC tackles the biggest issue in open source: Open Sourcing the Enterprise > -Strategies to boost innovation and cut costs with open source participation > -Receive a $600 discount off the registration fee with the source code: SFAD > http://p.sf.net/sfu/XcvMzF8H > ------------------------------------------------------------------------ > > _______________________________________________ > taverna-users mailing list > [email protected] > https://lists.sourceforge.net/lists/listinfo/taverna-users > Documentation: http://www.mygrid.org.uk/usermanual1.7/ > FAQ: http://www.mygrid.org.uk/wiki/Mygrid/TavernaFaq > Biological Services: > http://www.mygrid.org.uk/wiki/Mygrid/BiologicalWebServices ------------------------------------------------------------------------------ Open Source Business Conference (OSBC), March 24-25, 2009, San Francisco, CA -OSBC tackles the biggest issue in open source: Open Sourcing the Enterprise -Strategies to boost innovation and cut costs with open source participation -Receive a $600 discount off the registration fee with the source code: SFAD http://p.sf.net/sfu/XcvMzF8H _______________________________________________ taverna-users mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/taverna-users Documentation: http://www.mygrid.org.uk/usermanual1.7/ FAQ: http://www.mygrid.org.uk/wiki/Mygrid/TavernaFaq Biological Services: http://www.mygrid.org.uk/wiki/Mygrid/BiologicalWebServices
