From java-dev-return-78726-apmail-axis-java-dev-archive=axis.apache.org@axis.apache.org Sun May 09 06:51:12 2010 Return-Path: Delivered-To: apmail-axis-java-dev-archive@www.apache.org Received: (qmail 34412 invoked from network); 9 May 2010 06:51:11 -0000 Received: from unknown (HELO mail.apache.org) (140.211.11.3) by 140.211.11.9 with SMTP; 9 May 2010 06:51:11 -0000 Received: (qmail 66118 invoked by uid 500); 9 May 2010 06:51:10 -0000 Delivered-To: apmail-axis-java-dev-archive@axis.apache.org Received: (qmail 65955 invoked by uid 500); 9 May 2010 06:51:10 -0000 Mailing-List: contact java-dev-help@axis.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: java-dev@axis.apache.org Delivered-To: mailing list java-dev@axis.apache.org Received: (qmail 65947 invoked by uid 99); 9 May 2010 06:51:09 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Sun, 09 May 2010 06:51:09 +0000 X-ASF-Spam-Status: No, hits=-1406.1 required=10.0 tests=ALL_TRUSTED,AWL X-Spam-Check-By: apache.org Received: from [140.211.11.22] (HELO thor.apache.org) (140.211.11.22) by apache.org (qpsmtpd/0.29) with ESMTP; Sun, 09 May 2010 06:51:09 +0000 Received: from thor (localhost [127.0.0.1]) by thor.apache.org (8.13.8+Sun/8.13.8) with ESMTP id o496omDO011724 for ; Sun, 9 May 2010 06:50:48 GMT Message-ID: <20945774.54831273387848680.JavaMail.jira@thor> Date: Sun, 9 May 2010 02:50:48 -0400 (EDT) From: "Amila Chinthaka Suriarachchi (JIRA)" To: java-dev@axis.apache.org Subject: [jira] Resolved: (AXIS2-3483) Have wsdl2java gen'ed ADBBeans extend or implement class w/ getOMElement method MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 [ https://issues.apache.org/jira/browse/AXIS2-3483?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Amila Chinthaka Suriarachchi resolved AXIS2-3483. ------------------------------------------------- Resolution: Fixed Already fixed in the trunk > Have wsdl2java gen'ed ADBBeans extend or implement class w/ getOMElement method > ------------------------------------------------------------------------------- > > Key: AXIS2-3483 > URL: https://issues.apache.org/jira/browse/AXIS2-3483 > Project: Axis2 > Issue Type: Improvement > Components: adb > Affects Versions: 1.3 > Environment: N/A > Reporter: Leon S. Searl > Priority: Minor > > I have a need to convert an arbitrary ADBBean generated by wsdl2java into an OMElement. > This task would be much easier if the ADBBeans generated by wsdl2java > would extend an abstract class or implement an interface that contains the following: > (abstract) public static javax.xml.namespace.QName MY_QNAME; > (abstract) public org.apache.axiom.om.OMElement getOMElement( > javax.xml.namespace.QName parentQName, > org.apache.axiom.om.OMFactory factory) > throws org.apache.axis2.databinding.ADBException; > I am currently using reflection to find and invoke the getOMElement method > of an ADBBean. > It may be useful to add some of the other methods also but I don't currently need them. -- 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: java-dev-unsubscribe@axis.apache.org For additional commands, e-mail: java-dev-help@axis.apache.org