More comments on the previous email

7) that simple web service works well in Taverna 1.7 (xml splitters are still 
needed though, but it works)
8) I doubt my graphviz does not work well with Taverna 2.0 since I cannot even 
add an workflow output - nothing happens when I click, right click, or double 
click 'output' from the list on the right panel to add a workflow output.

From: [email protected]
To: [email protected]
Date: Mon, 1 Jun 2009 16:18:15 -0400
Subject: Re: [Taverna-users] Tomcat AXIS2 and Taverna 2.0








Thanks for the hints Mahmut, I tried to use Netbean with a simple web service - 
it was tested and worked in browsers.

I am still having troubles cooperating that web service into Taverna 2.0

1) The simple web service was created by following 
http://www.netbeans.org/kb/docs/websvc/jax-ws.html#Exercise_1

@WebService()
public class CalculatorWS {

    /**
     * Web service operation
     */
    @WebMethod(operationName = "add")
    public int add(@WebParam(name = "i") int i,
                   @WebParam(name = "j") int j) {
        int k = i + j;

        return k;
    }
}


2) I was able to add 
http://localhost:8080/CalculatorWSApplication/CalculatorWS?wsdl into Taverna as 
a WSDL activity
3) I had to use XML splitters for both input and output (I wonder if this has 
to be done in this way)
4) the splitter for the input exposes 2 input parameters correctly, i and j 
respectively.  (they are both integers )
5) but seems no way that I can give i and j initial values, double click, right 
click, or left click from the splitter did not do anything.
6) and the console gives the following errors:

Exception in thread "AWT-EventQueue-0" java.lang.NumberFormatException: For 
input string: "71.78"
    at 
java.lang.NumberFormatException.forInputString(NumberFormatException.java:48)
    at java.lang.Integer.parseInt(Integer.java:456)
    at java.lang.Integer.parseInt(Integer.java:497)
    at 
net.sf.taverna.t2.workbench.models.graph.dot.GraphLayout.getPath(GraphLayout.java:249)
    at 
net.sf.taverna.t2.workbench.models.graph.dot.GraphLayout.visit(GraphLayout.java:218)
    at 
net.sf.taverna.t2.workbench.models.graph.dot.ASTAList.jjtAccept(ASTAList.java:17)
    at 
net.sf.taverna.t2.workbench.models.graph.dot.SimpleNode.childrenAccept(SimpleNode.java:57)
    at 
net.sf.taverna.t2.workbench.models.graph.dot.GraphLayout.visit(GraphLayout.java:221)
    at 
net.sf.taverna.t2.workbench.models.graph.dot.ASTAList.jjtAccept(ASTAList.java:17)
    at 
net.sf.taverna.t2.workbench.models.graph.dot.SimpleNode.childrenAccept(SimpleNode.java:57)
    at 
net.sf.taverna.t2.workbench.models.graph.dot.GraphLayout.visit(GraphLayout.java:221)
    at 
net.sf.taverna.t2.workbench.models.graph.dot.ASTAList.jjtAccept(ASTAList.java:17)
    at 
net.sf.taverna.t2.workbench.models.graph.dot.SimpleNode.childrenAccept(SimpleNode.java:57)
    at 
net.sf.taverna.t2.workbench.models.graph.dot.GraphLayout.visit(GraphLayout.java:221)
    at 
net.sf.taverna.t2.workbench.models.graph.dot.ASTAList.jjtAccept(ASTAList.java:17)
    at 
net.sf.taverna.t2.workbench.models.graph.dot.SimpleNode.childrenAccept(SimpleNode.java:57)
    at 
net.sf.taverna.t2.workbench.models.graph.dot.GraphLayout.visit(GraphLayout.java:153)
    ...........


I really appreciate if you can help me on that.


Roger


> Date: Thu, 28 May 2009 09:45:40 +0100
> From: [email protected]
> To: [email protected]
> Subject: Re: [Taverna-users] Tomcat AXIS2 and Taverna 2.0
> 
> Hi Roger,
> 
> As far as i know taverna works with most WSDLs irrespective of technology
> it was generated but the type/style of WSDL is important, if it is WS-I
> compliant it generally works except there were issues raised in the email
> list that there are problems with type inheritance and multiple services
> in one WSDL, however most web services around don't use both of these
> features. Couple of weeks ago there was a user complaining about his/her
> web services not recognized by taverna, another taverna user/hacker
> advised him to use document/literal wrapped style, after this cahnge his
> WSDL files were successfully recognized by taverna.
> 
> I don't know your level of Java skills but i can recommend Netbeans for
> developing Java web services if you don't have strong skills in Java Web
> Services programming, it is quite stable, user friendly and netbeans web
> site has good tutorials. My personal selection of web services stack is
> jax-ws but if you prefer to use Axis2 netbeans support it. soapui is also
> one of the best tools that you can use for testing web services even for
> consuming web services in your daily work.
> 
> (i was planning to reply to your soaplab plugin mail in the list but
> haven't managed so far, i will reply next week after i met Martin)
> 
> Regards,
> Mahmut
> 
> 
> >
> > Here is another problem with Taverna 2.0.
> >
> >
> >
> > I am trying to add a WSDL activity, for example
> > http://localhost:8080/axis2/services/Version?wsdl - this URL endpoint
> > works
> > fine and the browser displays the wsdl properly. With Taverna 1.7, I was
> > able
> > to add it to the service list, but with Taverna 2.0, it complains that
> > there was
> > IO error when parsing the WSDL.
> >
> >
> >
> > I was wondering if Taverna 2.0 works with AXIS 2 at all.
> >
> >
> >
> > Thanks!
> >
> > _________________________________________________________________
> > Windows Live helps you keep up with all your friends, in one place.
> > http://go.microsoft.com/?linkid=9660826------------------------------------------------------------------------------
> > Register Now for Creativity and Technology (CaT), June 3rd, NYC. CaT
> > is a gathering of tech-side developers & brand creativity professionals.
> > Meet
> > the minds behind Google Creative Lab, Visual Complexity, Processing, &
> > iPhoneDevCamp as they present alongside digital heavyweights like
> > Barbarian
> > Group, R/GA, & Big Spaceship. http://p.sf.net/sfu/creativitycat-com
> > _______________________________________________
> > taverna-users mailing list
> > [email protected]
> > [email protected]
> > Web site: http://www.taverna.org.uk
> > Mailing lists: http://www.taverna.org.uk/taverna-mailing-lists/
> >
> 
> 
> 
> ------------------------------------------------------------------------------
> Register Now for Creativity and Technology (CaT), June 3rd, NYC. CaT 
> is a gathering of tech-side developers & brand creativity professionals. Meet
> the minds behind Google Creative Lab, Visual Complexity, Processing, & 
> iPhoneDevCamp as they present alongside digital heavyweights like Barbarian 
> Group, R/GA, & Big Spaceship. http://p.sf.net/sfu/creativitycat-com 
> _______________________________________________
> taverna-users mailing list
> [email protected]
> [email protected]
> Web site: http://www.taverna.org.uk
> Mailing lists: http://www.taverna.org.uk/taverna-mailing-lists/

Windows Live helps you keep up with all your friends,  in one place.
_________________________________________________________________
Internet explorer 8 lets you browse the web faster.
http://go.microsoft.com/?linkid=9655582
------------------------------------------------------------------------------
OpenSolaris 2009.06 is a cutting edge operating system for enterprises 
looking to deploy the next generation of Solaris that includes the latest 
innovations from Sun and the OpenSource community. Download a copy and 
enjoy capabilities such as Networking, Storage and Virtualization. 
Go to: http://p.sf.net/sfu/opensolaris-get
_______________________________________________
taverna-users mailing list
[email protected]
[email protected]
Web site: http://www.taverna.org.uk
Mailing lists: http://www.taverna.org.uk/taverna-mailing-lists/

Reply via email to