Hi, Let me see whether I can make this clear. JAX-WS is a standard that basically says how to map a WSDL to a bunch of Java classes or a java class to a WSDL. Since this mapping is well defined all the Java SOAP stacks that implement JAX-WS specification would have the same interface (Note that the internal implementation is specific to whatever the framework. However the interfaces a programmer would see stay the same) and makes it possible for the users to seamlessly move between implementations - at least that is the idea.
However the interesting point here is that you can access a web service in a non JAX-WS way. For example right now the default Axis2 client/server code does not follow the JAX-WS conventions. Hence the answer to the question of whether JAX-WS and Axis2 are mutually exclusive is mixed. i.e. given a web service it is possible to access it in the JAX-WS way or in any other way that you want as long as you follow the basic web service rules and the same goes for implementing the service. JAX-WS is a recommendation as far as a Java SOAP stack is considered. if you want to know why someone would not want to adhere to JAX-WS there are good reasons for that too. Here is one analysis (http://rmh.blogs.com/weblog/2006/03/jaxws_is_bad_ba.html). To give a simpler reason if you go through the spec you'll see that it defines certain things based on JDK 1.5 and in reality the whole world has not moved to JDK 1.5 yet. As for playing together - yes they can at a service level. In a broader sense that is the whole idea of having web services - loose coupling. As far as the rules are not broken, one can implement web services in any way, Axis, JWSDP,.net - whatever the underlying technology would not matter. HTH Ajith On 9/20/07, Horninger, Joe (Contr) (Mission Systems) <[EMAIL PROTECTED]> wrote: > This opens up a really interesting question. I thought that JAX-WS / > Axis were mutually exclusive for a Web Service. Is this a true > statement? Right now I'm running a mix of JWSDP (still haven't upgraded > to JAX-WS) and Axis services due to restrictions placed by the > Management. I know that you can host JWSDP and Axis services on the > same server, but outside of that, I don't think they can really play > together. Am I correct here? > -- Ajith Ranabahu Reading, after a certain age, diverts the mind too much from its creative pursuits. Any man who reads too much and uses his own brain too little falls into lazy habits of thinking - Albert Einstein --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
