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 "Leon S. Searl (JIRA)" <ji...@apache.org> on 2008/01/29 20:44:34 UTC

[jira] Created: (AXIS2-3483) Have wsdl2java gen'ed ADBBeans extend or implement class w/ getOMElement method

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