axis-java-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Jarek Gawor (JIRA)" <j...@apache.org>
Subject [jira] Created: (AXIS2-3854) Default namespace not set on JAXBContext
Date Thu, 12 Jun 2008 19:06:45 GMT
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


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


Mime
View raw message