Async_WPS_exampleprocessStatusAnswerWSPResponsestatusURLExecuteProcessAsync_ultimatequestionprocessProcessOutputs00net.sf.taverna.t2.activitieswsdl-activity1.2net.sf.taverna.t2.activities.wsdl.WSDLActivity http://rsg.pml.ac.uk/wps/generic.wsdl ExecuteProcessAsync_ultimatequestionprocess net.sf.taverna.t2.coreworkflowmodel-impl1.2net.sf.taverna.t2.workflowmodel.processor.dispatch.layers.Parallelize 1 net.sf.taverna.t2.coreworkflowmodel-impl1.2net.sf.taverna.t2.workflowmodel.processor.dispatch.layers.ErrorBouncenet.sf.taverna.t2.coreworkflowmodel-impl1.2net.sf.taverna.t2.workflowmodel.processor.dispatch.layers.Failovernet.sf.taverna.t2.coreworkflowmodel-impl1.2net.sf.taverna.t2.workflowmodel.processor.dispatch.layers.Retry 1.0 1000 5000 0 net.sf.taverna.t2.coreworkflowmodel-impl1.2net.sf.taverna.t2.workflowmodel.processor.dispatch.layers.InvokeExecuteProcessAsync_ultimatequestionprocess_ProcessOutputsinput0statusURLResult00net.sf.taverna.t2.activitieswsdl-activity1.2net.sf.taverna.t2.activities.wsdl.xmlsplitter.XMLOutputSplitterActivity <s:extensions xmlns:s="http://org.embl.ebi.escience/xscufl/0.1alpha"><s:complextype optional="false" unbounded="false" typename="ExecuteProcessAsync_ultimatequestionprocessResponse" name="ProcessOutputs" qname="{http://www.opengis.net/wps/1.0.0}ExecuteProcessAsync_ultimatequestionprocessResponse"><s:elements><s:basetype optional="false" unbounded="false" typename="anyType" name="statusURLResult" qname="&gt;ExecuteProcessAsync_ultimatequestionprocessResponse&gt;statusURLResult" /></s:elements></s:complextype></s:extensions> java.lang.String false input 0 'text/xml' 0 statusURLResult 0 'text/plain' net.sf.taverna.t2.coreworkflowmodel-impl1.2net.sf.taverna.t2.workflowmodel.processor.dispatch.layers.Parallelize 1 net.sf.taverna.t2.coreworkflowmodel-impl1.2net.sf.taverna.t2.workflowmodel.processor.dispatch.layers.ErrorBouncenet.sf.taverna.t2.coreworkflowmodel-impl1.2net.sf.taverna.t2.workflowmodel.processor.dispatch.layers.Failovernet.sf.taverna.t2.coreworkflowmodel-impl1.2net.sf.taverna.t2.workflowmodel.processor.dispatch.layers.Retry 1.0 1000 5000 0 net.sf.taverna.t2.coreworkflowmodel-impl1.2net.sf.taverna.t2.workflowmodel.processor.dispatch.layers.InvokeprocessCheckerstatusURL0status00XMLContent00net.sf.taverna.t2.activitiesbeanshell-activity1.2net.sf.taverna.t2.activities.beanshell.BeanshellActivity workflow java.lang.String true statusURL 0 text/plain 0 status 0 0 XMLContent 0 net.sf.taverna.t2.coreworkflowmodel-impl1.2net.sf.taverna.t2.workflowmodel.processor.dispatch.layers.Parallelize 1 net.sf.taverna.t2.coreworkflowmodel-impl1.2net.sf.taverna.t2.workflowmodel.processor.dispatch.layers.ErrorBouncenet.sf.taverna.t2.coreworkflowmodel-impl1.2net.sf.taverna.t2.workflowmodel.processor.dispatch.layers.Loop <activity xmlns="http://taverna.sf.net/2008/xml/t2flow"><raven><group>net.sf.taverna.t2.activities</group><artifact>beanshell-activity</artifact><version>1.2</version></raven><class>net.sf.taverna.t2.activities.beanshell.BeanshellActivity</class><inputMap /><outputMap /><configBean encoding="xstream"><net.sf.taverna.t2.activities.beanshell.BeanshellActivityConfigurationBean xmlns=""> <script>loop = "" + ! status.equals("COMPLETE"); if ("true".matches(loop)) { Thread.sleep(5000); }</script> <dependencies /> <classLoaderSharing>workflow</classLoaderSharing> <localDependencies /> <artifactDependencies /> <inputs> <net.sf.taverna.t2.workflowmodel.processor.activity.config.ActivityInputPortDefinitionBean> <translatedElementType>java.lang.String</translatedElementType> <allowsLiteralValues>true</allowsLiteralValues> <name>status</name> <depth>0</depth> </net.sf.taverna.t2.workflowmodel.processor.activity.config.ActivityInputPortDefinitionBean> </inputs> <outputs> <net.sf.taverna.t2.workflowmodel.processor.activity.config.ActivityOutputPortDefinitionBean> <granularDepth>0</granularDepth> <name>loop</name> <depth>0</depth> </net.sf.taverna.t2.workflowmodel.processor.activity.config.ActivityOutputPortDefinitionBean> </outputs> </net.sf.taverna.t2.activities.beanshell.BeanshellActivityConfigurationBean></configBean><annotations /></activity> true net.sf.taverna.t2.coreworkflowmodel-impl1.2net.sf.taverna.t2.workflowmodel.processor.dispatch.layers.Failovernet.sf.taverna.t2.coreworkflowmodel-impl1.2net.sf.taverna.t2.workflowmodel.processor.dispatch.layers.Retry 1.0 1000 5000 0 net.sf.taverna.t2.coreworkflowmodel-impl1.2net.sf.taverna.t2.workflowmodel.processor.dispatch.layers.InvokegetAnswerxml_text0nodelistAsXML11net.sf.taverna.t2.ui-activitiesxpath-activity0.3net.sf.taverna.t2.activities.xpath.XPathActivity <?xml version="1.0" encoding="UTF-8"?> <soap:Envelope xmlns:soap="http://www.w3.org/2003/05/soap-envelope" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://www.w3.org/2003/05/soap-envelope http://www.w3.org/2003/05/soap-envelope"> <soap:Body><ExecuteProcess_ultimatequestionprocessResponse><answerResult>42</answerResult></ExecuteProcess_ultimatequestionprocessResponse></soap:Body> </soap:Envelope> //answerResult/text() soap http://www.w3.org/2003/05/soap-envelope xsi http://www.w3.org/2001/XMLSchema-instance net.sf.taverna.t2.coreworkflowmodel-impl1.2net.sf.taverna.t2.workflowmodel.processor.dispatch.layers.Parallelize 1 net.sf.taverna.t2.coreworkflowmodel-impl1.2net.sf.taverna.t2.workflowmodel.processor.dispatch.layers.ErrorBouncenet.sf.taverna.t2.coreworkflowmodel-impl1.2net.sf.taverna.t2.workflowmodel.processor.dispatch.layers.Failovernet.sf.taverna.t2.coreworkflowmodel-impl1.2net.sf.taverna.t2.workflowmodel.processor.dispatch.layers.Retry 1.0 1000 5000 0 net.sf.taverna.t2.coreworkflowmodel-impl1.2net.sf.taverna.t2.workflowmodel.processor.dispatch.layers.InvokeExecuteProcessAsync_ultimatequestionprocess_ProcessOutputsinputExecuteProcessAsync_ultimatequestionprocessProcessOutputsprocessCheckerstatusURLExecuteProcessAsync_ultimatequestionprocess_ProcessOutputsstatusURLResultgetAnswerxml_textprocessCheckerXMLContentprocessStatusprocessCheckerstatusAnswergetAnswernodelistAsXMLWSPResponseprocessCheckerXMLContentstatusURLExecuteProcessAsync_ultimatequestionprocess_ProcessOutputsstatusURLResult e6c08eed-9f6f-4f35-a9bd-964d4fa01916 2011-04-27 17:22:14.361 BST 110a86d6-dd5d-4217-afab-76128170f7c9 2011-04-27 17:17:28.636 BST 145101db-e7aa-4d4a-b8a6-cab6052d5867 2011-04-27 17:13:08.768 BST bebb2520-34c7-4d87-9b8a-fc04d41c8955 2011-04-27 17:11:07.175 BST b6d10cff-a0a1-407c-8305-d56ad41c0b86 2011-04-27 17:09:07.230 BST 9caa089a-ab51-45a4-9566-2b9d96065826 2011-04-27 17:16:20.53 BST Async WPS example 2011-04-27 16:51:31.327 BST Jorge de Jesus - Plymouth Marine Laboratory jmdj@pml.ac.uk 2011-04-27 16:50:55.327 BST 2d5ae0f7-2c0f-4cde-ab0b-4f5acacc1d22 2011-04-27 17:14:43.351 BST 7db07e80-358d-40f6-87cf-9141321658d2 2010-11-04 15:57:39.90 GMT 7b0428e5-9c90-48cf-a91f-65976ef023ba 2011-04-27 16:50:12.569 BST a0b88221-11e8-4da2-a904-63e89c89477a 2011-04-27 16:47:12.498 BST 9c920721-6f21-4116-abfe-7a78814a1f80 2011-04-27 17:15:22.815 BST Example on how to work with an async service, where the statusURL is used to check for 2011-04-27 16:52:45.646 BST Example on how to work with an async service, where the statusURL is used to check for if the process has finished or not 2011-04-27 16:53:06.530 BST