Originally posted by swarupa patil: Which tools are used for web service operations?
When dealing with SOAP based web services you need a WSDL to create a stub with a WSDL2Java compiler. The WSDL refers to XML Schemas but the schemas themselves are not enough. What that WSDL2Java compiler is called depends on the web service toolkit that you are using.
I want to know how to generate the java classes from XSD.
Now if you are simply retrieving an XML document over an HTTP connection then you can use JAXB to do the (un)marshalling.
Hi, Which one is better whether to use XMLBeans or JAXB. What is the difference between the two. regards sudha
Joined: Aug 19, 2005
Originally posted by sudha swami: Which one is better whether to use XMLBeans or JAXB. What is the difference between the two.
JAXB is part of the standard Java distribution starting with Java SE 6 and Java EE 5. XmlBeans is an open source project that predates JAXB - it will always be separate and never be part of the standard Java distribution.
JAXB 1.0 requires Java 1.4. JAXB 2.0 requires Java 1.5. Some XmlBeans versions probably work with pre-1.4.