axis-java-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Leon S. Searl (JIRA)" <j...@apache.org>
Subject [jira] Created: (AXIS2-3483) Have wsdl2java gen'ed ADBBeans extend or implement class w/ getOMElement method
Date Tue, 29 Jan 2008 19:44:34 GMT
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: Axis 2.0 (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: axis-dev-unsubscribe@ws.apache.org
For additional commands, e-mail: axis-dev-help@ws.apache.org


Mime
View raw message