Axis2 supports Web Service creation using AXIOM, JAXB, ADB and XMLBeans. I am new in this area of Web Service development and want to create a Web Service using Axis2. The web service is going to be very simple but I am expecting it to change quite frequently. I felt AXIOM is good as it allows you to specify your service requirements in service.xml file and then creates it accordingly for you. So I thought this will make my life easier as in future for any change in my web service I only need to change service.xml file and some code in by .java classes for web services. But other methods have their own advantages too. Considering my requirements, can you tell me which method should I adopt in creating the web service? Note: I would love to extend support for both REST and SOAP Web Service.
Whats the right choice for me for building Web Service using Axis2 - AXIOM, JAXB, ADB or XMLBeans
5.5k views Asked by chitresh At
1
There are 1 answers
Related Questions in JAVA
- I need the BIRT.war that is compatible with Java 17 and Tomcat 10
- Creating global Class holder
- No method found for class java.lang.String in Kafka
- Issue edit a jtable with a pictures
- getting error when trying to launch kotlin jar file that use supabase "java.lang.NoClassDefFoundError"
- Does the && (logical AND) operator have a higher precedence than || (logical OR) operator in Java?
- Mixed color rendering in a JTable
- HTTPS configuration in Spring Boot, server returning timeout
- How to use Layout to create textfields which dont increase in size?
- Function for making the code wait in javafx
- How to create beans of the same class for multiple template parameters in Spring
- How could you print a specific String from an array with the values of an array from a double array on the same line, using iteration to print all?
- org.telegram.telegrambots.meta.exceptions.TelegramApiException: Bot token and username can't be empty
- Accessing Secret Variables in Classic Pipelines through Java app in Azure DevOps
- Postgres && statement Error in Mybatis Mapper?
Related Questions in WEB-SERVICES
- Apache CXF is unable to handle duplicate localnames
- Why do we call all http services 'Web Api/Web Service'?
- Postman Webservice PHP Curl Code POST request giving forbidden error when run in local
- Migrate ASMX web method to WCF which accepts string array
- PKIX failed when using custom SSLcontext with custom keyStore and trustStore
- Problems in Validations via Web Service in a Vue 3 Application
- Maven plugin 100% compatible Java21 to generate stub classes from WSDL file and generate *.wsdl from java classes? A solution
- Kubernetes Ingress Port to Port route
- How to handle a multi thread tests calling a single thread web service in .Net Framework 4.6?
- oracle.dataaccess.dll keep showing up as reference after build of C# web service using Oracle MDAC
- Your thoughts on the suggested architecture for addressing the challenges and maintenance of third-party API implementation
- Issue with BizTalk register WCF-WSHttp adapter while calling web service
- Does PHP SoapClient creates XML to be sent to webservice end point, based on WSDL file, while using CURL the XML should be manually created?
- Invoice API in Authorize.net like Square
- Publish JAXWS Endpoint in the same port than Spring boot
Related Questions in JAXB
- Migrating Spring Boot 2 to 3 throws org.glassfish.jaxb.runtime.v2.runtime.IllegalAnnotationsException: 3 counts of IllegalAnnotationExceptions
- ModelMapper: mapping an xs:IDREF which is a List of JAXBElement of Object
- 'Code too large' XML to Java using Jaxb2 and Castor maven plugins
- Migrating TransformerFactory Property from javax.xml.Transform to Jakarta in Spring 6 and Java 17
- Quarkus 3.8.x Java 17 NoClassDefFoundError: javax/xml/bind/JAXBException Dependency Conflict
- Why is this Enum class not JAXB-marshalled?
- CXF Codegen wsdlToJava JAXBException
- Troubleshooting JAXBException in JobRunr Scheduled Task with JDK 17 Spring Boot App deployed in Azure App Service
- Upgrading java 8 to 17, jaxb to jakarta generates source classes from wsdl with javax.xml.bind package and complains about package does not exist
- How to share/reuse classes between modularized JAXB/JAX-WS maven modules?
- Docx4J not working on Websphere Liberty Server 24.0.0.2
- JAXBException: Property appears in @XmlType.propOrder, but no such property exists
- How to consume SOAP web service in Spring?
- Applying constraints to the type arguments of parameterized types
- java.lang.NoClassDefFoundError: javax/xml/bind/annotation/XmlElement
Related Questions in APACHE-AXIS
- error in captcha generation {} org.apache.axis.AxisFault: (404)Not Found Spring Boot Application
- Upgrade from Axis 1.62 to Axis 1.79 and disable SOAPAction validation
- SOAP Operation not found if WSA Action is null
- How to consume RPC encoded WSDL in JAX-WS 2+
- Send attachments with Axis-generated SOAP client
- Does Axis 2 support Java 17?
- IWAB0503E Unable to update Java build path. Please check your system environment. java.io.FileNotFoundException: /lib/axis.jar
- Web Service Deployment Issues: Incorrect URL Redirect and EPR Error
- Axis2 version 1.8.2 soap envelope missing in request
- java.lang.ClassNotFoundException: org.apache.axis2.jaxws.framework.JAXWSServiceBuilderExtension
- WebServcie data return XML format issue
- Prompt for timeout when calling WebService using Axis
- Interface timeout when calling WebService
- Soap Body contains only partial contents of file
- DEBUG_FRAME log messages in catalina.out after starting tomcat
Related Questions in AXIOM
- Soap Body contains only partial contents of file
- Resolving Security Vulnerability in axiom-api 1.4 Due to Internal Dependency on apache-mime4j-core 0.8.6
- OMLinkedListMetaFactory ClassCastException in a Tomcat Project on OpenSuse Server but not Locally
- How to resolve ClassNotFoundException with specific Axis2 and Axiom combinations in Tomcat 9 and Java 11?
- Camel, Spring WS and Axiom MTOM and reading the attachments
- SOAP MTOM functionality after ,Upgrading axiom-impl-1.2.20.jar to axiom-impl-1.4.0.jar throws NULL Pointer for Datahandler
- OMXMLBuilderFactory.createOMBuilder().getDocumentElement() creates empty elements for elements witout a body
- I want to grab the username of each seller on this poshmark webpage using javascript, cheerio, and axiom
- Hot to get SOAPBody String in axis2
- Updating to axiom-impl from 1.3.0 to 1.4.0
- < issue in AXIOM parser
- Method threw 'org.apache.axiom.om.OMException' exception. Cannot evaluate org.apache.axiom.om.impl.llom.OMSourcedElementImpl.toString()
- axis2 jar version 1.8.0 with axiom version 1.3.0 throws SOAP11HeaderImpl
- DTD parsing with axiom
- apache axiom soap client class mediator in EI 6.6.0
Popular Questions
- How do I undo the most recent local commits in Git?
- How can I remove a specific item from an array in JavaScript?
- How do I delete a Git branch locally and remotely?
- Find all files containing a specific text (string) on Linux?
- How do I revert a Git repository to a previous commit?
- How do I create an HTML button that acts like a link?
- How do I check out a remote Git branch?
- How do I force "git pull" to overwrite local files?
- How do I list all files of a directory?
- How to check whether a string contains a substring in JavaScript?
- How do I redirect to another webpage?
- How can I iterate over rows in a Pandas DataFrame?
- How do I convert a String to an int in Java?
- Does Python have a string 'contains' substring method?
- How do I check if a string contains a specific word?
Trending Questions
- UIImageView Frame Doesn't Reflect Constraints
- Is it possible to use adb commands to click on a view by finding its ID?
- How to create a new web character symbol recognizable by html/javascript?
- Why isn't my CSS3 animation smooth in Google Chrome (but very smooth on other browsers)?
- Heap Gives Page Fault
- Connect ffmpeg to Visual Studio 2008
- Both Object- and ValueAnimator jumps when Duration is set above API LvL 24
- How to avoid default initialization of objects in std::vector?
- second argument of the command line arguments in a format other than char** argv or char* argv[]
- How to improve efficiency of algorithm which generates next lexicographic permutation?
- Navigating to the another actvity app getting crash in android
- How to read the particular message format in android and store in sqlite database?
- Resetting inventory status after order is cancelled
- Efficiently compute powers of X in SSE/AVX
- Insert into an external database using ajax and php : POST 500 (Internal Server Error)
I'll start by admitting my bias that I lead the MOXy JAXB implementation, which leads me into my first point.
1. There are multiple JAXB implementations
Since JAXB is a standard (JSR-222), there are multiple implementations: Metro (the reference implementation), EclipseLink MOXy, Apache JaxMe, etc. If you hit a show stopper bug in one implementation you can try another.
2. JAXB is the default binding layer for both JAX-RS (RESTful Web Services) and JAX-WS (SOAP Web Services)
JAXB was designed in conjunction with JAX-WS, and JAX-RS was written to leverage JAXB. JAXB is supported on all Java EE 5 and Java EE 6 application servers.
3. JAXB supports Java 5 features such as generics and enums
This may or not be a big deal for you, but JAXB supports generics and enums while XML Beans does not.
4. Individual Implementations have very useful extensions
For example MOXy has extensions for XPath based mapping, XML metadata file, and extensions for mapping JPA entities: