File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/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 Murach's Java Servlets and JSP this week in the Servlets 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: 41087
    
  43
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).


Ping & DNS - my free Android networking tools app
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: 41087
    
  43
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: 41087
    
  43
JAX-WS and JAXB can both be found on dev.java.net.
 
It is sorta covered in the JavaRanch Style Guide.
 
subject: A question related to creating java based webservices
 
Similar Threads
Good books on web services
Web Services Book
Any feedback for SCDJWS Beta?
JAX-WS / JAX-RPC comparison
JAX-WS dynamic proxies and increased platform independence