javaee / metro-jax-ws

https://javaee.github.io/metro-jax-ws/
Other
132 stars 68 forks source link

Setting elementFormDefault to qualified by default #498

Open glassfishrobot opened 16 years ago

glassfishrobot commented 16 years ago

When creating java based web service generated schema doesn't contain elementFormDefault attribute which means elementFormDefault is unqualified. This is completely valid but more common is to set elementFormDefault to qualified. It is probably too late to change this behavior but please consider this for next major release.

Environment

Operating System: All Platform: All

Affected Versions

[2.1]

glassfishrobot commented 16 years ago

Reported by vojtechhabarta@java.net

glassfishrobot commented 14 years ago

scchen@java.net said: There are arguments on the other side, and it may not be a good idea to change the default value as it will break existing application. The spec however could consider an easier way to specify the value of elementFormDefault of the generated schema. For example in the case doc-literal wrapped, it is not so clear how the schema of the generated wrapper types can be switched between qualified and unqualified.

glassfishrobot commented 14 years ago

ramapulavarthi@java.net said: JAX-WS by default is going to create wrappers in the jaxws subpackage of the SEI's package. One way is to specify elementFormDefault using @XmlSchema in package-info.java in the package of the wrapper beans.

glassfishrobot commented 16 years ago

Was assigned to jax-ws-issues

glassfishrobot commented 7 years ago

This issue was imported from java.net JIRA JAX_WS-498