[JBoss XML Binding Development] New message: "Re: Regression moving to JBossXB 2.0.2.Beta5"
by Alessio Soldano
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
16 years
[JBoss XML Binding Development] New message: "Regression moving to JBossXB 2.0.2.Beta5"
by Alessio Soldano
JBoss development,
A new message was posted in the thread "Regression moving to JBossXB 2.0.2.Beta5":
http://community.jboss.org/message/532499#532499
Author : Alessio Soldano
Profile : http://community.jboss.org/people/alessio.soldano@jboss.com
Message:
--------------------------------------------------------------
Hi,
after Ales moved AS trunk http://fisheye.jboss.org/browse/JBossAS/trunk/component-matrix/pom.xml?r1..., we're seeing some failures in JBossWS testsuite when dealing with xsd:any elements and arrays of them: http://jbossws.jboss.org:8180/hudson/job/NATIVE-CORE-AS-6.0.1-SUN-JDK-6/9...
We get exceptions like this:
Caused by: org.jboss.xb.binding.JBossXBRuntimeException: Failed to find read method or field for property 'name' in class org.jboss.test.ws.jaxrpc.jbws434.ArrayOfAny
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)
Any idea / comments?
Thanks
--------------------------------------------------------------
To reply to this message visit the message page: http://community.jboss.org/message/532499#532499
16 years
[jBPM Development] New message: "How to execute a jbpm process that calls java source code"
by ABIDI Sami
JBoss development,
A new message was posted in the thread "How to execute a jbpm process that calls java source code":
http://community.jboss.org/message/532459#532459
Author : ABIDI Sami
Profile : http://community.jboss.org/people/uaibys
Message:
--------------------------------------------------------------
Hi,
I want to develop a java application using jbpm 4.3 to execute a process. I want to associate each event in the process to a java source code.
I have already installed jbpm 4.3 with JBOSS 5.0.0 and I had a look to the examples joined to the install files. I succeeded to deploy my processes to the jboss server and to execute them under the console.
My problem is that i didn't succeed to execute my process from eclipse and my programs don't use the java code that I wrote. Tasks that i want to perform are not executed!
My questions are :
How to launch a process instance that executes my java source code? must I have a main class which calls the process?
The java source code, how must it be? must it be a a public class that includes a main function?
When I execute this code, must I do it with ant or must I run the project as a java application?
Thank you!
--------------------------------------------------------------
To reply to this message visit the message page: http://community.jboss.org/message/532459#532459
16 years