another question is that, the code which defines the activity does not know the exact name of the activity instance in the workflow definition file
Wei Tan wrote: > Alan Williams wrote: > >> Wei Tan wrote: >> > Hi, >> > >> > We have developed a plug-in activity (let's call it activity C) which >> > will connect to a WSDL activity. In C we need to know the URL of the >> > WSDL activity which it connects. >> >> What happens if it is connected to more than one activity? What if it >> is connected to, say, a Beanshell or a workflow output port? >> >> > It could connect to more than one activities (beanshell, output port, > etc), but it should connect to one WSDL activity. > >> > Is there a API to get it? I guess a feasible approach is to parse the >> > current editing workflow model, get the link starts from C and then find >> > the target WSDL activity? >> >> Yes, you would need to get the connections of the port and see what is >> at the end of those connections. >> >> It sounds as if you are "asking the wrong question" :-) Are you sure >> you want to do this as a stand-alone activity? >> >> > You can think it as a helper activity to generate an input soap msg for > a wsdl activity more easily. > I can embed it into a wsdl activity (and then I will have a new combo > activity) but users may be > confused of so many activity types... > > > Thanks Alan, > > Wei > >> > Any suggestion is appreciated. >> > >> > Best regards, >> > >> > Wei >> >> Alan >> >> >> >> ------------------------------------------------------------------------------ >> Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day >> trial. Simplify your report design, integration and deployment - and focus >> on >> what you do best, core application coding. Discover what's new with >> Crystal Reports now. http://p.sf.net/sfu/bobj-july >> _______________________________________________ >> taverna-hackers mailing list >> [email protected] >> Web site: http://www.taverna.org.uk >> Mailing lists: http://www.taverna.org.uk/taverna-mailing-lists/ >> Developers Guide: http://www.mygrid.org.uk/tools/developer-information >> >> > > -- Wei Tan, Ph.D. Computation Institute the University of Chicago|Argonne National Laboratory http://www.mcs.anl.gov/~wtan ------------------------------------------------------------------------------ Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day trial. Simplify your report design, integration and deployment - and focus on what you do best, core application coding. Discover what's new with Crystal Reports now. http://p.sf.net/sfu/bobj-july _______________________________________________ taverna-hackers mailing list [email protected] Web site: http://www.taverna.org.uk Mailing lists: http://www.taverna.org.uk/taverna-mailing-lists/ Developers Guide: http://www.mygrid.org.uk/tools/developer-information
