aspose file tools*
The moose likes Web Services and the fly likes A question related to creating java based webservices Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Soft Skills this week in the Jobs Discussion forum!
JavaRanch » Java Forums » Java » Web Services
Bookmark "A question related to creating java based webservices" Watch "A question related to creating java based webservices" New topic
Author

A question related to creating java based webservices

Ravi Kiran Va
Ranch Hand

Joined: Apr 18, 2009
Posts: 2234

Hi

I am completely new to web services .please help me in learning that .

I heard that there are actually two approaches for developing java based web services
1. JAX -WS 2. JAX -RPC .

I am question here , where does Apache Axis stand here ?? Is it related to any of these two ??

Thank you .


Save India From Corruption - Anna Hazare.
Ulf Dittmer
Marshal

Joined: Mar 22, 2005
Posts: 42913
    
  68
JAX-RPC is obsolete, don't use it for anything new; JAX-WS is the future.

Axis 1 implements JAX-RPC, but not JAX-WS.

Axis 2 implements JAX-WS, but not JAX-RPC.

Both implement SAAJ (another, more low-level, API for implementing WS in Java).
Ravi Kiran Va
Ranch Hand

Joined: Apr 18, 2009
Posts: 2234

Thank you very much .

Do we get any advantage if we use Axis 2 directly instead of Jax - WS .

Also read that to use JAX -WS we need java 1.6 version or more .Is this true ??
Ulf Dittmer
Marshal

Joined: Mar 22, 2005
Posts: 42913
    
  68
Do we get any advantage if we use Axis 2 directly instead of Jax - WS .

JAX-WS is an API, while Axis 2 is an implementation of that API. So the choice is not between Axis 2 and JAX-WS, it is between Axis 2, Metro, and all the other existing JAX-WS implementations (the differences of which you can look up on their respective web sites, or search for the recent discussion on that subject in this forum).

Also read that to use JAX -WS we need java 1.6 version or more .Is this true ?

No. Java 6 includes JAX-WS and JAXB, but those libraries can be downloaded and added to Java 5 as well.
Ravi Kiran Va
Ranch Hand

Joined: Apr 18, 2009
Posts: 2234

simply Great .Thank you .
Ravi Kiran Va
Ranch Hand

Joined: Apr 18, 2009
Posts: 2234

No. Java 6 includes JAX-WS and JAXB, but those libraries can be downloaded and added to Java 5 as well.


Hi ,

I am using java 5 version . Now i want to use wsimport , can you please tell me what are jar files i need to download to support this option .
waiting for your reply .
Thanks
Ulf Dittmer
Marshal

Joined: Mar 22, 2005
Posts: 42913
    
  68
JAX-WS and JAXB can both be found on dev.java.net.
 
jQuery in Action, 2nd edition
 
subject: A question related to creating java based webservices