Axis2 and XML Schema Tuning in an Upstream Approach

I am using axis2 to create a web service from the java class I created. Everything works fine, but I would like to configure wsdl and I cannot figure out how to do this. I tried using some JAXB annotations with my objects (using axis 1), but this did not affect the wsdl generation.

I would like to specify nillable = true for some elements and require others. I would also like to be able to change element names and other things. Should axis 2 look at JAXB2.0 annotations if WSDL is not included in the META-INF folder?

I'm trying to tune Google to the bottom-up diagram scheme, but I'm out of luck. The axis2 website only shows the basic steps to create a web service or client, but nothing is required to configure the schema.

+5
source share
2 answers

To use JAXB annotation using AXIS2, you should take a look at this article:

Java Web Services: JAXB and JAX-WS in Axis2

+2
source

At Eclipse.org you will find the Eclipse Helios Eclipse IDE for Java EE developers, which are useful for building a web service, and you can look at the documentation once for effective use.

0
source

All Articles