Granny's Programming Pearls
"inside of every large program is a small program struggling to get out"
The moose likes Web Services and the fly likes JAX WS Web Service Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login

Win a copy of Android Security Essentials Live Lessons this week in the Android forum!
JavaRanch » Java Forums » Java » Web Services
Bookmark "JAX WS Web Service" Watch "JAX WS Web Service" New topic

JAX WS Web Service

Amit Bathla
Ranch Hand

Joined: Feb 11, 2005
Posts: 51
Hi All,

I am developing a Jax-WS web service using Spring WS (using RSA 7.5 and Java 1.6, Spring 3.0). I've a doubt if we can call webservice developed using JAX WS from a client which is developed in J2EE 1.4 or Java 1.4.


University of Florida
Shashank Ag
Ranch Hand

Joined: Dec 22, 2009
Posts: 88

If you adhare to WSDL standards then versions and even programming langauages are no bar.
You can do so most certainly.........

SCJP 91%, SCWCD 97%
Naren Chivukula
Ranch Hand

Joined: Feb 03, 2004
Posts: 576

Hi Shahank,
Yes you can as long as you stick to SOAP 1.1 because JAX-RPC1.1 API(J2EE 1.4 Web Services API) doesn't know SOAP1.2.

(OCEEJBD6, SCWCD5, SCDJWS, SCJP1.4 and Oracle SQL 1Z0-051)
Amit Bathla
Ranch Hand

Joined: Feb 11, 2005
Posts: 51
Thanks Naren and Shashank

So this means that I can call JAX WS WebService from a JAX RPC client(jee 1.4 only supports JAX RPC)?

Ulf Dittmer

Joined: Mar 22, 2005
Posts: 41180
JAX-WS, JAX-RPC and SAAJ are just different Java APIs that can be used on one or on both sides of a WS connection. Your J2EE 1.4 tools should have no problems creating Java client code that accesses a WS that's implemented using JAX-WS.

Ping & DNS - my free Android networking tools app
Amit Bathla
Ranch Hand

Joined: Feb 11, 2005
Posts: 51
Thanks Ulf,

your reply was very clear , It helped a lot.
I agree. Here's the link:
subject: JAX WS Web Service
Similar Threads
How to generate a WSDL for a Java based web service developed using JAXWS Annotations
Spring-ws client with Jax-ws web service
Web services overall picture and Jax-RPC
non-SOAP axis2 web service
JAX-WS client to invoke JAX-RPC