[jBPM] - Questions aboute JBPM 5.2
by Adam Bach
Adam Bach [http://community.jboss.org/people/heathcliff] created the discussion
"Questions aboute JBPM 5.2"
To view the discussion, visit: http://community.jboss.org/message/643710#643710
--------------------------------------------------------------
Hello,
I have a few questions. I suspect I could find answer for them looking in to posts, documencation and code. But as these questions are like y/n I hope it wouldnt be problem to spend 5min to answer and save me few hours:)
Is it possible to:
1. Have full design process of processes in Guvnor? Meaning this editor and guvnor new features for storing domain specific tasks.
2. Does jbom 5.2 engine support all the constructs and properties available in Guvnor editor? Meaning in previous versions guvnor was generating good bpmn2 processes but it didnt support some jbpm5 specific properties.
3. Is Task type in guvnor "Web Service" anyhow interpreted and used by the engine?
4. Does JBPM 5.2 support out of box web services tasks like JSON/XML or SOAP web services?
5. Is process history working correctly (I think its bam module or sth), so I can make statistics on historical process data
6. Are historical data stored as text so i can inspect properties of process and variables setup during the process?
7. Is HumanTask service storing its state in database so after restart user can see hist tasks state correctly?
8. Does Human Task service store historical data on task states? Meaning after process finishes am I able to inspect history of each human task?
9. Is jbpm console code which works with jbpm5 engine, and the UI human tasks available in source of jbpm5.2? I remember that in first version os source code of jbpm5 console code was widely spread between different packages.
--------------------------------------------------------------
Reply to this message by going to Community
[http://community.jboss.org/message/643710#643710]
Start a new discussion in jBPM at Community
[http://community.jboss.org/choose-container!input.jspa?contentType=1&cont...]
13 years
[JBoss Web Services] - Problems with missing minOccurs=" 1" in generated wsdl
by Mats Ekström
Mats Ekström [http://community.jboss.org/people/fghj5678] created the discussion
"Problems with missing minOccurs="1" in generated wsdl"
To view the discussion, visit: http://community.jboss.org/message/561764#561764
--------------------------------------------------------------
Hi!
We are using jboss soa platform 4.3.0 CP02 and when I annotate like this:
@XmlElement(nillable=false, required=true)
public void setProducer(String producer) {
public void setProducer(String producer) {
this.producer = producer;
}
this.producer = producer;
}In the generated wsdl (from the deploy), the element producer will look like this:
<xs:element name="producer" type="xs:string"/>
Where is the minOccurs="1"???
If I instead annotate at declaration of producer I get an exception:
@XmlElement(nillable=false, required=true)
private String producer;
java.lang.IllegalStateException: Cannot build JAXB context
...
Caused by: com.sun.xml.bind.v2.runtime.IllegalAnnotationsException: 1 counts of IllegalAnnotationExceptions
Class has two properties of the same name "producer"
this problem is related to the following location:
at public java.lang.String se.tullverket.texi.archive.bl.Trans.getProducer()
at se.tullverket.texi.archive.bl.Trans
at public se.tullverket.texi.archive.bl.Trans se.tullverket.texi.archive.bl.ArchiveTO.getTrans()
at se.tullverket.texi.archive.bl.ArchiveTO
at private se.tullverket.texi.archive.bl.ArchiveTO se.tullverket.texi.archive.bl.jaxws.Archive.arg0
at se.tullverket.texi.archive.bl.jaxws.Archive
this problem is related to the following location:
at private java.lang.String se.tullverket.texi.archive.bl.Trans.producer
And if I skip the annotation it looks like this:
<xs:element minOccurs="0" name="producer" type="xs:string"/>
Any ideas?
/Mats
--------------------------------------------------------------
Reply to this message by going to Community
[http://community.jboss.org/message/561764#561764]
Start a new discussion in JBoss Web Services at Community
[http://community.jboss.org/choose-container!input.jspa?contentType=1&cont...]
13 years
[JBoss Web Services] - Problem with minOccurs="0" nillable="true" minOccurs="1"
by kdesineedi
kdesineedi [http://community.jboss.org/people/kdesineedi] created the discussion
"Problem with minOccurs="0" nillable="true" minOccurs="1""
To view the discussion, visit: http://community.jboss.org/message/643681#643681
--------------------------------------------------------------
Hi all,
We are facing problems with the generated WSDL using an existing WSDL via wsconsume.
If the existing WSDL has
<xsd:element name="partnerFields" type="tns:partnerFields" minOccurs="0" nillable="true" />
<xsd:element name="transactionContext" type="tns:transactionContext" minOccurs="1" maxOccurs="1" />
In the generated WSDL we see the below lines:
<xs:element name="partnerFields" type="tns:partnerFields"/>
<xs:element name="transactionContext" type="tns:transactionContext"/>
The nillable and min/max occurs are not being observed.Could you please help us in this regard?
Due to this ,when we send a dummy request removing the mandatory fields,we expect a fault to be generated however we see a proper response being sent.Apart from doing a custom validation in the implementor class,is there anything else we are missing in generating the classes?
We are using the following command to generate the classes:
wsconsume -k <WSDL_LOCATION>
Saludos
Kdesineedi
--------------------------------------------------------------
Reply to this message by going to Community
[http://community.jboss.org/message/643681#643681]
Start a new discussion in JBoss Web Services at Community
[http://community.jboss.org/choose-container!input.jspa?contentType=1&cont...]
13 years
[JBoss Web Services] - Error occuring when upgraded to Jboss WS 3.4.1 in JBoss 5.0.1 ?
by Kevin Benjamin
Kevin Benjamin [http://community.jboss.org/people/kev_ben] created the discussion
"Error occuring when upgraded to Jboss WS 3.4.1 in JBoss 5.0.1 ?"
To view the discussion, visit: http://community.jboss.org/message/643665#643665
--------------------------------------------------------------
Hello,
So I upgraded the JBoss WS to 3.4.1 in my 5.0.1 container and I am running a client which consumes services from another environment. I now get this error when I try to run the application.
21:46:30,678 ERROR [[default]] Servlet.service() for servlet default threw exception
java.lang.NoSuchMethodError: org.jboss.logging.Logger.debugf(Ljava/lang/String;[Ljava/lang/Object;)V
at org.jboss.ws.core.jaxws.spi.ServiceDelegateImpl.configureStub(ServiceDelegateImpl.java:438)
at org.jboss.ws.core.jaxws.spi.ServiceDelegateImpl.createProxy(ServiceDelegateImpl.java:416)
at org.jboss.ws.core.jaxws.spi.ServiceDelegateImpl.getPortInternal(ServiceDelegateImpl.java:243)
at org.jboss.ws.core.jaxws.spi.ServiceDelegateImpl.getPort(ServiceDelegateImpl.java:570)
at javax.xml.ws.Service.getPort(Service.java:99)
Anyone seen this before ? I guess jboss logging in the 5.0.1 container is not compatible, but there was nothing in the 3.4.1 install instructions and I am curious how anyone could have made this work. Or am I missing some other dependency ?
Thanks,
Kevin.
--------------------------------------------------------------
Reply to this message by going to Community
[http://community.jboss.org/message/643665#643665]
Start a new discussion in JBoss Web Services at Community
[http://community.jboss.org/choose-container!input.jspa?contentType=1&cont...]
13 years
[jBPM] - Avoid using hibernate in JBPM 4.4
by Dario Salvi
Dario Salvi [http://community.jboss.org/people/dsalvi] created the discussion
"Avoid using hibernate in JBPM 4.4"
To view the discussion, visit: http://community.jboss.org/message/643635#643635
--------------------------------------------------------------
Hi,
I am using JBPM 4.4 as a library within a framework I have made myself.
I am not interested in persistence at all, thus I would like to get rid of all the hibernate jars and its configuration.
Most importantly, I am getting an exception while trying to save a variable:
+instance not of expected entity type: org.jbpm.pvm.internal.type.variable.UnpersistableVariable is not a: org.jbpm.pvm.internal.type.Variable+
which I guess depends on the fact that the variable I am creating is an object I internally use which hibernate does not know how treat.
Is there some way to completely remove hibernate from jbpm?
If not, which would be the simplest way to avoid this exception?
Thanks in advance,
Dario
--------------------------------------------------------------
Reply to this message by going to Community
[http://community.jboss.org/message/643635#643635]
Start a new discussion in jBPM at Community
[http://community.jboss.org/choose-container!input.jspa?contentType=1&cont...]
13 years