[ https://issues.apache.org/jira/browse/AXIS2-3854?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Jarek Gawor resolved AXIS2-3854. -------------------------------- Resolution: Fixed Fix Version/s: nightly Committed the patch to trunk (revision 668384). > Default namespace not set on JAXBContext > ---------------------------------------- > > Key: AXIS2-3854 > URL: https://issues.apache.org/jira/browse/AXIS2-3854 > Project: Axis 2.0 (Axis2) > Issue Type: Bug > Components: jaxws > Affects Versions: nightly > Reporter: Jarek Gawor > Assignee: Jarek Gawor > Fix For: nightly > > Attachments: AXIS2-3854.patch > > > Axis2 should set the default namespace property on the JAXBContext when > creating JAXBContext from individual classes. The default namespace property > should be set to the SEI @WebService.targetNamespace value. > In certain cases and without setting this property, the jaxb classes might be > serialized without the right namespace as demonstrated by the > modules/jaxws-integration/test/org/apache/axis2/jaxws/type_substitution test > case. Even though the jaxb classes have no annotations to set the namespace > for them, they should be serialized with the namespace defined by the > @WebService annotation. That's the expected behavior. -- This message is automatically generated by JIRA. - You can reply to this email to add a comment to the issue online. --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]