Hi. All~

I tried to use ForEach component at version 0.8, but failed to execute my 
workflow.

My workflow is a very simple like below. 
   
   (Input Component) -> (ForEach Component) -> (echo_invoke) -> (EndForEach 
Component -> (Output Component)


It get String Array (comma separated string such like "abc,def") and echo each 
string of string array.

My registered application's component information is as follows.

        echo:invoke
        Description:
        Operation: invoke
        Input parameter(s)
        str
        Type: StringParameterType
        Output parameter(s)
        return
        Type: StdOutParameterType

I got an error below. 
-----------------------------------------------------------------------------------------------------------------------------------
org.apache.airavata.client.api.exception.AiravataAPIInvocationException: could 
not find definition for type 
{http://airavata.apache.org/xbaya/Workflow1/xsd/}StdOutParameterTypeArrayType 
in {http://airavata.apache.org/xbaya/Workflow1/}Workflow1
        at 
org.apache.airavata.client.impl.ExecutionManagerImpl.runExperimentGeneral(ExecutionManagerImpl.java:233)
        at 
org.apache.airavata.client.impl.ExecutionManagerImpl.runExperiment(ExecutionManagerImpl.java:85)
        at 
org.apache.airavata.xbaya.ui.experiment.WorkflowInterpreterLaunchWindow$3.run(WorkflowInterpreterLaunchWindow.java:328)
Caused by: org.apache.airavata.workflow.model.component.ComponentException: 
could not find definition for type 
{http://airavata.apache.org/xbaya/Workflow1/xsd/}StdOutParameterTypeArrayType 
in {http://airavata.apache.org/xbaya/Workflow1/}Workflow1
        at 
org.apache.airavata.workflow.model.component.ws.WSComponent.parseType(WSComponent.java:468)
        at 
org.apache.airavata.workflow.model.component.ws.WSComponent.parseMessage(WSComponent.java:398)
        at 
org.apache.airavata.workflow.model.component.ws.WSComponent.parseOperation(WSComponent.java:369)
        at 
org.apache.airavata.workflow.model.component.ws.WSComponent.parsePortType(WSComponent.java:353)
        at 
org.apache.airavata.workflow.model.component.ws.WSComponent.parse(WSComponent.java:345)
        at 
org.apache.airavata.workflow.model.component.ws.WSComponent.<init>(WSComponent.java:132)
        at 
org.apache.airavata.workflow.model.component.ws.WSComponentFactory.createComponent(WSComponentFactory.java:136)
        at 
org.apache.airavata.workflow.model.component.ws.WSComponentFactory.createComponent(WSComponentFactory.java:110)
        at 
org.apache.airavata.workflow.model.wf.Workflow.getInputs(Workflow.java:484)
        at 
org.apache.airavata.client.impl.ExecutionManagerImpl.getWSComponentPortInputs(ExecutionManagerImpl.java:291)
        at 
org.apache.airavata.client.impl.ExecutionManagerImpl.runExperimentGeneral(ExecutionManagerImpl.java:190)
        ... 2 more
--------------------------------------------------------------------------------------------------------------------------------------

Is it a bug?  or did I miss something?

Thanks for any comment!!

Regards
Shinyoung

Reply via email to