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?
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.