Sergejs Aleksejevs wrote:
> Hello,
Hello Sergejs,
> I'm interested in a similar thing - given a WSDL location and operation
> name I would like to create a Processor. After that, I'd like to add it
> to the current workflow, so that the result of such action would be
> similar to dragging and dropping a processor from the Service Panel.
> Is this possible?
Do you want to do this in the Workbench or just change a Dataflow directly?
The difference is that when you add a service from the service panel,
then you can cause other things to happen e.g. the configuration dialog
to come up for a beanshell, or additional services to be inserted for a
BioMoby service. The addition also be undone/redone.
I'm assuming you want to do it in the Workbench. Then the easiest way
is to create a ServiceDescription, for example,
WSDLServiceDescription myServiceDescription =
new WSDLServiceDescription();
myServiceDescription.setOperation("myOperation");
myServiceDescription.setUse("literal"); // or "encoded"
myServiceDescription.setStyle("document"); // or "rpc"
myServiceDescription.setURI(myWsdlEndpoint);
myServiceDescription.setDescription("My WSDL operation");
and then do
WorkflowView.importServiceDescription(myServiceDescription, false);
> Thank you,
> Sergey
Alan
------------------------------------------------------------------------------
The Planet: dedicated and managed hosting, cloud storage, colocation
Stay online with enterprise data centers and the best network in the business
Choose flexible plans and management services without long-term contracts
Personal 24x7 support from experience hosting pros just a phone call away.
http://p.sf.net/sfu/theplanet-com
_______________________________________________
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