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: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to