You are viewing a plain text version of this content. The canonical link for it is here.
Posted to java-dev@axis.apache.org by "Jarek Gawor (JIRA)" <ji...@apache.org> on 2008/06/17 05:39:45 UTC
[jira] Resolved: (AXIS2-3854) Default namespace not set on
JAXBContext
[ 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: axis-dev-unsubscribe@ws.apache.org
For additional commands, e-mail: axis-dev-help@ws.apache.org