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 "Nikhil Thaker (JIRA)" <ji...@apache.org> on 2007/01/17 22:36:30 UTC
[jira] Assigned: (AXIS2-1989) jaxws should detect default
sub-package for JAXB context
[ https://issues.apache.org/jira/browse/AXIS2-1989?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Nikhil Thaker reassigned AXIS2-1989:
------------------------------------
Assignee: Nikhil Thaker
> jaxws should detect default sub-package for JAXB context
> --------------------------------------------------------
>
> Key: AXIS2-1989
> URL: https://issues.apache.org/jira/browse/AXIS2-1989
> Project: Apache Axis 2.0 (Axis2)
> Issue Type: Bug
> Components: jaxws
> Reporter: Mike Rheinheimer
> Assigned To: Nikhil Thaker
> Attachments: patch.txt
>
>
> Generated server code may or may not have an ObjectFactory class. Also, generated server code may or may not have @RequestWrapper or @ResponseWrapper annotations. If the ObjectFactory class is missing, and the @RequestWrapper and/or @ResponseWrapper annotation is missing, the jaxws code currently throws exception:
> javax.xml.bind.UnmarshalException: unexpected element (uri:"http://sample.namespace.org", local:"returnArrayOfString"). Expected elements are (none)
> As I understand, the JAXWS code now has JAXBUtils.getClassesFromJarFile(). This new method, in conjunction with the attached patch, should get us the default wrapper class(es) in the absence of the annotations and ObjectFactory class.
> I hope.
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: https://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