Hi,

Could you please send us your workflow and any depending libraries so we can have a look at?

Have you imported Java.util.List into your beanshell service?

Alex

On 22/04/2011 18:18, Talha OZ wrote:
What I was expecting was just that the beanshell can run the main function of a class. Anyway, I converted my code to a script, and getting an error from a method of a class which I have already added the jar file in dependencies. Here is the code snippet

Experiment exampleExperiment = createExampleExperiment(providerName, organismName); //this method works OK, this class also imported. List experimentList = searchService.search(exampleExperiment); //this method does not work, I have no clue.

What kind of classes are not supported by beanshell?

Thanks.

-Talha



On Tue, Apr 19, 2011 at 4:47 AM, Alex Nenadic <[email protected] <mailto:[email protected]>> wrote:

    Hi,

    Have you placed the Beanshell result in a variable named after the
    output port? That effectively tell Taverna to "return" the result
    from a Beanshell.

    Can you send us your workflow with the Beanshell code please?

    Regards,
    Alex



    On 18/04/2011 20:56, Talha OZ wrote:
    The same code works as a java application. But does not produce
    any output as a beanshell. And, I do not get any errors.
    What might I be missing?

    Thanks,

    -Talha


    
------------------------------------------------------------------------------
    Benefiting from Server Virtualization: Beyond Initial Workload
    Consolidation -- Increasing the use of server virtualization is a top
    priority.Virtualization can reduce costs, simplify management, and improve
    application availability and disaster protection. Learn more about boosting
    the value of server virtualization.http://p.sf.net/sfu/vmware-sfdev2dev


    _______________________________________________
    taverna-users mailing list
    [email protected]  
<mailto:[email protected]>
    [email protected]  
<mailto:[email protected]>
    Web site:http://www.taverna.org.uk
    Mailing lists:http://www.taverna.org.uk/about/contact-us/



------------------------------------------------------------------------------
WhatsUp Gold - Download Free Network Management Software
The most intuitive, comprehensive, and cost-effective network 
management toolset available today.  Delivers lowest initial 
acquisition cost and overall TCO of any competing solution.
http://p.sf.net/sfu/whatsupgold-sd
_______________________________________________
taverna-users mailing list
[email protected]
[email protected]
Web site: http://www.taverna.org.uk
Mailing lists: http://www.taverna.org.uk/about/contact-us/

Reply via email to