wsdl « jaxb « Java Enterprise Q&A

1. How can you handle invalid enum types using JAXB?

We are using JAXB to handle our wsdl validation. In the wsdl we have an enumeration like so:

<xs:simpleType name="myEnum">
        <xs:documentation>The ...

2. Difference between JAXB and WSDL

3. JaxB annotation to control the wsdl generated with jsr181

I am trying to create a webservice with jsr-181 and wsdl returns some complex type object. the complex type object is defined in the wsdl which gets generated while deployment time. But i want to control the default behavior of the wsdl with JAXB annotation. I tried using XmlElement of Jaxb2 and deploys the same service but the wsdl remains unaffected. ...