This week's book giveaway is in the Python forum.
We're giving away four copies of Python Continuous Integration and Delivery and have Moritz Lenz on-line!
See this thread for details.
Win a copy of Python Continuous Integration and Delivery this week in the Python forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Liutauras Vilda
  • Bear Bibeault
  • Paul Clapham
  • Jeanne Boyarsky
Sheriffs:
  • Devaka Cooray
  • Junilu Lacar
  • Tim Cooke
Saloon Keepers:
  • Tim Moores
  • Ron McLeod
  • Tim Holloway
  • Claude Moore
  • Stephan van Hulst
Bartenders:
  • Winston Gutkowski
  • Carey Brown
  • Frits Walraven

webservice  RSS feed

 
Ranch Hand
Posts: 265
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi


I am new to web serices.

I am trying to execte Calculator program using wsad5.1.

I creates small class and generating wsdl file using wsad.

But i dont know how to write client program .

this is the Calculator.java file

public class Calculator {
public int add(int a, int b) {

return a+b;
}
public int mul(int a, int b) {

return a*b;
}
public int div(int a, int b) {

return a/b;
}
public int sub(int a, int b) {

return a-b;
}
}


Can any body tell us how to write client program ?
 
Rancher
Posts: 42974
76
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Axis ships with a simple Calculator service and client with source code. It's in the samples\userguide\example2 directory. It uses the org.apache.axis.* classes, but it should be fairly easy to change those to use the JAX-RPC classes, if you need to.
 
Don't get me started about those stupid light bulbs.
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!