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 "Rich Scheuerle (JIRA)" <ji...@apache.org> on 2006/12/01 22:52:25 UTC
[jira] Resolved: (AXIS2-1805) JAX-WS JAXBContext construction with
package contextPath
[ http://issues.apache.org/jira/browse/AXIS2-1805?page=all ]
Rich Scheuerle resolved AXIS2-1805.
-----------------------------------
Resolution: Fixed
> JAX-WS JAXBContext construction with package contextPath
> --------------------------------------------------------
>
> Key: AXIS2-1805
> URL: http://issues.apache.org/jira/browse/AXIS2-1805
> Project: Apache Axis 2.0 (Axis2)
> Issue Type: Improvement
> Components: jaxws
> Reporter: Rich Scheuerle
> Attachments: JAXBUtils.java
>
>
> There are two ways to construct a JAXBContext..
> 1) newInstance constructor that takes an Class[] of all of the JAXB classes.
> 2) newInstance constructor tha takes a String that is a colon separated list of packages.
> Currently jaxws does (1), which is error prone.
> However we encountered problems in the past using (2). We think the problems with (2) were due to the fact that wsgen does not generate ObjectFactory classes in each package.
> Solution: Change the code to look for ObjectFactory and packageinfo in each package. If they exist use approach (2) otherwise fallback to approach (1).
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: http://issues.apache.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira
---------------------------------------------------------------------
To unsubscribe, e-mail: axis-dev-unsubscribe@ws.apache.org
For additional commands, e-mail: axis-dev-help@ws.apache.org