[kepler-users] Deploy a workflow as web service

Alqaoud A.Al-qaoud at cs.cardiff.ac.uk
Fri Sep 12 10:49:50 PDT 2008


Hi Jianwu,

Yes,that would be useful for my research (Interoperability between
scientific workflow ) and if you can send me any documents or papers
related to this KeplerWebService I will appreciate that also.


I have another question for you,

I tried to import a web service in Kepler(the wsdl is attached), this
service provide for operation add, subscribe, renewSubscription, and
unsubscribe. I chose subscribe operation and then I clicked the Commit.
I tried to use String Constant input type but this input allow me to
insert just only one string but actually the input type for this
operation should be several parameter. I used the same web service in
Triana workflow and Triana allow me to use input unit called WSTypeGen
that configure all parameters as you see in the second attachment file.
I don't know which input type in kepler should I use to provide me with
same result.

Cheers,

Ahmed 


On Fri, 2008-09-12 at 09:36 -0700, Jianwu Wang wrote:
> Hi Ahmed,
> 
>     As far as I know, Kepler does not support transforming a workflow
> or part of workflow as a Web service directly. 
> 
>     What we have done similarly to your requirement is a primary Web
> service which can execute Kepler workflows. The Web service can be
> accessed at http://swat.sdsc.edu:8088/axis2/services/KeplerWebService?
> wsdl.
> 
>     The web service supports SOAP-based and RESTful invocation. The
> outputs of the Web service are the information of all the display
> actors of the executed workflow. 
> 
>     The Web service provides the following operations:
>       * executeByURI: This operation takes a URI specifying one Kepler
>         Workflow file, e.g. moml file, to execute.
>       * executeByURIWithPara: This operation takes a URI specifying
>         one Kepler Workflow file, e.g. moml file, to execute. And the
>         parameters of this workflow can be configured.
>       * executeByContent: This operation execute workflow by providing
>         workflow content, namely the string of MoML file.
>       * executeByAttach: This operation attaches the workflow Moml
>         file for execution and attach output files back for response.
>       * executeByAttachWithPara: This operation attaches the workflow
>         Moml file for execution, the parameters of this workflow can
>         be configured, the output files will be attached back in
>         response message.
>    If you think it is useful, I'd like to introduce you more about it,
> including the client code to invoke it.
> Best wishes
> 
> Sincerely yours
> 
> Jianwu Wang
> jianwu at sdsc.edu
> 
> Post-Doctor
> Scientific Workflow Automation Technologies (SWAT) Laboratory
> San Diego Supercomputer Center 
> University of California, San Diego
> San Diego, U.S.A. 
> 
> 
> Alqaoud wrote: 
> > Hello,
> > 
> > I'm new user to Kepler and I want to ask that is there any  
> > feature that allow me  to deploy a workflow or part of workflow as a web
> > service. My question is that If a construct a workflow in
> > Kepler can I run or deploy it as a web service.
> > 
> > Regards,
> > 
> > Ahmed
> > 
> > _______________________________________________
> > Kepler-users mailing list
> > Kepler-users at ecoinformatics.org
> > http://mercury.nceas.ucsb.edu/ecoinformatics/mailman/listinfo/kepler-users
> >   
-------------- next part --------------
<wsdl:definitions targetNamespace="http://alqaoud:4807/wspeer/Calculator">
-
	<!--
WSDL created by Apache Axis version: 1.4
Built on Jul 25, 2006 (12:57:46 BST)
-->
-
	<wsdl:types>
-
	<schema targetNamespace="urn:com.wse.message">
<import namespace="http://message.wse.com"/>
<import namespace="http://schemas.xmlsoap.org/soap/encoding/"/>
-
	<complexType name="SubscribeMessage">
-
	<sequence>
<element name="endToAddress" nillable="true" type="soapenc:string"/>
<element name="expires" nillable="true" type="soapenc:string"/>
<element name="filter" nillable="true" type="soapenc:string"/>
<element name="messageID" nillable="true" type="soapenc:string"/>
<element name="mySubscription" nillable="true" type="soapenc:string"/>
<element name="notifyToAddress" nillable="true" type="soapenc:string"/>
<element name="replyToAddress" nillable="true" type="soapenc:string"/>
<element name="serviceName" nillable="true" type="soapenc:string"/>
<element name="subscribeAction" nillable="true" type="soapenc:string"/>
</sequence>
</complexType>
-
	<complexType name="SubscribeResponseMessage">
-
	<sequence>
<element name="expires" nillable="true" type="soapenc:string"/>
<element name="identifier" nillable="true" type="soapenc:string"/>
</sequence>
</complexType>
-
	<complexType name="RenewMessage">
-
	<sequence>
<element name="expires" nillable="true" type="soapenc:string"/>
<element name="identifier" nillable="true" type="soapenc:string"/>
<element name="messageID" nillable="true" type="soapenc:string"/>
<element name="replyToAddress" nillable="true" type="soapenc:string"/>
</sequence>
</complexType>
-
	<complexType name="RenewResponseMessage">
-
	<sequence>
<element name="expires" nillable="true" type="soapenc:string"/>
<element name="relatesTo" nillable="true" type="soapenc:string"/>
<element name="toAddress" nillable="true" type="soapenc:string"/>
</sequence>
</complexType>
-
	<complexType name="UnsubscribeMessage">
-
	<sequence>
<element name="identifier" nillable="true" type="soapenc:string"/>
<element name="replyToAddress" nillable="true" type="soapenc:string"/>
</sequence>
</complexType>
</schema>
-
	<schema targetNamespace="http://message.wse.com">
<import namespace="urn:com.wse.message"/>
<import namespace="http://schemas.xmlsoap.org/soap/encoding/"/>
-
	<complexType name="UnsubscribeResponseMessage">
-
	<sequence>
<element name="relatesTo" nillable="true" type="xsd:string"/>
<element name="toAddress" nillable="true" type="xsd:string"/>
</sequence>
</complexType>
</schema>
</wsdl:types>
-
	<wsdl:message name="unsubscribeResponse">
<wsdl:part name="unsubscribeReturn" type="tns3:UnsubscribeResponseMessage"/>
</wsdl:message>
-
	<wsdl:message name="addRequest">
<wsdl:part name="a" type="xsd:int"/>
<wsdl:part name="b" type="xsd:int"/>
</wsdl:message>
-
	<wsdl:message name="unsubscribeRequest">
<wsdl:part name="msg" type="tns2:UnsubscribeMessage"/>
</wsdl:message>
-
	<wsdl:message name="renewSubscriptionRequest">
<wsdl:part name="msg" type="tns2:RenewMessage"/>
</wsdl:message>
-
	<wsdl:message name="subscribeResponse">
<wsdl:part name="subscribeReturn" type="tns2:SubscribeResponseMessage"/>
</wsdl:message>
-
	<wsdl:message name="addResponse">
<wsdl:part name="addReturn" type="xsd:int"/>
</wsdl:message>
-
	<wsdl:message name="subscribeRequest">
<wsdl:part name="msg" type="tns2:SubscribeMessage"/>
</wsdl:message>
-
	<wsdl:message name="renewSubscriptionResponse">
<wsdl:part name="renewSubscriptionReturn" type="tns2:RenewResponseMessage"/>
</wsdl:message>
-
	<wsdl:portType name="Calculator">
-
	<wsdl:operation name="add" parameterOrder="a b">
<wsdl:input message="impl:addRequest" name="addRequest" wsa:Action="http://alqaoud:4807/wspeer/Calculator/add"/>
<wsdl:output message="impl:addResponse" name="addResponse" wsa:Action="http://alqaoud:4807/wspeer/Calculator/addResponse"/>
</wsdl:operation>
-
	<wsdl:operation name="subscribe" parameterOrder="msg">
<wsdl:input message="impl:subscribeRequest" name="subscribeRequest" wsa:Action="http://alqaoud:4807/wspeer/Calculator/subscribe"/>
<wsdl:output message="impl:subscribeResponse" name="subscribeResponse" wsa:Action="http://alqaoud:4807/wspeer/Calculator/subscribeResponse"/>
</wsdl:operation>
-
	<wsdl:operation name="renewSubscription" parameterOrder="msg">
<wsdl:input message="impl:renewSubscriptionRequest" name="renewSubscriptionRequest" wsa:Action="http://alqaoud:4807/wspeer/Calculator/renewSubscription"/>
<wsdl:output message="impl:renewSubscriptionResponse" name="renewSubscriptionResponse" wsa:Action="http://alqaoud:4807/wspeer/Calculator/renewSubscriptionResponse"/>
</wsdl:operation>
-
	<wsdl:operation name="unsubscribe" parameterOrder="msg">
<wsdl:input message="impl:unsubscribeRequest" name="unsubscribeRequest" wsa:Action="http://alqaoud:4807/wspeer/Calculator/unsubscribe"/>
<wsdl:output message="impl:unsubscribeResponse" name="unsubscribeResponse" wsa:Action="http://alqaoud:4807/wspeer/Calculator/unsubscribeResponse"/>
</wsdl:operation>
</wsdl:portType>
-
	<wsdl:binding name="CalculatorSoapBinding" type="impl:Calculator">
<wsdlsoap:binding style="rpc" transport="http://schemas.xmlsoap.org/soap/http"/>
-
	<wsdl:operation name="add">
<wsdlsoap:operation soapAction="http://alqaoud:4807/wspeer/Calculator/add"/>
-
	<wsdl:input name="addRequest">
<wsdlsoap:body encodingStyle="http://schemas.xmlsoap.org/soap/encoding/" namespace="http://alqaoud:4807/wspeer/Calculator" use="encoded"/>
</wsdl:input>
-
	<wsdl:output name="addResponse">
<wsdlsoap:body encodingStyle="http://schemas.xmlsoap.org/soap/encoding/" namespace="http://alqaoud:4807/wspeer/Calculator" use="encoded"/>
</wsdl:output>
</wsdl:operation>
-
	<wsdl:operation name="subscribe">
<wsdlsoap:operation soapAction="http://alqaoud:4807/wspeer/Calculator/subscribe"/>
-
	<wsdl:input name="subscribeRequest">
<wsdlsoap:body encodingStyle="http://schemas.xmlsoap.org/soap/encoding/" namespace="http://alqaoud:4807/wspeer/Calculator" use="encoded"/>
</wsdl:input>
-
	<wsdl:output name="subscribeResponse">
<wsdlsoap:body encodingStyle="http://schemas.xmlsoap.org/soap/encoding/" namespace="http://alqaoud:4807/wspeer/Calculator" use="encoded"/>
</wsdl:output>
</wsdl:operation>
-
	<wsdl:operation name="renewSubscription">
<wsdlsoap:operation soapAction="http://alqaoud:4807/wspeer/Calculator/renewSubscription"/>
-
	<wsdl:input name="renewSubscriptionRequest">
<wsdlsoap:body encodingStyle="http://schemas.xmlsoap.org/soap/encoding/" namespace="http://alqaoud:4807/wspeer/Calculator" use="encoded"/>
</wsdl:input>
-
	<wsdl:output name="renewSubscriptionResponse">
<wsdlsoap:body encodingStyle="http://schemas.xmlsoap.org/soap/encoding/" namespace="http://alqaoud:4807/wspeer/Calculator" use="encoded"/>
</wsdl:output>
</wsdl:operation>
-
	<wsdl:operation name="unsubscribe">
<wsdlsoap:operation soapAction="http://alqaoud:4807/wspeer/Calculator/unsubscribe"/>
-
	<wsdl:input name="unsubscribeRequest">
<wsdlsoap:body encodingStyle="http://schemas.xmlsoap.org/soap/encoding/" namespace="http://alqaoud:4807/wspeer/Calculator" use="encoded"/>
</wsdl:input>
-
	<wsdl:output name="unsubscribeResponse">
<wsdlsoap:body encodingStyle="http://schemas.xmlsoap.org/soap/encoding/" namespace="http://alqaoud:4807/wspeer/Calculator" use="encoded"/>
</wsdl:output>
</wsdl:operation>
</wsdl:binding>
-
	<wsdl:service name="CalculatorService">
-
	<wsdl:port binding="impl:CalculatorSoapBinding" name="Calculator">
<wsdlsoap:address location="http://alqaoud:4807/wspeer/Calculator"/>
</wsdl:port>
</wsdl:service>
</wsdl:definitions>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: Screenshot.png
Type: image/png
Size: 93151 bytes
Desc: not available
URL: <http://lists.nceas.ucsb.edu/kepler/pipermail/kepler-users/attachments/20080912/939870b6/attachment.png>


More information about the Kepler-users mailing list