Return-Path: Delivered-To: apmail-ws-axis-dev-archive@www.apache.org Received: (qmail 28463 invoked from network); 18 Jan 2007 20:27:56 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.2) by minotaur.apache.org with SMTP; 18 Jan 2007 20:27:56 -0000 Received: (qmail 27788 invoked by uid 500); 18 Jan 2007 20:27:59 -0000 Delivered-To: apmail-ws-axis-dev-archive@ws.apache.org Received: (qmail 27734 invoked by uid 500); 18 Jan 2007 20:27:58 -0000 Mailing-List: contact axis-dev-help@ws.apache.org; run by ezmlm Precedence: bulk Reply-To: axis-dev@ws.apache.org list-help: list-unsubscribe: List-Post: List-Id: Delivered-To: mailing list axis-dev@ws.apache.org Received: (qmail 27723 invoked by uid 99); 18 Jan 2007 20:27:58 -0000 Received: from herse.apache.org (HELO herse.apache.org) (140.211.11.133) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 18 Jan 2007 12:27:58 -0800 X-ASF-Spam-Status: No, hits=0.0 required=10.0 tests= X-Spam-Check-By: apache.org Received: from [140.211.11.4] (HELO brutus.apache.org) (140.211.11.4) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 18 Jan 2007 12:27:50 -0800 Received: from brutus (localhost [127.0.0.1]) by brutus.apache.org (Postfix) with ESMTP id 690EB7142FA for ; Thu, 18 Jan 2007 12:27:30 -0800 (PST) Message-ID: <642807.1169152050427.JavaMail.jira@brutus> Date: Thu, 18 Jan 2007 12:27:30 -0800 (PST) From: "Nikhil Thaker (JIRA)" To: axis-dev@ws.apache.org Subject: [jira] Commented: (AXIS2-1989) jaxws should detect default sub-package for JAXB context In-Reply-To: <27441843.1169004087642.JavaMail.jira@brutus> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-Virus-Checked: Checked by ClamAV on apache.org [ https://issues.apache.org/jira/browse/AXIS2-1989?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#action_12465860 ] Nikhil Thaker commented on AXIS2-1989: -------------------------------------- Based on my conversation with Rich, I have reolved the first problem where in we where getting wrong defualt for ResponseWrapper annotation. I will check in the patch to fix that issue. The next problem is to make sure that we do not get OperationDescription for constructors defined in a Bean. Dustin has provided that fix and has already been checked. I will perform test with both these patches to see if Unmarshalling exception still persists. > 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