Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Web-Service: JAX-WS, CXF, WSDL... What's that all about?

Sorry fot his newbie question. But I really need a start on this one. I want to access a webservice in my Java EE project. This webservice offers a WSDL file. So I understand I can use this to build Java code from it to access the web service. Now I read that Apache CXF is a good framework that I can use. But what's the difference to JAX-WS?

Could someone please explain this to me?

like image 250
tzippy Avatar asked Aug 11 '10 10:08

tzippy


People also ask

What is CXF used for?

CXF helps you build and develop services using frontend programming APIs, like JAX-WS and JAX-RS. These services can speak a variety of protocols such as SOAP, XML/HTTP, RESTful HTTP, or CORBA and work over a variety of transports such as HTTP, JMS or JBI.

What is JAX-WS used for?

JAX-WS is a fundamental technology for developing SOAP (Simple Object Access Protocol) and RESTful (Web services that use representational state transfer, or REST, tools) Java Web services, where JAX-WS is designed to take the place of the JAVA-RPC (Remote Procedure Call) interface in Web services and Web-based ...

What does Apache CXF stand for?

Apache CXF is the product of two projects, Celtix and XFire , hence the name CXF . Celtix , an open source Java-based Enterprise Service Bus (ESB) project, is a product of ObjectWeb consortia that delivers open source middleware solutions.

What is JAX-RS CXF?

Apache CXF is a opensource web services framework which supports multiple types of APIs such as JAX-RS (REST) and JAX-WS (SOAP) and multple transports such as HTTP and JMS.


1 Answers

JAX-WS is a Specification (provided by Sun Oracle) to defining Web Services by use of Annotations.

Apache CXF is a framework that implements JAX-WS to generate Web Services Definitions and Java Proxy (from a Web Service Definitions)

Apache Axis 2 is also a framework that now supports JAX-WS (up to JAX-WS 2). It's an improvement from Apache Axis. CXF supports up to JAX-WS 1.2.

Brief tutorial can be found here.

like image 196
Buhake Sindi Avatar answered Oct 03 '22 15:10

Buhake Sindi