On Mon, Jun 1, 2009 at 21:18, Roger D <[email protected]> wrote:

> 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;
>     }
> }

I built a simple workflow that worked with the example calculator that
came with my Netbeans - see attached.

Note that it assumes the service is deployed to
http://localhost:8081/CalculatorApp/CalculatorWSService?wsdl

When I run this I get '50' as the answer (13+37).


It seems many of your problems could be related to your too-new (!)
graphviz installation and that Integer/Float bug..

-- 
Stian Soiland-Reyes, myGrid team
School of Computer Science
The University of Manchester

Attachment: netbeanscalculator.t2flow
Description: Binary data

------------------------------------------------------------------------------
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