javaee / metro-jax-ws

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

wsimport ignores element name modification by JAXB bindings of wrapper style is used #1137

Open glassfishrobot opened 10 years ago

glassfishrobot commented 10 years ago

Say I have a wrapper element Request which has following nested elements: ONE, TWO, etc. note the upppercase. Now, I have created a bindings file to make them readible: , etc. This works as expected. Now if I use the wrapper style == true, it unwraps the stuff but the variable names remain as in the original XSD defs. My JAXB property is completely ignored.

This should be taken into account.

Affected Versions

[2.2.8]

glassfishrobot commented 10 years ago

Reported by michael-o

glassfishrobot commented 10 years ago

yaroska said: Can you please provide small test case?

Thanks.

glassfishrobot commented 10 years ago

michael-o said: Yes, I will create one. Give me a few days please.

glassfishrobot commented 10 years ago

michael-o said: Iaroslav,

I have prepared a minimal example now but I cannot upload anything in JIRA here. How to proceed?

glassfishrobot commented 10 years ago

yaroska said: Hi, Michael,

please send it to me to iaroslav.savytskyi at oracle.com and I will attach it here.

Thanks a lot.

glassfishrobot commented 10 years ago

michael-o said: Have a look at the embedded schema, you'll find two elements: SSO_URL and SSO_APP_ID. I have redeclared those names in the JAX-WS bindings file to ssoUrl and ssoAppId. Now open ImportPort.java and you'll see that the parameters are note renamed.

glassfishrobot commented 10 years ago

yaroska said: test

glassfishrobot commented 10 years ago

michael-o said: Iaroslav Savytskyi, did you have a chance to take a look at the example?

glassfishrobot commented 10 years ago

michael-o said: Any news?

glassfishrobot commented 10 years ago

File: jaxws-1137.zip Attached By: yaroska

glassfishrobot commented 7 years ago

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