File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
The moose likes Web Services and the fly likes Axis client stub compatibility Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Java » Web Services
Bookmark "Axis client stub compatibility" Watch "Axis client stub compatibility" New topic

Axis client stub compatibility

Yuriy Zilbergleyt
Ranch Hand

Joined: Dec 13, 2004
Posts: 429
Does anyone know if Axis client stubs generated through WSDL2Java are compatible with all webservices, not just the ones that are using Axis on the server? That is, can I use WSDL2Java to create client stubs from a wsdl without worrying about what's on the back end?

Thank you,
Balaji Loganathan
author and deputy

Joined: Jul 13, 2001
Posts: 3150
Well yes and no. As long as the given wsdl uses encoding like RPC or document or literal with primitive data types!!!, for that you can rely on WSDL2Java.
WSDL can also have complex object return types with or without arrays, inbuilt schema definitions, in-house objects, xml digital signatures, security details and so on. For this kind, its better analyse/test/use the wsdl using wsdl2java.
WS Standards were also on their way, like WS-I, II, basic, WS security, transactions etc., Apache Axis and other tools will take it own course of time to have a REAL compatibility.
I would like to see others opinion as well.

Spritle Software Blogs
I agree. Here's the link:
subject: Axis client stub compatibility
It's not a secret anymore!