users@glassfish.java.net

How to add elementFormDefault to a WebService

From: Edson Carlos Ericksson Richter <edson.richter_at_mgrinformatica.com.br>
Date: Fri, 04 Aug 2006 18:53:47 -0300

Hi!

I'm trying add annotation to specify elementFormDefault=QUALIFIED to a
web service, without success.
In NetBeans 5.5, I got an advise to add
@XmlSchema(elementFormDefault=QUALIFIED) into package-info.java file.
I've done it, but WSDL still have no elementFormDefault=QUALIFIED on it.

Someone could tell me how to do it (I'm using NB 5.5 latest daily build
with Glassfish b48).


TIA,

Richter