[jBPM] - Re: JBPM5 - Process Versioning
by Kris Verlaenen
Kris Verlaenen [http://community.jboss.org/people/KrisVerlaenen] created the discussion
"Re: JBPM5 - Process Versioning"
To view the discussion, visit: http://community.jboss.org/message/577967#577967
--------------------------------------------------------------
The process engine itself doesn't really care about process versioning directly, as far as it is concerned, two versions of the same process definition are concidered different processes (they just have the same name and a different version), and this probably makes sense as in reality two different versions of the same process definitions can actually be completely different.
You should always keep a version of your process somewhere if you still need it (for example if there are still process instances executing based on the "old" definition). So only if you make sure that all active instances of your old definition are either aborted or migrated to the newer version, you no longer need the old definition.
The process engine doesn't really care where those process definitions are stored, it just needs to be able to reload them (in case of restarting for example). So you can use file system, a repository (like Gunvor), a database, or whatever you prefer. If you use a simple file system, you probably want to have different files for each of the versions you're still using. If you use a SCM system, you can probably reuse the same file as long as you can then retrieve all the versions of the process you still need.
Kris
--------------------------------------------------------------
Reply to this message by going to Community
[http://community.jboss.org/message/577967#577967]
Start a new discussion in jBPM at Community
[http://community.jboss.org/choose-container!input.jspa?contentType=1&cont...]
15 years
[JBoss Web Services] - Web Service Deployment Exception
by Joseph Hwang
Joseph Hwang [http://community.jboss.org/people/aupres] created the discussion
"Web Service Deployment Exception"
To view the discussion, visit: http://community.jboss.org/message/595479#595479
--------------------------------------------------------------
Hello,
I'm coding Web Service in JBoss
OS : Windows Server 2008
JDK : JDK 1.6
Eclipse : Eclipse Galileo
JBoss : JBoss 5.1.0.GA
DB : MSSQL 2008
1.generating Interface file
package com.aaa.ws;
import javax.jws.WebService;
import javax.jws.WebMethod;
import javax.jws.WebResult;
import javax.jws.WebParam;
@WebService
public interface WSHelloWorldPort {
@WebMethod
@WebResult(name="greetings")
public String sayHello(@WebParam(name="name") String name);
}
2. implementing interface file
package com.aaa.ws;
import javax.jws.WebService;
@WebService
public class WSHelloWorld implements WSHelloWorldPort {
public String sayHello(String name) {
return name;
}
}
3. In Eclipse Web Service Environment, Web Service files and Client Stub files were generated without Errors
4. in web.xml file
<servlet-mapping>
<servlet-name>WSHelloWorld</servlet-name>
<url-pattern>/WSHelloWorld</url-pattern>
</servlet-mapping>
5. in WSHelloWorldService.wsdl file
<service name='WSHelloWorldService'>
<port binding='tns:WSHelloWorldBinding' name='WSHelloWorldPort'>
<soap:address location=' http://localhost/WSHelloWorld/'/ http://localhost/WSHelloWorld/'/>
</port>
</service>
6. Executing ClientSample.java
package com.aaa.ws.clientsample;
import com.aaa.ws.*;
public class ClientSample {
public static void main(String[] args) {
System.out.println("***********************");
System.out.println("Create Web Service Client...");
WSHelloWorldService service1 = new WSHelloWorldService();
System.out.println("Create Web Service...");
WSHelloWorld port1 = service1.getWSHelloWorldPort();
System.out.println("Call Web Service Operation..."); // No Exception occurs until this line
System.out.println("Server said: " + port1.sayHello("aaa")); //Exception Occurs
System.out.println("***********************");
System.out.println("Call Over!");
}
}
7.Exception is like below
***********************
Create Web Service Client...
Create Web Service...
Call Web Service Operation...
Exception in thread "main" com.sun.xml.ws.client.ClientTransportException: HTTP Status-Code 404: Not Found - Not Found
at com.sun.xml.ws.transport.http.client.HttpClientTransport.checkResponseCode(HttpClientTransport.java:219)
at com.sun.xml.ws.transport.http.client.HttpTransportPipe.process(HttpTransportPipe.java:149)
at com.sun.xml.ws.transport.http.client.HttpTransportPipe.processRequest(HttpTransportPipe.java:86)
at com.sun.xml.ws.api.pipe.Fiber.__doRun(Fiber.java:595)
at com.sun.xml.ws.api.pipe.Fiber._doRun(Fiber.java:554)
at com.sun.xml.ws.api.pipe.Fiber.doRun(Fiber.java:539)
at com.sun.xml.ws.api.pipe.Fiber.runSync(Fiber.java:436)
at com.sun.xml.ws.client.Stub.process(Stub.java:248)
at com.sun.xml.ws.client.sei.SEIStub.doProcess(SEIStub.java:135)
at com.sun.xml.ws.client.sei.SyncMethodHandler.invoke(SyncMethodHandler.java:109)
at com.sun.xml.ws.client.sei.SyncMethodHandler.invoke(SyncMethodHandler.java:89)
at com.sun.xml.ws.client.sei.SEIStub.invoke(SEIStub.java:118)
at $Proxy25.sayHello(Unknown Source)
at com.obci.ws.clientsample.ClientSample.main(ClientSample.java:14)
Any mistake in my coding?
I nees your advice. Thanks in advance!
Best Regards
--------------------------------------------------------------
Reply to this message by going to Community
[http://community.jboss.org/message/595479#595479]
Start a new discussion in JBoss Web Services at Community
[http://community.jboss.org/choose-container!input.jspa?contentType=1&cont...]
15 years
[jBPM] - Multiple Approvers/Performers in JBPM5 for same HumanTaskNode
by Anand Prakash
Anand Prakash [http://community.jboss.org/people/anandintouch] created the discussion
"Multiple Approvers/Performers in JBPM5 for same HumanTaskNode"
To view the discussion, visit: http://community.jboss.org/message/595180#595180
--------------------------------------------------------------
I've a questions regarding multiple approvers or performers to act on same human task node.So is this possible in JBPM5 or does JBPM5 supports
"TaskMgmtDefinition" class to achieve this using logic inside WorkItemHandler?
Scenario is as below-
Lets say process_definition file(bpmn xml file) has two Human Task node ,one is for Performer and one is for Approver.
For instance, If we have more than 1 approvers then can all approvers get same task(Approver's task which is predefined ) and each approver
will act on that task ? Untill all Approvers approves the task then only process should be finished.
For Example- We have 2 approvers(Approver1 and Approver2).
When workflow process starts then performer will get one task and once performer will submit the task then
task should come to Approver1 and once Approver1 submit/approve then it should go to Approver2.
Whenever Approver2 submit/approve then only process should complete/finish.
Please let me know if this functionality is available in JBPM5 or not,If available then which API can be used to achieve this.
I know one feature which is used to claim the task but if Approver1 claim the task and he submit/approve then process will be finished which I don't need untill both approvers submit/Approve.
Thanks,
Anand
--------------------------------------------------------------
Reply to this message by going to Community
[http://community.jboss.org/message/595180#595180]
Start a new discussion in jBPM at Community
[http://community.jboss.org/choose-container!input.jspa?contentType=1&cont...]
15 years
[JBoss Web Services] - NMTOKENS deployment issue
by Kyle Bober
Kyle Bober [http://community.jboss.org/people/kyle.bober] created the discussion
"NMTOKENS deployment issue"
To view the discussion, visit: http://community.jboss.org/message/577669#577669
--------------------------------------------------------------
I am attempting to deploy a webservice that I created based on a pre-exisiting SEI. This webservice successfully deploys on top of Glassfish with the Metro 3.2.1 webservice stack but when I attempt to deploy it on JBoss 5.1.0 with the JBossWS-Native-3.4.0 it displays the following errors upon deployment:
10:41:26,524 ERROR [JBossXSErrorHandler] JBossWS_urn_hl7-org_v34924019067637698289.xsd[domain: http://www.w3.org/TR/xml-schema-1 http://www.w3.org/TR/xml-schema-1]::[key=cos-st-restricts.2.1]::Message=c...: In the definition of list type '#AnonType_styleCodeStrucDoc.Item', type 'NMTOKENS' is an invalid item type because it is either a list type, or a union type that contains a list.
10:41:26,534 ERROR [JBossXSErrorHandler] JBossWS_urn_hl7-org_v34924019067637698289.xsd[domain: http://www.w3.org/TR/xml-schema-1 http://www.w3.org/TR/xml-schema-1]::[key=cos-st-restricts.2.1]::Message=c...: In the definition of list type '#AnonType_styleCodeStrucDoc.TitleContent', type 'NMTOKENS' is an invalid item type because it is either a list type, or a union type that contains a list.
10:41:26,535 ERROR [JBossXSErrorHandler] JBossWS_urn_hl7-org_v34924019067637698289.xsd[domain: http://www.w3.org/TR/xml-schema-1 http://www.w3.org/TR/xml-schema-1]::[key=cos-st-restricts.2.1]::Message=c...: In the definition of list type '#AnonType_styleCodeStrucDoc.Title', type 'NMTOKENS' is an invalid item type because it is either a list type, or a union type that contains a list.
10:41:26,538 ERROR [JBossXSErrorHandler] JBossWS_urn_hl7-org_v34924019067637698289.xsd[domain: http://www.w3.org/TR/xml-schema-1 http://www.w3.org/TR/xml-schema-1]::[key=cos-st-restricts.2.1]::Message=c...: In the definition of list type '#AnonType_styleCodeStrucDoc.Colgroup', type 'NMTOKENS' is an invalid item type because it is either a list type, or a union type that contains a list.
10:41:26,538 ERROR [JBossXSErrorHandler] JBossWS_urn_hl7-org_v34924019067637698289.xsd[domain: http://www.w3.org/TR/xml-schema-1 http://www.w3.org/TR/xml-schema-1]::[key=cos-st-restricts.2.1]::Message=c...: In the definition of list type '#AnonType_styleCodeStrucDoc.Col', type 'NMTOKENS' is an invalid item type because it is either a list type, or a union type that contains a list.
10:41:26,547 ERROR [JBossXSErrorHandler] JBossWS_urn_hl7-org_v34924019067637698289.xsd[domain: http://www.w3.org/TR/xml-schema-1 http://www.w3.org/TR/xml-schema-1]::[key=cos-st-restricts.2.1]::Message=c...: In the definition of list type '#AnonType_styleCodeStrucDoc.TitleFootnote', type 'NMTOKENS' is an invalid item type because it is either a list type, or a union type that contains a list.
10:41:26,547 ERROR [JBossXSErrorHandler] JBossWS_urn_hl7-org_v34924019067637698289.xsd[domain: http://www.w3.org/TR/xml-schema-1 http://www.w3.org/TR/xml-schema-1]::[key=cos-st-restricts.2.1]::Message=c...: In the definition of list type '#AnonType_styleCodeStrucDoc.List', type 'NMTOKENS' is an invalid item type because it is either a list type, or a union type that contains a list.
10:41:26,548 ERROR [JBossXSErrorHandler] JBossWS_urn_hl7-org_v34924019067637698289.xsd[domain: http://www.w3.org/TR/xml-schema-1 http://www.w3.org/TR/xml-schema-1]::[key=cos-st-restricts.2.1]::Message=c...: In the definition of list type '#AnonType_styleCodeStrucDoc.Caption', type 'NMTOKENS' is an invalid item type because it is either a list type, or a union type that contains a list.
10:41:26,550 ERROR [JBossXSErrorHandler] JBossWS_urn_hl7-org_v34924019067637698289.xsd[domain: http://www.w3.org/TR/xml-schema-1 http://www.w3.org/TR/xml-schema-1]::[key=cos-st-restricts.2.1]::Message=c...: In the definition of list type '#AnonType_styleCodeStrucDoc.RenderMultiMedia', type 'NMTOKENS' is an invalid item type because it is either a list type, or a union type that contains a list.
10:41:26,553 ERROR [JBossXSErrorHandler] JBossWS_urn_hl7-org_v34924019067637698289.xsd[domain: http://www.w3.org/TR/xml-schema-1 http://www.w3.org/TR/xml-schema-1]::[key=cos-st-restricts.2.1]::Message=c...: In the definition of list type '#AnonType_styleCodeStrucDoc.Thead', type 'NMTOKENS' is an invalid item type because it is either a list type, or a union type that contains a list.
10:41:26,554 ERROR [JBossXSErrorHandler] JBossWS_urn_hl7-org_v34924019067637698289.xsd[domain: http://www.w3.org/TR/xml-schema-1 http://www.w3.org/TR/xml-schema-1]::[key=cos-st-restricts.2.1]::Message=c...: In the definition of list type '#AnonType_styleCodeStrucDoc.Tr', type 'NMTOKENS' is an invalid item type because it is either a list type, or a union type that contains a list.
10:41:26,554 ERROR [JBossXSErrorHandler] JBossWS_urn_hl7-org_v34924019067637698289.xsd[domain: http://www.w3.org/TR/xml-schema-1 http://www.w3.org/TR/xml-schema-1]::[key=cos-st-restricts.2.1]::Message=c...: In the definition of list type '#AnonType_styleCodeStrucDoc.Td', type 'NMTOKENS' is an invalid item type because it is either a list type, or a union type that contains a list.
10:41:26,554 ERROR [JBossXSErrorHandler] JBossWS_urn_hl7-org_v34924019067637698289.xsd[domain: http://www.w3.org/TR/xml-schema-1 http://www.w3.org/TR/xml-schema-1]::[key=cos-st-restricts.2.1]::Message=c...: In the definition of list type '#AnonType_styleCodeStrucDoc.Th', type 'NMTOKENS' is an invalid item type because it is either a list type, or a union type that contains a list.
10:41:26,556 ERROR [JBossXSErrorHandler] JBossWS_urn_hl7-org_v34924019067637698289.xsd[domain: http://www.w3.org/TR/xml-schema-1 http://www.w3.org/TR/xml-schema-1]::[key=cos-st-restricts.2.1]::Message=c...: In the definition of list type '#AnonType_styleCodeStrucDoc.Tbody', type 'NMTOKENS' is an invalid item type because it is either a list type, or a union type that contains a list.
10:41:26,560 ERROR [JBossXSErrorHandler] JBossWS_urn_hl7-org_v34924019067637698289.xsd[domain: http://www.w3.org/TR/xml-schema-1 http://www.w3.org/TR/xml-schema-1]::[key=cos-st-restricts.2.1]::Message=c...: In the definition of list type '#AnonType_styleCodeStrucDoc.Table', type 'NMTOKENS' is an invalid item type because it is either a list type, or a union type that contains a list.
10:41:26,560 ERROR [JBossXSErrorHandler] JBossWS_urn_hl7-org_v34924019067637698289.xsd[domain: http://www.w3.org/TR/xml-schema-1 http://www.w3.org/TR/xml-schema-1]::[key=cos-st-restricts.2.1]::Message=c...: In the definition of list type '#AnonType_styleCodeStrucDoc.Tfoot', type 'NMTOKENS' is an invalid item type because it is either a list type, or a union type that contains a list.
10:41:26,569 ERROR [JBossXSErrorHandler] JBossWS_urn_hl7-org_v34924019067637698289.xsd[domain: http://www.w3.org/TR/xml-schema-1 http://www.w3.org/TR/xml-schema-1]::[key=cos-st-restricts.2.1]::Message=c...: In the definition of list type '#AnonType_styleCodeStrucDoc.Content', type 'NMTOKENS' is an invalid item type because it is either a list type, or a union type that contains a list.
10:41:26,569 ERROR [JBossXSErrorHandler] JBossWS_urn_hl7-org_v34924019067637698289.xsd[domain: http://www.w3.org/TR/xml-schema-1 http://www.w3.org/TR/xml-schema-1]::[key=cos-st-restricts.2.1]::Message=c...: In the definition of list type '#AnonType_styleCodeStrucDoc.Text', type 'NMTOKENS' is an invalid item type because it is either a list type, or a union type that contains a list.
10:41:26,570 ERROR [JBossXSErrorHandler] JBossWS_urn_hl7-org_v34924019067637698289.xsd[domain: http://www.w3.org/TR/xml-schema-1 http://www.w3.org/TR/xml-schema-1]::[key=cos-st-restricts.2.1]::Message=c...: In the definition of list type '#AnonType_styleCodeStrucDoc.Paragraph', type 'NMTOKENS' is an invalid item type because it is either a list type, or a union type that contains a list.
10:41:26,572 ERROR [JBossXSErrorHandler] JBossWS_urn_hl7-org_v34924019067637698289.xsd[domain: http://www.w3.org/TR/xml-schema-1 http://www.w3.org/TR/xml-schema-1]::[key=cos-st-restricts.2.1]::Message=c...: In the definition of list type '#AnonType_styleCodeStrucDoc.FootnoteRef', type 'NMTOKENS' is an invalid item type because it is either a list type, or a union type that contains a list.
10:41:26,577 ERROR [JBossXSErrorHandler] JBossWS_urn_hl7-org_v34924019067637698289.xsd[domain: http://www.w3.org/TR/xml-schema-1 http://www.w3.org/TR/xml-schema-1]::[key=cos-st-restricts.2.1]::Message=c...: In the definition of list type '#AnonType_styleCodeStrucDoc.LinkHtml', type 'NMTOKENS' is an invalid item type because it is either a list type, or a union type that contains a list.
10:41:26,578 ERROR [JBossXSErrorHandler] JBossWS_urn_hl7-org_v34924019067637698289.xsd[domain: http://www.w3.org/TR/xml-schema-1 http://www.w3.org/TR/xml-schema-1]::[key=cos-st-restricts.2.1]::Message=c...: In the definition of list type '#AnonType_styleCodeStrucDoc.Footnote', type 'NMTOKENS' is an invalid item type because it is either a list type, or a union type that contains a list.
10:41:30,384 ERROR [JBossXSErrorHandler] JBossWS_urn_hl7-org_v36649775853378394429.xsd[domain: http://www.w3.org/TR/xml-schema-1 http://www.w3.org/TR/xml-schema-1]::[key=cos-st-restricts.2.1]::Message=c...: In the definition of list type '#AnonType_styleCodeStrucDoc.Item', type 'NMTOKENS' is an invalid item type because it is either a list type, or a union type that contains a list.
10:41:30,394 ERROR [JBossXSErrorHandler] JBossWS_urn_hl7-org_v36649775853378394429.xsd[domain: http://www.w3.org/TR/xml-schema-1 http://www.w3.org/TR/xml-schema-1]::[key=cos-st-restricts.2.1]::Message=c...: In the definition of list type '#AnonType_styleCodeStrucDoc.TitleContent', type 'NMTOKENS' is an invalid item type because it is either a list type, or a union type that contains a list.
10:41:30,394 ERROR [JBossXSErrorHandler] JBossWS_urn_hl7-org_v36649775853378394429.xsd[domain: http://www.w3.org/TR/xml-schema-1 http://www.w3.org/TR/xml-schema-1]::[key=cos-st-restricts.2.1]::Message=c...: In the definition of list type '#AnonType_styleCodeStrucDoc.Title', type 'NMTOKENS' is an invalid item type because it is either a list type, or a union type that contains a list.
10:41:30,397 ERROR [JBossXSErrorHandler] JBossWS_urn_hl7-org_v36649775853378394429.xsd[domain: http://www.w3.org/TR/xml-schema-1 http://www.w3.org/TR/xml-schema-1]::[key=cos-st-restricts.2.1]::Message=c...: In the definition of list type '#AnonType_styleCodeStrucDoc.Colgroup', type 'NMTOKENS' is an invalid item type because it is either a list type, or a union type that contains a list.
10:41:30,397 ERROR [JBossXSErrorHandler] JBossWS_urn_hl7-org_v36649775853378394429.xsd[domain: http://www.w3.org/TR/xml-schema-1 http://www.w3.org/TR/xml-schema-1]::[key=cos-st-restricts.2.1]::Message=c...: In the definition of list type '#AnonType_styleCodeStrucDoc.Col', type 'NMTOKENS' is an invalid item type because it is either a list type, or a union type that contains a list.
10:41:30,406 ERROR [JBossXSErrorHandler] JBossWS_urn_hl7-org_v36649775853378394429.xsd[domain: http://www.w3.org/TR/xml-schema-1 http://www.w3.org/TR/xml-schema-1]::[key=cos-st-restricts.2.1]::Message=c...: In the definition of list type '#AnonType_styleCodeStrucDoc.TitleFootnote', type 'NMTOKENS' is an invalid item type because it is either a list type, or a union type that contains a list.
10:41:30,406 ERROR [JBossXSErrorHandler] JBossWS_urn_hl7-org_v36649775853378394429.xsd[domain: http://www.w3.org/TR/xml-schema-1 http://www.w3.org/TR/xml-schema-1]::[key=cos-st-restricts.2.1]::Message=c...: In the definition of list type '#AnonType_styleCodeStrucDoc.List', type 'NMTOKENS' is an invalid item type because it is either a list type, or a union type that contains a list.
10:41:30,406 ERROR [JBossXSErrorHandler] JBossWS_urn_hl7-org_v36649775853378394429.xsd[domain: http://www.w3.org/TR/xml-schema-1 http://www.w3.org/TR/xml-schema-1]::[key=cos-st-restricts.2.1]::Message=c...: In the definition of list type '#AnonType_styleCodeStrucDoc.Caption', type 'NMTOKENS' is an invalid item type because it is either a list type, or a union type that contains a list.
10:41:30,409 ERROR [JBossXSErrorHandler] JBossWS_urn_hl7-org_v36649775853378394429.xsd[domain: http://www.w3.org/TR/xml-schema-1 http://www.w3.org/TR/xml-schema-1]::[key=cos-st-restricts.2.1]::Message=c...: In the definition of list type '#AnonType_styleCodeStrucDoc.RenderMultiMedia', type 'NMTOKENS' is an invalid item type because it is either a list type, or a union type that contains a list.
10:41:30,412 ERROR [JBossXSErrorHandler] JBossWS_urn_hl7-org_v36649775853378394429.xsd[domain: http://www.w3.org/TR/xml-schema-1 http://www.w3.org/TR/xml-schema-1]::[key=cos-st-restricts.2.1]::Message=c...: In the definition of list type '#AnonType_styleCodeStrucDoc.Thead', type 'NMTOKENS' is an invalid item type because it is either a list type, or a union type that contains a list.
10:41:30,412 ERROR [JBossXSErrorHandler] JBossWS_urn_hl7-org_v36649775853378394429.xsd[domain: http://www.w3.org/TR/xml-schema-1 http://www.w3.org/TR/xml-schema-1]::[key=cos-st-restricts.2.1]::Message=c...: In the definition of list type '#AnonType_styleCodeStrucDoc.Tr', type 'NMTOKENS' is an invalid item type because it is either a list type, or a union type that contains a list.
10:41:30,413 ERROR [JBossXSErrorHandler] JBossWS_urn_hl7-org_v36649775853378394429.xsd[domain: http://www.w3.org/TR/xml-schema-1 http://www.w3.org/TR/xml-schema-1]::[key=cos-st-restricts.2.1]::Message=c...: In the definition of list type '#AnonType_styleCodeStrucDoc.Td', type 'NMTOKENS' is an invalid item type because it is either a list type, or a union type that contains a list.
10:41:30,413 ERROR [JBossXSErrorHandler] JBossWS_urn_hl7-org_v36649775853378394429.xsd[domain: http://www.w3.org/TR/xml-schema-1 http://www.w3.org/TR/xml-schema-1]::[key=cos-st-restricts.2.1]::Message=c...: In the definition of list type '#AnonType_styleCodeStrucDoc.Th', type 'NMTOKENS' is an invalid item type because it is either a list type, or a union type that contains a list.
10:41:30,415 ERROR [JBossXSErrorHandler] JBossWS_urn_hl7-org_v36649775853378394429.xsd[domain: http://www.w3.org/TR/xml-schema-1 http://www.w3.org/TR/xml-schema-1]::[key=cos-st-restricts.2.1]::Message=c...: In the definition of list type '#AnonType_styleCodeStrucDoc.Tbody', type 'NMTOKENS' is an invalid item type because it is either a list type, or a union type that contains a list.
10:41:30,419 ERROR [JBossXSErrorHandler] JBossWS_urn_hl7-org_v36649775853378394429.xsd[domain: http://www.w3.org/TR/xml-schema-1 http://www.w3.org/TR/xml-schema-1]::[key=cos-st-restricts.2.1]::Message=c...: In the definition of list type '#AnonType_styleCodeStrucDoc.Table', type 'NMTOKENS' is an invalid item type because it is either a list type, or a union type that contains a list.
10:41:30,419 ERROR [JBossXSErrorHandler] JBossWS_urn_hl7-org_v36649775853378394429.xsd[domain: http://www.w3.org/TR/xml-schema-1 http://www.w3.org/TR/xml-schema-1]::[key=cos-st-restricts.2.1]::Message=c...: In the definition of list type '#AnonType_styleCodeStrucDoc.Tfoot', type 'NMTOKENS' is an invalid item type because it is either a list type, or a union type that contains a list.
10:41:30,428 ERROR [JBossXSErrorHandler] JBossWS_urn_hl7-org_v36649775853378394429.xsd[domain: http://www.w3.org/TR/xml-schema-1 http://www.w3.org/TR/xml-schema-1]::[key=cos-st-restricts.2.1]::Message=c...: In the definition of list type '#AnonType_styleCodeStrucDoc.Content', type 'NMTOKENS' is an invalid item type because it is either a list type, or a union type that contains a list.
10:41:30,428 ERROR [JBossXSErrorHandler] JBossWS_urn_hl7-org_v36649775853378394429.xsd[domain: http://www.w3.org/TR/xml-schema-1 http://www.w3.org/TR/xml-schema-1]::[key=cos-st-restricts.2.1]::Message=c...: In the definition of list type '#AnonType_styleCodeStrucDoc.Text', type 'NMTOKENS' is an invalid item type because it is either a list type, or a union type that contains a list.
10:41:30,429 ERROR [JBossXSErrorHandler] JBossWS_urn_hl7-org_v36649775853378394429.xsd[domain: http://www.w3.org/TR/xml-schema-1 http://www.w3.org/TR/xml-schema-1]::[key=cos-st-restricts.2.1]::Message=c...: In the definition of list type '#AnonType_styleCodeStrucDoc.Paragraph', type 'NMTOKENS' is an invalid item type because it is either a list type, or a union type that contains a list.
10:41:30,431 ERROR [JBossXSErrorHandler] JBossWS_urn_hl7-org_v36649775853378394429.xsd[domain: http://www.w3.org/TR/xml-schema-1 http://www.w3.org/TR/xml-schema-1]::[key=cos-st-restricts.2.1]::Message=c...: In the definition of list type '#AnonType_styleCodeStrucDoc.FootnoteRef', type 'NMTOKENS' is an invalid item type because it is either a list type, or a union type that contains a list.
10:41:30,436 ERROR [JBossXSErrorHandler] JBossWS_urn_hl7-org_v36649775853378394429.xsd[domain: http://www.w3.org/TR/xml-schema-1 http://www.w3.org/TR/xml-schema-1]::[key=cos-st-restricts.2.1]::Message=c...: In the definition of list type '#AnonType_styleCodeStrucDoc.LinkHtml', type 'NMTOKENS' is an invalid item type because it is either a list type, or a union type that contains a list.
10:41:30,437 ERROR [JBossXSErrorHandler] JBossWS_urn_hl7-org_v36649775853378394429.xsd[domain: http://www.w3.org/TR/xml-schema-1 http://www.w3.org/TR/xml-schema-1]::[key=cos-st-restricts.2.1]::Message=c...: In the definition of list type '#AnonType_styleCodeStrucDoc.Footnote', type 'NMTOKENS' is an invalid item type because it is either a list type, or a union type that contains a list.
This seems to be related to one of the XSD docuements that the the WebService is dependent upon. I have narrowed it down tot he following:
{code:xml}
<?xml version="1.0" encoding="ASCII"?>
<!-- $Id: NarrativeBlock.xsd,v 1.6 2007/03/20 02:42:07 wbeeler Exp $ -->
<xs:schema xmlns:xs=" http://www.w3.org/2001/XMLSchema http://www.w3.org/2001/XMLSchema" xmlns="urn:hl7-org:v3" targetNamespace="urn:hl7-org:v3" elementFormDefault="qualified">
<xs:complexType name="StrucDoc.Text" mixed="true">
<xs:choice minOccurs="0" maxOccurs="unbounded">
<xs:element name="content" type="StrucDoc.Content"/>
<xs:element name="linkHtml" type="StrucDoc.LinkHtml"/>
<xs:element name="sub" type="StrucDoc.Sub"/>
<xs:element name="sup" type="StrucDoc.Sup"/>
<xs:element name="br" type="StrucDoc.Br"/>
<xs:element name="footnote" type="StrucDoc.Footnote"/>
<xs:element name="footnoteRef" type="StrucDoc.FootnoteRef"/>
<xs:element name="renderMultiMedia" type="StrucDoc.RenderMultiMedia"/>
<xs:element name="paragraph" type="StrucDoc.Paragraph"/>
<xs:element name="list" type="StrucDoc.List"/>
<xs:element name="table" type="StrucDoc.Table"/>
</xs:choice>
<xs:attribute name="ID" type="xs:ID"/>
<xs:attribute name="language" type="xs:NMTOKEN"/>
<xs:attribute name="styleCode" type="xs:NMTOKENS"/>
<xs:attribute name="mediaType" type="xs:string" fixed="text/x-hl7-text+xml"/>
</xs:complexType>
<xs:complexType name="StrucDoc.Title" mixed="true">
<xs:choice minOccurs="0" maxOccurs="unbounded">
<xs:element name="content" type="StrucDoc.TitleContent"/>
<xs:element name="sub" type="StrucDoc.Sub"/>
<xs:element name="sup" type="StrucDoc.Sup"/>
<xs:element name="br" type="StrucDoc.Br"/>
<xs:element name="footnote" type="StrucDoc.TitleFootnote"/>
<xs:element name="footnoteRef" type="StrucDoc.FootnoteRef"/>
</xs:choice>
<xs:attribute name="ID" type="xs:ID"/>
<xs:attribute name="language" type="xs:NMTOKEN"/>
<xs:attribute name="styleCode" type="xs:NMTOKENS"/>
<xs:attribute name="mediaType" type="xs:string" fixed="text/x-hl7-title+xml"/>
</xs:complexType><!-- DELETE THIS, we don't need to define a global element for text
<xs:element name="text" type="text"/>
-->
<xs:complexType name="StrucDoc.Br"/>
<xs:complexType name="StrucDoc.Caption" mixed="true">
<xs:choice minOccurs="0" maxOccurs="unbounded">
<xs:element name="linkHtml" type="StrucDoc.LinkHtml"/>
<xs:element name="sub" type="StrucDoc.Sub"/>
<xs:element name="sup" type="StrucDoc.Sup"/>
<xs:element name="footnote" type="StrucDoc.Footnote"/>
<xs:element name="footnoteRef" type="StrucDoc.FootnoteRef"/>
</xs:choice>
<xs:attribute name="ID" type="xs:ID"/>
<xs:attribute name="language" type="xs:NMTOKEN"/>
<xs:attribute name="styleCode" type="xs:NMTOKENS"/>
</xs:complexType>
<xs:complexType name="StrucDoc.Col">
<xs:attribute name="ID" type="xs:ID"/>
<xs:attribute name="language" type="xs:NMTOKEN"/>
<xs:attribute name="styleCode" type="xs:NMTOKENS"/>
<xs:attribute name="span" type="xs:string" default="1"/>
<xs:attribute name="width" type="xs:string"/>
<xs:attribute name="align">
<xs:simpleType>
<xs:restriction base="xs:NMTOKEN">
<xs:enumeration value="left"/>
<xs:enumeration value="center"/>
<xs:enumeration value="right"/>
<xs:enumeration value="justify"/>
<xs:enumeration value="char"/>
</xs:restriction>
</xs:simpleType>
</xs:attribute>
<xs:attribute name="char" type="xs:string"/>
<xs:attribute name="charoff" type="xs:string"/>
<xs:attribute name="valign">
<xs:simpleType>
<xs:restriction base="xs:NMTOKEN">
<xs:enumeration value="top"/>
<xs:enumeration value="middle"/>
<xs:enumeration value="bottom"/>
<xs:enumeration value="baseline"/>
</xs:restriction>
</xs:simpleType>
</xs:attribute>
</xs:complexType>
<xs:complexType name="StrucDoc.Colgroup">
<xs:sequence minOccurs="0" maxOccurs="unbounded">
<xs:element name="col" type="StrucDoc.Col"/>
</xs:sequence>
<xs:attribute name="ID" type="xs:ID"/>
<xs:attribute name="language" type="xs:NMTOKEN"/>
<xs:attribute name="styleCode" type="xs:NMTOKENS"/>
<xs:attribute name="span" type="xs:string" default="1"/>
<xs:attribute name="width" type="xs:string"/>
<xs:attribute name="align">
<xs:simpleType>
<xs:restriction base="xs:NMTOKEN">
<xs:enumeration value="left"/>
<xs:enumeration value="center"/>
<xs:enumeration value="right"/>
<xs:enumeration value="justify"/>
<xs:enumeration value="char"/>
</xs:restriction>
</xs:simpleType>
</xs:attribute>
<xs:attribute name="char" type="xs:string"/>
<xs:attribute name="charoff" type="xs:string"/>
<xs:attribute name="valign">
<xs:simpleType>
<xs:restriction base="xs:NMTOKEN">
<xs:enumeration value="top"/>
<xs:enumeration value="middle"/>
<xs:enumeration value="bottom"/>
<xs:enumeration value="baseline"/>
</xs:restriction>
</xs:simpleType>
</xs:attribute>
</xs:complexType>
<xs:complexType name="StrucDoc.Content" mixed="true">
<xs:choice minOccurs="0" maxOccurs="unbounded">
<xs:element name="content" type="StrucDoc.Content"/>
<xs:element name="linkHtml" type="StrucDoc.LinkHtml"/>
<xs:element name="sub" type="StrucDoc.Sub"/>
<xs:element name="sup" type="StrucDoc.Sup"/>
<xs:element name="br" type="StrucDoc.Br"/>
<xs:element name="footnote" type="StrucDoc.Footnote"/>
<xs:element name="footnoteRef" type="StrucDoc.FootnoteRef"/>
<xs:element name="renderMultiMedia" type="StrucDoc.RenderMultiMedia"/>
</xs:choice>
<xs:attribute name="ID" type="xs:ID"/>
<xs:attribute name="language" type="xs:NMTOKEN"/>
<xs:attribute name="styleCode" type="xs:NMTOKENS"/>
<xs:attribute name="revised">
<xs:simpleType>
<xs:restriction base="xs:NMTOKEN">
<xs:enumeration value="insert"/>
<xs:enumeration value="delete"/>
</xs:restriction>
</xs:simpleType>
</xs:attribute>
</xs:complexType>
<xs:complexType name="StrucDoc.TitleContent" mixed="true">
<xs:choice minOccurs="0" maxOccurs="unbounded">
<xs:element name="content" type="StrucDoc.TitleContent"/>
<xs:element name="sub" type="StrucDoc.Sub"/>
<xs:element name="sup" type="StrucDoc.Sup"/>
<xs:element name="br" type="StrucDoc.Br"/>
<xs:element name="footnote" type="StrucDoc.TitleFootnote"/>
<xs:element name="footnoteRef" type="StrucDoc.FootnoteRef"/>
</xs:choice>
<xs:attribute name="ID" type="xs:ID"/>
<xs:attribute name="language" type="xs:NMTOKEN"/>
<xs:attribute name="styleCode" type="xs:NMTOKENS"/>
</xs:complexType>
<xs:complexType name="StrucDoc.Footnote" mixed="true">
<xs:choice minOccurs="0" maxOccurs="unbounded">
<xs:element name="content" type="StrucDoc.Content"/>
<xs:element name="linkHtml" type="StrucDoc.LinkHtml"/>
<xs:element name="sub" type="StrucDoc.Sub"/>
<xs:element name="sup" type="StrucDoc.Sup"/>
<xs:element name="br" type="StrucDoc.Br"/>
<xs:element name="renderMultiMedia" type="StrucDoc.RenderMultiMedia"/>
<xs:element name="paragraph" type="StrucDoc.Paragraph"/>
<xs:element name="list" type="StrucDoc.List"/>
<xs:element name="table" type="StrucDoc.Table"/>
</xs:choice>
<xs:attribute name="ID" type="xs:ID"/>
<xs:attribute name="language" type="xs:NMTOKEN"/>
<xs:attribute name="styleCode" type="xs:NMTOKENS"/>
</xs:complexType>
<xs:complexType name="StrucDoc.TitleFootnote" mixed="true">
<xs:choice minOccurs="0" maxOccurs="unbounded">
<xs:element name="content" type="StrucDoc.TitleContent"/>
<xs:element name="sub" type="StrucDoc.Sub"/>
<xs:element name="sup" type="StrucDoc.Sup"/>
<xs:element name="br" type="StrucDoc.Br"/>
</xs:choice>
<xs:attribute name="ID" type="xs:ID"/>
<xs:attribute name="language" type="xs:NMTOKEN"/>
<xs:attribute name="styleCode" type="xs:NMTOKENS"/>
</xs:complexType>
<xs:complexType name="StrucDoc.FootnoteRef">
<xs:attribute name="ID" type="xs:ID"/>
<xs:attribute name="language" type="xs:NMTOKEN"/>
<xs:attribute name="styleCode" type="xs:NMTOKENS"/>
<xs:attribute name="IDREF" type="xs:IDREF" use="required"/>
</xs:complexType>
<xs:complexType name="StrucDoc.Item" mixed="true">
<xs:sequence>
<xs:element name="caption" type="StrucDoc.Caption" minOccurs="0"/>
<xs:choice minOccurs="0" maxOccurs="unbounded">
<xs:element name="content" type="StrucDoc.Content"/>
<xs:element name="linkHtml" type="StrucDoc.LinkHtml"/>
<xs:element name="sub" type="StrucDoc.Sub"/>
<xs:element name="sup" type="StrucDoc.Sup"/>
<xs:element name="br" type="StrucDoc.Br"/>
<xs:element name="footnote" type="StrucDoc.Footnote"/>
<xs:element name="footnoteRef" type="StrucDoc.FootnoteRef"/>
<xs:element name="renderMultiMedia" type="StrucDoc.RenderMultiMedia"/>
<xs:element name="paragraph" type="StrucDoc.Paragraph"/>
<xs:element name="list" type="StrucDoc.List"/>
<xs:element name="table" type="StrucDoc.Table"/>
</xs:choice>
</xs:sequence>
<xs:attribute name="ID" type="xs:ID"/>
<xs:attribute name="language" type="xs:NMTOKEN"/>
<xs:attribute name="styleCode" type="xs:NMTOKENS"/>
</xs:complexType>
<xs:complexType name="StrucDoc.LinkHtml" mixed="true">
<xs:choice minOccurs="0" maxOccurs="unbounded">
<xs:element name="footnote" type="StrucDoc.Footnote"/>
<xs:element name="footnoteRef" type="StrucDoc.FootnoteRef"/>
</xs:choice>
<xs:attribute name="name" type="xs:string"/>
<xs:attribute name="href" type="xs:string"/>
<xs:attribute name="rel" type="xs:string"/>
<xs:attribute name="rev" type="xs:string"/>
<xs:attribute name="title" type="xs:string"/>
<xs:attribute name="ID" type="xs:ID"/>
<xs:attribute name="language" type="xs:NMTOKEN"/>
<xs:attribute name="styleCode" type="xs:NMTOKENS"/>
</xs:complexType>
<xs:complexType name="StrucDoc.List">
<xs:sequence>
<xs:element name="caption" type="StrucDoc.Caption" minOccurs="0"/>
<xs:element name="item" type="StrucDoc.Item" maxOccurs="unbounded"/>
</xs:sequence>
<xs:attribute name="ID" type="xs:ID"/>
<xs:attribute name="language" type="xs:NMTOKEN"/>
<xs:attribute name="styleCode" type="xs:NMTOKENS"/>
<xs:attribute name="listType" default="unordered">
<xs:simpleType>
<xs:restriction base="xs:NMTOKEN">
<xs:enumeration value="ordered"/>
<xs:enumeration value="unordered"/>
</xs:restriction>
</xs:simpleType>
</xs:attribute>
</xs:complexType>
<xs:complexType name="StrucDoc.Paragraph" mixed="true">
<xs:sequence>
<xs:element name="caption" type="StrucDoc.Caption" minOccurs="0"/>
<xs:choice minOccurs="0" maxOccurs="unbounded">
<xs:element name="content" type="StrucDoc.Content"/>
<xs:element name="linkHtml" type="StrucDoc.LinkHtml"/>
<xs:element name="sub" type="StrucDoc.Sub"/>
<xs:element name="sup" type="StrucDoc.Sup"/>
<xs:element name="br" type="StrucDoc.Br"/>
<xs:element name="footnote" type="StrucDoc.Footnote"/>
<xs:element name="footnoteRef" type="StrucDoc.FootnoteRef"/>
<xs:element name="renderMultiMedia" type="StrucDoc.RenderMultiMedia"/>
</xs:choice>
</xs:sequence>
<xs:attribute name="ID" type="xs:ID"/>
<xs:attribute name="language" type="xs:NMTOKEN"/>
<xs:attribute name="styleCode" type="xs:NMTOKENS"/>
</xs:complexType>
<xs:complexType name="StrucDoc.RenderMultiMedia">
<xs:sequence>
<xs:element name="caption" type="StrucDoc.Caption" minOccurs="0"/>
</xs:sequence>
<xs:attribute name="referencedObject" type="xs:IDREFS" use="required"/>
<xs:attribute name="ID" type="xs:ID"/>
<xs:attribute name="language" type="xs:NMTOKEN"/>
<xs:attribute name="styleCode" type="xs:NMTOKENS"/>
</xs:complexType>
<xs:complexType name="StrucDoc.Sub" mixed="true"/>
<xs:complexType name="StrucDoc.Sup" mixed="true"/>
<xs:complexType name="StrucDoc.Table">
<xs:sequence>
<xs:element name="caption" type="StrucDoc.Caption" minOccurs="0"/>
<xs:choice>
<xs:element name="col" type="StrucDoc.Col" minOccurs="0" maxOccurs="unbounded"/>
<xs:element name="colgroup" type="StrucDoc.Colgroup" minOccurs="0" maxOccurs="unbounded"/>
</xs:choice>
<xs:element name="thead" type="StrucDoc.Thead" minOccurs="0"/>
<xs:element name="tfoot" type="StrucDoc.Tfoot" minOccurs="0"/>
<xs:element name="tbody" type="StrucDoc.Tbody" maxOccurs="unbounded"/>
</xs:sequence>
<xs:attribute name="ID" type="xs:ID"/>
<xs:attribute name="language" type="xs:NMTOKEN"/>
<xs:attribute name="styleCode" type="xs:NMTOKENS"/>
<xs:attribute name="summary" type="xs:string"/>
<xs:attribute name="width" type="xs:string"/>
<xs:attribute name="border" type="xs:string"/>
<xs:attribute name="frame">
<xs:simpleType>
<xs:restriction base="xs:NMTOKEN">
<xs:enumeration value="void"/>
<xs:enumeration value="above"/>
<xs:enumeration value="below"/>
<xs:enumeration value="hsides"/>
<xs:enumeration value="lhs"/>
<xs:enumeration value="rhs"/>
<xs:enumeration value="vsides"/>
<xs:enumeration value="box"/>
<xs:enumeration value="border"/>
</xs:restriction>
</xs:simpleType>
</xs:attribute>
<xs:attribute name="rules">
<xs:simpleType>
<xs:restriction base="xs:NMTOKEN">
<xs:enumeration value="none"/>
<xs:enumeration value="groups"/>
<xs:enumeration value="rows"/>
<xs:enumeration value="cols"/>
<xs:enumeration value="all"/>
</xs:restriction>
</xs:simpleType>
</xs:attribute>
<xs:attribute name="cellspacing" type="xs:string"/>
<xs:attribute name="cellpadding" type="xs:string"/>
</xs:complexType>
<xs:complexType name="StrucDoc.Tbody">
<xs:sequence maxOccurs="unbounded">
<xs:element name="tr" type="StrucDoc.Tr"/>
</xs:sequence>
<xs:attribute name="ID" type="xs:ID"/>
<xs:attribute name="language" type="xs:NMTOKEN"/>
<xs:attribute name="styleCode" type="xs:NMTOKENS"/>
<xs:attribute name="align">
<xs:simpleType>
<xs:restriction base="xs:NMTOKEN">
<xs:enumeration value="left"/>
<xs:enumeration value="center"/>
<xs:enumeration value="right"/>
<xs:enumeration value="justify"/>
<xs:enumeration value="char"/>
</xs:restriction>
</xs:simpleType>
</xs:attribute>
<xs:attribute name="char" type="xs:string"/>
<xs:attribute name="charoff" type="xs:string"/>
<xs:attribute name="valign">
<xs:simpleType>
<xs:restriction base="xs:NMTOKEN">
<xs:enumeration value="top"/>
<xs:enumeration value="middle"/>
<xs:enumeration value="bottom"/>
<xs:enumeration value="baseline"/>
</xs:restriction>
</xs:simpleType>
</xs:attribute>
</xs:complexType>
<xs:complexType name="StrucDoc.Td" mixed="true">
<xs:choice minOccurs="0" maxOccurs="unbounded">
<xs:element name="content" type="StrucDoc.Content"/>
<xs:element name="linkHtml" type="StrucDoc.LinkHtml"/>
<xs:element name="sub" type="StrucDoc.Sub"/>
<xs:element name="sup" type="StrucDoc.Sup"/>
<xs:element name="br" type="StrucDoc.Br"/>
<xs:element name="footnote" type="StrucDoc.Footnote"/>
<xs:element name="footnoteRef" type="StrucDoc.FootnoteRef"/>
<xs:element name="renderMultiMedia" type="StrucDoc.RenderMultiMedia"/>
<xs:element name="paragraph" type="StrucDoc.Paragraph"/>
<xs:element name="list" type="StrucDoc.List"/>
</xs:choice>
<xs:attribute name="ID" type="xs:ID"/>
<xs:attribute name="language" type="xs:NMTOKEN"/>
<xs:attribute name="styleCode" type="xs:NMTOKENS"/>
<xs:attribute name="abbr" type="xs:string"/>
<xs:attribute name="axis" type="xs:string"/>
<xs:attribute name="headers" type="xs:IDREFS"/>
<xs:attribute name="scope">
<xs:simpleType>
<xs:restriction base="xs:NMTOKEN">
<xs:enumeration value="row"/>
<xs:enumeration value="col"/>
<xs:enumeration value="rowgroup"/>
<xs:enumeration value="colgroup"/>
</xs:restriction>
</xs:simpleType>
</xs:attribute>
<xs:attribute name="rowspan" type="xs:string" default="1"/>
<xs:attribute name="colspan" type="xs:string" default="1"/>
<xs:attribute name="align">
<xs:simpleType>
<xs:restriction base="xs:NMTOKEN">
<xs:enumeration value="left"/>
<xs:enumeration value="center"/>
<xs:enumeration value="right"/>
<xs:enumeration value="justify"/>
<xs:enumeration value="char"/>
</xs:restriction>
</xs:simpleType>
</xs:attribute>
<xs:attribute name="char" type="xs:string"/>
<xs:attribute name="charoff" type="xs:string"/>
<xs:attribute name="valign">
<xs:simpleType>
<xs:restriction base="xs:NMTOKEN">
<xs:enumeration value="top"/>
<xs:enumeration value="middle"/>
<xs:enumeration value="bottom"/>
<xs:enumeration value="baseline"/>
</xs:restriction>
</xs:simpleType>
</xs:attribute>
</xs:complexType>
<xs:complexType name="StrucDoc.Tfoot">
<xs:sequence maxOccurs="unbounded">
<xs:element name="tr" type="StrucDoc.Tr"/>
</xs:sequence>
<xs:attribute name="ID" type="xs:ID"/>
<xs:attribute name="language" type="xs:NMTOKEN"/>
<xs:attribute name="styleCode" type="xs:NMTOKENS"/>
<xs:attribute name="align">
<xs:simpleType>
<xs:restriction base="xs:NMTOKEN">
<xs:enumeration value="left"/>
<xs:enumeration value="center"/>
<xs:enumeration value="right"/>
<xs:enumeration value="justify"/>
<xs:enumeration value="char"/>
</xs:restriction>
</xs:simpleType>
</xs:attribute>
<xs:attribute name="char" type="xs:string"/>
<xs:attribute name="charoff" type="xs:string"/>
<xs:attribute name="valign">
<xs:simpleType>
<xs:restriction base="xs:NMTOKEN">
<xs:enumeration value="top"/>
<xs:enumeration value="middle"/>
<xs:enumeration value="bottom"/>
<xs:enumeration value="baseline"/>
</xs:restriction>
</xs:simpleType>
</xs:attribute>
</xs:complexType>
<xs:complexType name="StrucDoc.Th" mixed="true">
<xs:choice minOccurs="0" maxOccurs="unbounded">
<xs:element name="content" type="StrucDoc.Content"/>
<xs:element name="linkHtml" type="StrucDoc.LinkHtml"/>
<xs:element name="sub" type="StrucDoc.Sub"/>
<xs:element name="sup" type="StrucDoc.Sup"/>
<xs:element name="br" type="StrucDoc.Br"/>
<xs:element name="footnote" type="StrucDoc.Footnote"/>
<xs:element name="footnoteRef" type="StrucDoc.FootnoteRef"/>
<xs:element name="renderMultiMedia" type="StrucDoc.RenderMultiMedia"/>
</xs:choice>
<xs:attribute name="ID" type="xs:ID"/>
<xs:attribute name="language" type="xs:NMTOKEN"/>
<xs:attribute name="styleCode" type="xs:NMTOKENS"/>
<xs:attribute name="abbr" type="xs:string"/>
<xs:attribute name="axis" type="xs:string"/>
<xs:attribute name="headers" type="xs:IDREFS"/>
<xs:attribute name="scope">
<xs:simpleType>
<xs:restriction base="xs:NMTOKEN">
<xs:enumeration value="row"/>
<xs:enumeration value="col"/>
<xs:enumeration value="rowgroup"/>
<xs:enumeration value="colgroup"/>
</xs:restriction>
</xs:simpleType>
</xs:attribute>
<xs:attribute name="rowspan" type="xs:string" default="1"/>
<xs:attribute name="colspan" type="xs:string" default="1"/>
<xs:attribute name="align">
<xs:simpleType>
<xs:restriction base="xs:NMTOKEN">
<xs:enumeration value="left"/>
<xs:enumeration value="center"/>
<xs:enumeration value="right"/>
<xs:enumeration value="justify"/>
<xs:enumeration value="char"/>
</xs:restriction>
</xs:simpleType>
</xs:attribute>
<xs:attribute name="char" type="xs:string"/>
<xs:attribute name="charoff" type="xs:string"/>
<xs:attribute name="valign">
<xs:simpleType>
<xs:restriction base="xs:NMTOKEN">
<xs:enumeration value="top"/>
<xs:enumeration value="middle"/>
<xs:enumeration value="bottom"/>
<xs:enumeration value="baseline"/>
</xs:restriction>
</xs:simpleType>
</xs:attribute>
</xs:complexType>
<xs:complexType name="StrucDoc.Thead">
<xs:sequence maxOccurs="unbounded">
<xs:element name="tr" type="StrucDoc.Tr"/>
</xs:sequence>
<xs:attribute name="ID" type="xs:ID"/>
<xs:attribute name="language" type="xs:NMTOKEN"/>
<xs:attribute name="styleCode" type="xs:NMTOKENS"/>
<xs:attribute name="align">
<xs:simpleType>
<xs:restriction base="xs:NMTOKEN">
<xs:enumeration value="left"/>
<xs:enumeration value="center"/>
<xs:enumeration value="right"/>
<xs:enumeration value="justify"/>
<xs:enumeration value="char"/>
</xs:restriction>
</xs:simpleType>
</xs:attribute>
<xs:attribute name="char" type="xs:string"/>
<xs:attribute name="charoff" type="xs:string"/>
<xs:attribute name="valign">
<xs:simpleType>
<xs:restriction base="xs:NMTOKEN">
<xs:enumeration value="top"/>
<xs:enumeration value="middle"/>
<xs:enumeration value="bottom"/>
<xs:enumeration value="baseline"/>
</xs:restriction>
</xs:simpleType>
</xs:attribute>
</xs:complexType>
<xs:complexType name="StrucDoc.Tr">
<xs:choice maxOccurs="unbounded">
<xs:element name="th" type="StrucDoc.Th"/>
<xs:element name="td" type="StrucDoc.Td"/>
</xs:choice>
<xs:attribute name="ID" type="xs:ID"/>
<xs:attribute name="language" type="xs:NMTOKEN"/>
<xs:attribute name="styleCode" type="xs:NMTOKENS"/>
<xs:attribute name="align">
<xs:simpleType>
<xs:restriction base="xs:NMTOKEN">
<xs:enumeration value="left"/>
<xs:enumeration value="center"/>
<xs:enumeration value="right"/>
<xs:enumeration value="justify"/>
<xs:enumeration value="char"/>
</xs:restriction>
</xs:simpleType>
</xs:attribute>
<xs:attribute name="char" type="xs:string"/>
<xs:attribute name="charoff" type="xs:string"/>
<xs:attribute name="valign">
<xs:simpleType>
<xs:restriction base="xs:NMTOKEN">
<xs:enumeration value="top"/>
<xs:enumeration value="middle"/>
<xs:enumeration value="bottom"/>
<xs:enumeration value="baseline"/>
</xs:restriction>
</xs:simpleType>
</xs:attribute>
</xs:complexType>
</xs:schema>
{code}
--------------------------------------------------------------
Reply to this message by going to Community
[http://community.jboss.org/message/577669#577669]
Start a new discussion in JBoss Web Services at Community
[http://community.jboss.org/choose-container!input.jspa?contentType=1&cont...]
15 years
[jBPM] - Re: jBPM5 Console Integration with Tomcat6
by Amin Mohammed-Coleman
Amin Mohammed-Coleman [http://community.jboss.org/people/aminmc] created the discussion
"Re: jBPM5 Console Integration with Tomcat6"
To view the discussion, visit: http://community.jboss.org/message/595437#595437
--------------------------------------------------------------
Hi
Finally i got it working...it was a tearful moment. I had to make changes to one of the libs within the console server as it was using a different datasource. However I have a few questions from running the console (apologies for writing this on this thread):
1) I am using JPAWorkingMemoryDbLogger to track changes and I was wondering what the best practice is for this. Currently I have some code that instantiates the JPAWorkingMemoryDbLogger on construction of the StatefulKnowledgeSession and then have some methods such as
class A {
public A () {
..initialise ksession
.. create JPAWorkingMemoryDbLogger (ksession);
}
startProcess(String processName) {
ksession.start(...);
ksession.dispose();
}
void action (String actionName) {
ksession.signal(..);
ksession.dispose();
}
}
Is this the write approach or should i create a JPAWorkingMemoryDbLogger for each method call and then dispose after the method execution. (I noticed with this approach i was getting double processinstancelog entries for a given process instance).
2) On my diagram i have a event based gateway which has 2 event flows. On start of the process when i check the diagram i see a red arrow for both messages. When I follow a path for a given event I notice that there is still a red arrow for the event path that i didn't take. Is there something I can do to stop this? I noticed that code collections activeNodeInstances based on type (EXIT or ENTERED). Not sure what approach it should be as it is misleading as I have taken a given path.
3) I notice that the rest API has a list of active nodes and the jbpm console makes a call to get the active nodes and then does some parsing to generate the image. Is there a way to get the image (with the red arrow) via the rest api?
Any help would be appreciated...again :) !
--------------------------------------------------------------
Reply to this message by going to Community
[http://community.jboss.org/message/595437#595437]
Start a new discussion in jBPM at Community
[http://community.jboss.org/choose-container!input.jspa?contentType=1&cont...]
15 years
[jBPM] - this token is locked by token[34]
by zan sowyer
zan sowyer [http://community.jboss.org/people/darkzan] created the discussion
"this token is locked by token[34]"
To view the discussion, visit: http://community.jboss.org/message/595407#595407
--------------------------------------------------------------
hello,
i'm new in the jbpm world and trying to understand how it works,
while trying to end a taskinstance by using taskinstance.end();
i keep getting the exception "this token is locked by token"
my method
public void completerTask(long id) {
JbpmConfiguration jbpmConfiguration = JbpmConfiguration.getInstance();
JbpmContext jbpmontext = jbpmConfiguration.createJbpmContext();
TaskInstance task = jbpmontext.getTaskInstance(id);
task.end();
jbpmontext.close();
}
org.jbpm.JbpmException: this token is locked by token[34]
at org.jbpm.graph.exe.Token.signal(Token.java:200)
at org.jbpm.graph.exe.Token.signal(Token.java:143)
at org.jbpm.taskmgmt.exe.TaskInstance.end(TaskInstance.java:438)
at org.jbpm.taskmgmt.exe.TaskInstance.end(TaskInstance.java:364)
at jbpm.backend.CreationListeSignataireActionHandler.execute(CreationListeSignataireActionHandler.java:43)
at org.jbpm.graph.def.Action.execute(Action.java:137)
at org.jbpm.graph.def.GraphElement.executeAction(GraphElement.java:280)
at org.jbpm.graph.def.GraphElement.executeActions(GraphElement.java:237)
at org.jbpm.graph.def.GraphElement.fireAndPropagateEvent(GraphElement.java:207)
at org.jbpm.graph.def.GraphElement.fireEvent(GraphElement.java:190)
at org.jbpm.graph.def.Node.enter(Node.java:358)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
at java.lang.reflect.Method.invoke(Unknown Source)
at org.hibernate.proxy.pojo.cglib.CGLIBLazyInitializer.invoke(CGLIBLazyInitializer.java:157)
at org.jbpm.graph.def.Node$$EnhancerByCGLIB$$2a832044.enter(<generated>)
at org.jbpm.graph.def.Transition.take(Transition.java:151)
at org.jbpm.graph.def.Node.leave(Node.java:453)
at org.jbpm.graph.node.TaskNode.leave(TaskNode.java:228)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
at java.lang.reflect.Method.invoke(Unknown Source)
at org.hibernate.proxy.pojo.cglib.CGLIBLazyInitializer.invoke(CGLIBLazyInitializer.java:157)
at org.jbpm.graph.def.Node$$EnhancerByCGLIB$$2a832044.leave(<generated>)
at org.jbpm.graph.exe.Token.signal(Token.java:214)
at org.jbpm.graph.exe.Token.signal(Token.java:143)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
at java.lang.reflect.Method.invoke(Unknown Source)
at org.hibernate.proxy.pojo.cglib.CGLIBLazyInitializer.invoke(CGLIBLazyInitializer.java:157)
at org.jbpm.graph.exe.Token$$EnhancerByCGLIB$$d711c6d8.signal(<generated>)
at org.jbpm.taskmgmt.exe.TaskInstance.end(TaskInstance.java:438)
at org.jbpm.taskmgmt.exe.TaskInstance.end(TaskInstance.java:364)
at service.impl.CreateurProcessusImpl.completerTask(CreateurProcessusImpl.java:114)
at test.TestWorkFlow.CompleterActiviteParActeur(TestWorkFlow.java:114)
at test.TestWorkFlow.testFlow(TestWorkFlow.java:76)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
at java.lang.reflect.Method.invoke(Unknown Source)
at junit.framework.TestCase.runTest(TestCase.java:154)
at junit.framework.TestCase.runBare(TestCase.java:127)
at junit.framework.TestResult$1.protect(TestResult.java:106)
at junit.framework.TestResult.runProtected(TestResult.java:124)
at junit.framework.TestResult.run(TestResult.java:109)
at junit.framework.TestCase.run(TestCase.java:118)
at junit.framework.TestSuite.runTest(TestSuite.java:208)
at junit.framework.TestSuite.run(TestSuite.java:203)
at org.eclipse.jdt.internal.junit.runner.junit3.JUnit3TestReference.run(JUnit3TestReference.java:130)
at org.eclipse.jdt.internal.junit.runner.TestExecution.run(TestExecution.java:38)
at org.eclipse.jdt.internal.junit.runner.RemoteTestRunner.runTests(RemoteTestRunner.java:467)
at org.eclipse.jdt.internal.junit.runner.RemoteTestRunner.runTests(RemoteTestRunner.java:683)
at org.eclipse.jdt.internal.junit.runner.RemoteTestRunner.run(RemoteTestRunner.java:390)
at org.eclipse.jdt.internal.junit.runner.RemoteTestRunner.main(RemoteTestRunner.java:197)
thank you in advance
--------------------------------------------------------------
Reply to this message by going to Community
[http://community.jboss.org/message/595407#595407]
Start a new discussion in jBPM at Community
[http://community.jboss.org/choose-container!input.jspa?contentType=1&cont...]
15 years