JaxB annotation to control the wsdl generated with jsr181
posted 7 years ago
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. is there anything i am missing to do to get the jaxb annotations properly applied to change the generated wsdl behavior.
Also i am trying all this on Oracle Server if that makes any difference.