Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Axis2 with WSDL 2.0 Tutorial

I used Axis2 to create a web service. Axis2 is creating a WSDL which is version 1.1?

How can I create a WSDL version 2.0 for my web service?

Note: I know how to create a web service with Axis2 and Eclipse. So please share a tutorial for a WSDL 2.0 web service.

like image 702
Pasupathi Rajamanickam Avatar asked Oct 20 '25 10:10

Pasupathi Rajamanickam


1 Answers

Axis2 added support for WSDL 2.0 but it didn't make big news because WSDL 1.1 is still the de facto standard for describing SOAP web services.

Having said that, if I remember correctly, you need to add ?wsdl2 to the URL to get back a WSDL 2.0 description of your service. Using ?wsdl gets you back the WSDL 1.1 version.

Since they have support for WSDL 2.0 it should make sense that Wsdl2Java has also been upgraded to support generating code from WSDL 2.0.

So basically, developing the web service should be the same, it's just that now they have two ways of exposing the web service description.

like image 100
Bogdan Avatar answered Oct 22 '25 01:10

Bogdan



Donate For Us

If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!