<?xml version="1.0" encoding="UTF-8"?>
<s:scufl xmlns:s="http://org.embl.ebi.escience/xscufl/0.1alpha" version="0.2" log="0">
  <s:workflowdescription lsid="urn:lsid:www.mygrid.org.uk:operation:6G6ZEGYU960" author="" title="" />
  <s:processor name="retrieve">
    <s:arbitrarywsdl>
      <s:wsdl>http://rpc53.cs.man.ac.uk:8080/formatMetadata/services/SurfacePortType?wsdl</s:wsdl>
      <s:operation>retrieve</s:operation>
    </s:arbitrarywsdl>
  </s:processor>
  <s:processor name="getCartilageAnalysis">
    <s:arbitrarywsdl>
      <s:wsdl>http://phoebus.cs.man.ac.uk:8081/axis/processCartScript.jws?wsdl</s:wsdl>
      <s:operation>getCartilageAnalysis</s:operation>
    </s:arbitrarywsdl>
  </s:processor>
  <s:processor name="getDescription">
    <s:arbitrarywsdl>
      <s:wsdl>http://phoebus.cs.man.ac.uk:8081/axis/findSegFile.jws?wsdl</s:wsdl>
      <s:operation>getDescription</s:operation>
    </s:arbitrarywsdl>
  </s:processor>
  <s:processor name="getSegmentation">
    <s:arbitrarywsdl>
      <s:wsdl>http://phoebus.cs.man.ac.uk:8081/axis/uploadSeg.jws?wsdl</s:wsdl>
      <s:operation>getSegmentation</s:operation>
    </s:arbitrarywsdl>
  </s:processor>
  <s:link source="GetSegmentationFileFromStore" sink="retrieve:graphName" />
  <s:link source="getCartilageAnalysis:getCartilageAnalysisReturn" sink="logFileLocation" />
  <s:link source="getDescription:getDescriptionReturn" sink="matlabScript" />
  <s:link source="getSegmentation:getSegmentationReturn" sink="segFile" />
  <s:link source="retrieve:retrieveReturn" sink="getDescription:segFile" />
  <s:link source="retrieve:retrieveReturn" sink="getSegmentation:segFile" />
  <s:source name="GetSegmentationFileFromStore" />
  <s:sink name="matlabScript" />
  <s:sink name="segFile" />
  <s:sink name="logFileLocation" />
  <s:coordination name="getCartilageAnalysis_BLOCKON_getSegmentation">
    <s:condition>
      <s:state>Completed</s:state>
      <s:target>getSegmentation</s:target>
    </s:condition>
    <s:action>
      <s:target>getCartilageAnalysis</s:target>
      <s:statechange>
        <s:from>Scheduled</s:from>
        <s:to>Running</s:to>
      </s:statechange>
    </s:action>
  </s:coordination>
  <s:coordination name="getCartilageAnalysis_BLOCKON_getDescription">
    <s:condition>
      <s:state>Completed</s:state>
      <s:target>getDescription</s:target>
    </s:condition>
    <s:action>
      <s:target>getCartilageAnalysis</s:target>
      <s:statechange>
        <s:from>Scheduled</s:from>
        <s:to>Running</s:to>
      </s:statechange>
    </s:action>
  </s:coordination>
</s:scufl>



