[JBoss-user] [JBoss jBPM] - Re: Correlation Problem
I am not mind this process to be the third example once the problem is solved. And the WSDL definitions of partner processes are as following. BankLoan.wsdl | | http://external.company/BankLoan"; | xmlns="http://schemas.xmlsoap.org/wsdl/"; | xmlns:my="http://external.company/BankLoan"; | xmlns:xsd="http://www.w3.org/2001/XMLSchema";> | | http://external.company/BankLoan"; | xmlns="http://www.w3.org/2001/XMLSchema";> | | | | | | | | | | | | | | | | | | | | | | | | | | | | | BankLoan_SVC.wsdl | | http://external.company/BankLoan"; | xmlns="http://schemas.xmlsoap.org/wsdl/"; | xmlns:my="http://external.company/BankLoan"; | xmlns:xsd="http://www.w3.org/2001/XMLSchema"; | xmlns:soap="http://schemas.xmlsoap.org/wsdl/soap/"; | xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"; | xsi:schemaLocation="http://schemas.xmlsoap.org/wsdl/ | http://schemas.xmlsoap.org/wsdl/";> | | http://external.company/BankLoan"; location="BankLoan.wsdl" /> | | | http://schemas.xmlsoap.org/soap/http"/> | | | | http://external.company/BankLoan"/> | | | http://external.company/BankLoan"/> | | | | | | | | | | | BlackList.wsdl | | http://internal.company/BlackList"; | xmlns="http://schemas.xmlsoap.org/wsdl/"; | xmlns:my="http://internal.company/BlackList"; | xmlns:xsd="http://www.w3.org/2001/XMLSchema";> | | | | | | | | | | | | | | | | BlackList_SVC.wsdl | | http://internal.company/BlackList"; | xmlns="http://schemas.xmlsoap.org/wsdl/"; | xmlns:my="http://internal.company/BlackList"; | xmlns:xsd="http://www.w3.org/2001/XMLSchema"; | xmlns:soap="http://schemas.xmlsoap.org/wsdl/soap/"; | xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"; | xsi:schemaLocation="http://schemas.xmlsoap.org/wsdl/ | http://schemas.xmlsoap.org/wsdl/";> | | http://internal.company/BlackList"; location="BlackList.wsdl" /> | | | http://schemas.xmlsoap.org/soap/http"/> | | | | http://internal.company/BlackList"/> | | | http://internal.company/BlackList"/> | | | | | | | | | | | Customer.wsdl | | http://internal.company/Customer"; | xmlns="http://schemas.xmlsoap.org/wsdl/"; | xmlns:my="http://internal.company/Customer"; | xmlns:xsd="http://www.w3.org/2001/XMLSchema";> | | http://internal.company/Customer"; | xmlns="http://www.w3.org/2001/XMLSchema";> | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Customer_SVC.wsdl | | http://internal.company/Customer"; | xmlns="http://schemas.xmlsoap.org/wsdl/"; | xmlns:my="http://internal.company/Customer"; | xmlns:xsd="http://www.w3.org/2001/XMLSchema"; | xmlns:soap="http://schemas.xmlsoap.org/wsdl/soap/"; | xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"; | xsi:schemaLocation="http://schemas.xmlsoap.org/wsdl/ | http://schemas.xmlsoap.org/wsdl/";> | | http://internal.company/Customer"; location="Customer.wsdl" /> | | | http://schemas.xmlsoap.org/soap/http"/> | | | | http://internal.company/Customer"/> | | | http://internal.company/Customer"/> | | | http://internal.company/Customer"/> | | | | | | | | | | | Logger.wsdl | | http://internal.company/Logger"; | xmlns="http://schemas.xmlsoap.org/wsdl/"; | xmlns:my="http://internal.company/Logger"; | xmlns:xsd="http://www.w3.org/2001/XMLSchema";> | | | | | | | | | | | | Logger_SVC.wsdl | | http://internal.company/Logger"; | xmlns="http://schemas.xmlsoap.org/wsdl/"; | xmlns:my="http://internal.company/Logger"; | xmlns:xsd="http://www.w3.org/2001/XMLSchema"; | xmlns:soap="http://schemas.xmlsoap.org/wsdl/soap/"; | xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"; | xsi:schemaLocation="http://schemas.xmlsoap.org/wsdl/ |
[JBoss-user] [JBoss jBPM] - Re: Correlation Problem
Looks like this error happens when the token iterates over its chilldren to end them. I guess the Hibernate mappings have a bug. I'm not sure, tough. I'll set up a project and try to reproduce the problem. Could you share the WSDL definitions of your partner processes? By the way, your process is interesting. Would you mind my using it as a third example once the problem is solved? View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3916821#3916821 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3916821 --- This SF.net email is sponsored by: Splunk Inc. Do you grep through log files for problems? Stop! Download the new AJAX search engine that makes searching your log files as easy as surfing the web. DOWNLOAD SPLUNK! http://ads.osdn.com/?ad_id=7637&alloc_id=16865&op=click ___ JBoss-user mailing list JBoss-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [JBoss jBPM] - Re: Correlation
Pedro, The async functionality has something, but I'm not sure if that is what you need. Since the way a mapping/correlation needs to be done, it is best to do this outside jBPM or use a variable to store the relevant info and retrieve process instances based on this variable and its value (see the web ui in cvs for an example of this) View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3914638#3914638 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3914638 --- This SF.net email is sponsored by: Splunk Inc. Do you grep through log files for problems? Stop! Download the new AJAX search engine that makes searching your log files as easy as surfing the web. DOWNLOAD SPLUNK! http://ads.osdn.com/?ad_id=7637&alloc_id=16865&op=click ___ JBoss-user mailing list JBoss-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [JBoss jBPM] - Re: Correlation issue
Alex, thanks for your pacience. You will see in the *.wsdl and *.bpel that i am importing a schema file that contains the complex types that will be use in the operations. I can do the deploy, but when i try to run the (src/HelloTest) i get a : | - Standard Output --- | [junit] 11:28:26,333 ERROR Service : Invalid byte 2 of 3-byte UTF-8 sequence. | [junit] java.io.UTFDataFormatException: Invalid byte 2 of 3-byte UTF-8 sequence. | [junit] at org.apache.xerces.impl.io.UTF8Reader.invalidByte(Unknown Source) | [junit] at org.apache.xerces.impl.io.UTF8Reader.read(Unknown Source) | [junit] at org.apache.xerces.impl.XMLEntityScanner.load(Unknown Source) | [junit] at org.apache.xerces.impl.XMLEntityScanner.scanContent(Unknown Source) | [junit] at org.apache.xerces.impl.XMLDocumentFragmentScannerImpl.scanContent(Unknown Source) | [junit] at org.apache.xerces.impl.XMLDocumentFragmentScannerImpl$FragmentContentDispatcher.dispatch(Unknown Source) | [junit] at org.apache.xerces.impl.XMLDocumentFragmentScannerImpl.scanDocument(Unknown Source) | [junit] at org.apache.xerces.parsers.XML11Configuration.parse(Unknown Source) | [junit] at org.apache.xerces.parsers.XML11Configuration.parse(Unknown Source) | [junit] at org.apache.xerces.parsers.XMLParser.parse(Unknown Source) | [junit] at org.apache.xerces.parsers.DOMParser.parse(Unknown Source) | [junit] at org.apache.xerces.jaxp.DocumentBuilderImpl.parse(Unknown Source) | [junit] at org.jboss.axis.utils.XMLUtils.newDocument(XMLUtils.java:274) | [junit] at org.jboss.axis.utils.XMLUtils.newDocument(XMLUtils.java:322) | [junit] at org.jboss.axis.utils.XMLUtils.newDocument(XMLUtils.java:304) | [junit] at org.jboss.axis.wsdl.symbolTable.SymbolTable.lookForImports(SymbolTable.java:729) | [junit] at org.jboss.axis.wsdl.symbolTable.SymbolTable.lookForImports(SymbolTable.java:734) | [junit] at org.jboss.axis.wsdl.symbolTable.SymbolTable.lookForImports(SymbolTable.java:734) | [junit] at org.jboss.axis.wsdl.symbolTable.SymbolTable.lookForImports(SymbolTable.java:734) | [junit] at org.jboss.axis.wsdl.symbolTable.SymbolTable.populate(SymbolTable.java:608) | [junit] at org.jboss.axis.wsdl.symbolTable.SymbolTable.populate(SymbolTable.java:629) | [junit] at org.jboss.axis.wsdl.symbolTable.SymbolTable.populate(SymbolTable.java:629) | [junit] at org.jboss.axis.wsdl.symbolTable.SymbolTable.add(SymbolTable.java:464) | [junit] at org.jboss.axis.wsdl.symbolTable.SymbolTable.populate(SymbolTable.java:450) | [junit] at org.jboss.axis.wsdl.symbolTable.SymbolTable.populate(SymbolTable.java:433) | [junit] at org.jboss.axis.wsdl.gen.Parser$WSDLRunnable.run(Parser.java:273) | [junit] at java.lang.Thread.run(Thread.java:595) | [junit] - --- | [junit] Testcase: testSayHello(org.jbpm.bpel.tutorial.hello.HelloTest): Caused an ERROR | [junit] Could not dereference object | [junit] javax.naming.NamingException: Could not dereference object [Root exception is javax.xml.rpc.ServiceException: Error processing WSDL document: | [junit] java.io.UTFDataFormatException: Invalid byte 2 of 3-byte UTF-8 sequence.] | [junit] at org.jnp.interfaces.NamingContext.getObjectInstanceWrapFailure(NamingContext.java:1135) | [junit] at org.jnp.interfaces.NamingContext.lookup(NamingContext.java:690) | [junit] at org.jboss.naming.client.java.javaURLContextFactory$EncContextProxy.invoke(javaURLContextFactory.java:120) | [junit] at $Proxy0.lookup(Unknown Source) | [junit] at javax.naming.InitialContext.lookup(InitialContext.java:351) | [junit] at org.jbpm.bpel.tutorial.hello.HelloTest.setUp(HelloTest.java:28) | [junit] at org.eclipse.ant.internal.ui.antsupport.InternalAntRunner.run(InternalAntRunner.java:423) | [junit] at org.eclipse.ant.internal.ui.antsupport.InternalAntRunner.main(InternalAntRunner.java:137) | [junit] Caused by: javax.xml.rpc.ServiceException: Error processing WSDL document: | [junit] java.io.UTFDataFormatException: Invalid byte 2 of 3-byte UTF-8 sequence. | [junit] at org.jboss.axis.client.Service.initService(Service.java:289) | [junit] at org.jboss.axis.client.Service.(Service.java:191) | [junit] at org.jboss.webservice.client.ServiceImpl.(ServiceImpl.java:110) | [junit] at org.jboss.webservice.client.ServiceObjectFactory.getObjectInstance(ServiceObjectFactory.java:158) | [junit] at javax.naming.spi.NamingManager.getObjectInstance(NamingManager.java:304) | [junit] at org.jnp.interfaces.NamingContext.getObjectInstance(NamingContext.java:1110) | [junit] at org.jnp.interfaces.NamingContext.getObjectInstanceWrapFailure(NamingContext.java:1127) | [junit] ... 25 more | [junit] Test org.jbpm.bpel.
[JBoss-user] [JBoss jBPM] - Re: Correlation issue
The ATM example process contains receive-reply pairs that have other activities between them, so that's not the problem. I think the problem resides in having more than one outstanding request, tough. Please send your zipped project to me through e-mail. I'll post an answer here when I find something. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3910561#3910561 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3910561 --- This SF.net email is sponsored by: Splunk Inc. Do you grep through log files for problems? Stop! Download the new AJAX search engine that makes searching your log files as easy as surfing the web. DOWNLOAD SPLUNK! http://ads.osdn.com/?ad_id=7637&alloc_id=16865&op=click ___ JBoss-user mailing list JBoss-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [JBoss jBPM] - Re: Correlation issue
Hi Alex, I kind of solve the problem. I had a process activity like that: receive (correlated) invoke invoke receive (correlate) reply (the first receive) This structure does not work, i do not know why. But if i use the reply after the receive for both receives it works. receive (correlated) reply invoke invoke receive (correlate) reply Fromt the example files that i posted before, you can see that i have a bug in the operation receiveNotification. This operation has an output message and i was not replying to it. I fixed that by removing the output message from the operation and it still didnt work. Apparantely, it only worked if i use receive-reply (one after the other) during the process. I i use receive and then another receive and then reply to the first receive i cannot correlate. Maybe i am doing something wrong... Anyway, thanks a lot for having me ;) View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3910430#3910430 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3910430 --- This SF.net email is sponsored by: Splunk Inc. Do you grep through log files for problems? Stop! Download the new AJAX search engine that makes searching your log files as easy as surfing the web. DOWNLOAD SPLUNK! http://ads.osdn.com/?ad_id=7637&alloc_id=16865&op=click ___ JBoss-user mailing list JBoss-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [JBoss jBPM] - Re: Correlation issue
Sorry, I missed this one. I'll answer it during the weekend! View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3910391#3910391 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3910391 --- This SF.net email is sponsored by: Splunk Inc. Do you grep through log files for problems? Stop! Download the new AJAX search engine that makes searching your log files as easy as surfing the web. DOWNLOAD SPLUNK! http://ads.osdn.com/?ad_id=7637&alloc_id=16865&op=click ___ JBoss-user mailing list JBoss-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jboss-user