Hi,
The best thing to do would be to open a Jira and attach your
schema/WSDL. It would be also a good idea to validate the WSDL/Schema
(probably something like the XSV in W3C or the cape clear WSDL editor)
It could be that your schema containing an unsupported schema
constructs for ADB [It should throw an error in that case anyway] so
you may also try XMLBeans as a databinding.

Ajith

On 1/17/07, emerson cargnin <[EMAIL PROTECTED]> wrote:
I just generated the stub using axis2 1.1.1

In some classes generated, im getting the error "The field parentQName
is defined in an inherited type and an enclosing scope". I used the
option u (Unpacks the databinding classes), the error is on these
classes.The error is always on any code that refers to "parentQName"
field.

Thanks very much
Emerson

example of the code generated:

   public org.apache.axiom.om.OMDataSource getOMDataSource(
            final javax.xml.namespace.QName parentQName,
            final org.apache.axiom.om.OMFactory factory){


        org.apache.axiom.om.OMDataSource dataSource =
                       new
org.apache.axis2.databinding.ADBDataSource(this,parentQName){

         public void serialize(
                                  javax.xml.stream.XMLStreamWriter
xmlWriter) throws javax.xml.stream.XMLStreamException {



                java.lang.String prefix = parentQName.getPrefix();

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]




--
Ajith Ranabahu

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to