Axis2: When to Use a Wsdd File with Axis2 Webservices

I am using Axis2 to develop web services.

I started with a WSDL file and used the WSDL2Java command line and generated all the code associated with it (Skeltons), wrote a services.xml file, modified skelton (implemented business logic in it) and deployed it as an .aar file inside the Axis2.war folder services .

Now my question is: I saw some examples using the .wsdd file with Axis2 Webservices, I'm really confused by this, please tell me if we need a .wsdd file?

+6
source share
4 answers

Axis2 uses services.xml as a descriptor file.

+5
source

You do not need to have .wsdd files with Axis2 - it was used in Axis ..

+1
source

In Axis 1, we use the wsdd file. In Axis2, we use the services.xml file or sun-jaxws.xml.

+1
source

You do not need a .wsdd file in Axis2. To understand the transition from Axis 1.x to Axis2 and the improvements Axis2 has over Axis1, visit the Apache Axis article: https://axis.apache.org/axis2/java/core/docs/ migration.html

0
source

Source: https://habr.com/ru/post/897761/


All Articles