• Post Reply Bookmark Topic Watch Topic
  • New Topic

Use of web service in java  RSS feed

 
ManikKS Kashikar
Greenhorn
Posts: 8
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
How to use web service in JAVA ? can anybody tell me the simple way to access web service from java code

Thanks in advance

regards,
Manik
 
Ulf Dittmer
Rancher
Posts: 42970
73
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Two common APIs are JAX-RPC and SAAJ. SAAJ works on a lower level than JAX-RPC, and some XML knowledge will come in handy when using it.
 
William Brogden
Author and all-around good cowpoke
Rancher
Posts: 13078
6
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
The open source AXIS project toolkit is easy to install and comes with LOTS of examples of building web services and web service clients.
Bill
 
Masoud Kalali
Author
Ranch Hand
Posts: 531
Java Mac OS X Netbeans IDE
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi
If you want fastest way to access web service from java code then
definitly you need to take a look at :
http://www.netbeans.org/kb/50/index.html
and sure you will need to download the IDE itself from :
go with version 5
http://www.netbeans.info/downloads/download.php?a=n&p=1

this IDE will help you to import a web service into your java project and use it like you are using a normal java object.
as Ulf said , in case that you want to use WS you will need some knowledge of XML and java XML APIs.
but with IDEs that provide simple wizards you will get to working sample faster
 
It is sorta covered in the JavaRanch Style Guide.
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!