[jboss-dev-forums] [JBoss XML Binding Development] New message: "Re: Regression moving to JBossXB 2.0.2.Beta5"

Alessio Soldano do-not-reply at jboss.com
Wed Mar 17 09:00:22 EDT 2010


JBoss development,

A new message was posted in the thread "Regression moving to JBossXB 2.0.2.Beta5":

http://community.jboss.org/message/532505#532505

Author  : Alessio Soldano
Profile : http://community.jboss.org/people/alessio.soldano@jboss.com

Message:
--------------------------------------------------------------
Here is the class:
 
package org.jboss.test.ws.jaxrpc.jbws434;
 
import javax.xml.soap.SOAPElement;
 
public class ArrayOfAny {    protected SOAPElement[] _any;        public ArrayOfAny() {    }        public ArrayOfAny(SOAPElement[] _any) {        this._any = _any;    }        public SOAPElement[] get_any() {        return _any;    }        public void set_any(SOAPElement[] _any) {        this._any = _any;    }}
 
 
We have similar exceptions for the other classes included in the deployment, for instance
 
Caused by: org.jboss.xb.binding.JBossXBRuntimeException: Failed to find read method or field for property 'knownWildcard' in class org.jboss.test.ws.jaxrpc.jbws434.TypeOfAny3
    at org.jboss.xb.binding.introspection.ClassInfo.getFieldInfo(ClassInfo.java:82)
    at org.jboss.xb.binding.introspection.FieldInfo.getFieldInfo(FieldInfo.java:155)
    at org.jboss.xb.binding.sunday.unmarshalling.impl.runtime.RtUtil.set(RtUtil.java:148)
    at org.jboss.xb.binding.sunday.unmarshalling.impl.runtime.RtElementHandler.setParent(RtElementHandler.java:325)
    at org.jboss.ws.core.jaxrpc.binding.jbossxb.SchemaBindingBuilder$SoapElementHandler.setParent(SchemaBindingBuilder.java:632)
    at org.jboss.xb.binding.sunday.unmarshalling.AbstractPosition.setParent(AbstractPosition.java:192)
    at org.jboss.xb.binding.sunday.unmarshalling.ElementPosition.endParticle(ElementPosition.java:453)
    at org.jboss.xb.binding.sunday.unmarshalling.SundayContentHandler.endElement(SundayContentHandler.java:127)
    at org.jboss.xb.binding.parser.sax.SaxJBossXBParser.endElement(SaxJBossXBParser.java:350)
    at org.apache.xerces.parsers.AbstractSAXParser.endElement(Unknown Source)
    at org.apache.xerces.xinclude.XIncludeHandler.endElement(Unknown Source)
    at org.apache.xerces.impl.XMLNSDocumentScannerImpl.scanEndElement(Unknown Source)
    at org.apache.xerces.impl.XMLDocumentFragmentScannerImpl$FragmentContentDispatcher.dispatch(Unknown Source)
    at org.apache.xerces.impl.XMLDocumentFragmentScannerImpl.scanDocument(Unknown Source)
    at org.apache.xerces.parsers.XML11Configuration.parse(Unknown Source)
    at org.apache.xerces.parsers.XML11Configuration.parse(Unknown Source)
    at org.apache.xerces.parsers.XMLParser.parse(Unknown Source)
    at org.apache.xerces.parsers.AbstractSAXParser.parse(Unknown Source)
    at org.apache.xerces.jaxp.SAXParserImpl$JAXPSAXParser.parse(Unknown Source)
    at org.jboss.xb.binding.parser.sax.SaxJBossXBParser.parse(SaxJBossXBParser.java:191)
    ... 39 more
 
 
where TypeOfAny3 is:
 
package org.jboss.test.ws.jaxrpc.jbws434;
 
import javax.xml.soap.SOAPElement;
 
 
public class TypeOfAny3 {

    protected SOAPElement _any;
 
    public TypeOfAny3() {
    }
 
    public TypeOfAny3(SOAPElement _any) {
        this._any = _any;
    }
 
    public SOAPElement get_any() {
        return _any;
    }
 
    public void set_any(SOAPElement _any) {
        this._any = _any;
    }
}
 

--------------------------------------------------------------

To reply to this message visit the message page: http://community.jboss.org/message/532505#532505




More information about the jboss-dev-forums mailing list