[JBoss-user] [JBoss jBPM] - Re: Problem during deploying my own bpel process in jbpm bpe
Alejandro, thanks for your reply, the ant deploy-definition command worked now. I'm going to folow the next steps now. But, It's weird because those files were all generated by Oracle JDeveloper Bpel Designer and work with Oracle Business Process Manager deployment. Maybe, this is a stupid question. But what do you mean with This makes sense because your process does not receive through the myEcho partner link. Are you saying that the service won't return anything to the process? Because, myEcho service returns a greeting message to the process. As you can see in the jws: | public class myEcho { | | public String echo(String s){ | return Hello, + s + . Nice to meet you!; | } | | } | Am I making a misunderstanding about what you said? Thanks in advance, FabrÃcio. View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=3913236#3913236 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=3913236 --- 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_idv37alloc_id865op=click ___ JBoss-user mailing list JBoss-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [JBoss jBPM] - Re: Problem deploying my own Bpel process
Yes Alejandro, Firstly I posted this topic, but as you can see some information in bpel and wsdl files were hidden. I dont know why. So I posted another one with tag . Sorry for this. View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=3912862#3912862 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=3912862 --- 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=7637alloc_id=16865op=click ___ JBoss-user mailing list JBoss-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [JBoss jBPM] - Re: Problem during deploying my own bpel process in jbpm bpe
Thanks Alejandro, I'll check it out. View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=3912863#3912863 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=3912863 --- 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=7637alloc_id=16865op=click ___ JBoss-user mailing list JBoss-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [JBoss jBPM] - Re: Problem during deploying my own bpel process in jbpm bpe
Ok Alejandro, I'll post all my success and insuccess with this experience. Thanks, Fabricio. View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=3912952#3912952 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=3912952 --- 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=7637alloc_id=16865op=click ___ JBoss-user mailing list JBoss-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [JBoss jBPM] - Re: Problem during deploying my own bpel process in jbpm bpe
Hello Alejandro and Jbpm users, I think I don't know how to deploy this bpel process. I'll try to explain how JDeveloper Bpel designer created the files. When I modelled my bpel process I noticed that a wsdl file for the web service that I'm calling was generated and I didn't put it in my previous bpel-definition.xml file. Now I have my myEcho folders structured as: | myEcho |hibernate.properties |jndi.properties |log4j.properties |build.properties |build.xml |[definition] | bpel-definition.xml | myEcho.bpel | myEcho.wsdl | myEcho1.wsdl | And the files are: bpel-definition.xml | !-- specifies the location of the process definition -- | bpelDefinition location=myEcho.bpel xmlns=http://jbpm.org/bpel; | xmlns:xsi=http://www.w3.org/2001/XMLSchema-instance; | xsi:schemaLocation=http://jbpm.org/bpel | http://jbpm.org/bpel/bpel_definition_1_0.xsd; | | !-- makes WSDL interface elements available to the process -- | imports | wsdl namespace=http://xmlns.oracle.com/myEcho; location=myEcho.wsdl/ | wsdl namespace=http://localhost:8081/axis/myEcho.jws; location=myEcho1.wsdl/ | /imports | | /bpelDefinition | myEcho.bpel file is: | !-- | / | // Oracle JDeveloper BPEL Designer | // | // Created: Thu Dec 08 22:17:32 BRST 2005 | // Author: Fasilva | // Purpose: Synchronous BPEL Process | / | -- | process name=myEcho targetNamespace=http://xmlns.oracle.com/myEcho; xmlns=http://schemas.xmlsoap.org/ws/2003/03/business-process/; xmlns:xsd=http://www.w3.org/2001/XMLSchema; xmlns:bpws=http://schemas.xmlsoap.org/ws/2003/03/business-process/; xmlns:xp20=http://www.oracle.com/XSL/Transform/java/oracle.tip.pc.services.functions.Xpath20; xmlns:ns1=http://localhost:8081/axis/myEcho.jws; xmlns:ldap=http://schemas.oracle.com/xpath/extension/ldap; xmlns:bpelx=http://schemas.oracle.com/bpel/extension; xmlns:client=http://xmlns.oracle.com/myEcho; xmlns:ora=http://schemas.oracle.com/xpath/extension; xmlns:orcl=http://www.oracle.com/XSL/Transform/java/oracle.tip.pc.services.functions.ExtFunc; | | !-- = -- | !-- PARTNERLINKS -- | !-- List of services participating in this BPEL process -- | !-- = -- | | partnerLinks | partnerLink name=client partnerLinkType=client:myEcho myRole=myEchoProvider/ | partnerLink myRole=myEcho_Role name=myEcho partnerRole=myEcho_Role partnerLinkType=ns1:myEcho_PL/ | /partnerLinks | | !-- = -- | !-- VARIABLES -- | !-- List of messages and XML documents used within this BPEL process -- | !-- = -- | | variables!-- Reference to the message passed as input during initiation -- | variable name=inputVariable messageType=client:myEchoRequestMessage/ | | !-- Reference to the message that will be returned to the requester -- | | variable name=outputVariable messageType=client:myEchoResponseMessage/ | variable name=Invoke_1_echo_InputVariable messageType=ns1:echoRequest/ | variable name=Invoke_1_echo_OutputVariable messageType=ns1:echoResponse/ | /variables | | !-- = -- | !-- ORCHESTRATION LOGIC -- | !-- Set of activities coordinating the flow of messages across the -- | !-- services integrated within this business process -- | !-- = -- | | sequence name=main | !-- | Receive input from requestor. | Note: This maps to operation defined in myEcho.wsdl | -- | receive name=receiveInput partnerLink=client portType=client:myEcho operation=process variable=inputVariable createInstance=yes/ | | !-- Generate reply to synchronous request -- | | scope name=Scope_1 | sequence name=Sequence_1 | assign name=InEcho | copy | from variable=inputVariable part=payload query=/client:myEchoProcessRequest/client:input/ | to variable=Invoke_1_echo_InputVariable part=s/ | /copy | /assign | invoke name=myEcho partnerLink=myEcho portType=ns1:myEcho operation=echo inputVariable=Invoke_1_echo_InputVariable outputVariable=Invoke_1_echo_OutputVariable/ | assign name=EchoOut | copy | from variable=Invoke_1_echo_OutputVariable
[JBoss-user] [JBoss jBPM] - Problem deploying my own Bpel process
Hello all, I want to deploy a very simple process in jbpm Bpel. I could configure and test helloworld example. Now, I have a web service (in my localhost using axis) that only receives a string and replies it with a gretting message. I modelled this process using JDeveloper from Oracle due to facility. This process receives the string and call the web service to get the gretting message. My bpel process is this: !-- / // Oracle JDeveloper BPEL Designer // // Created: Thu Dec 08 22:17:32 BRST 2005 // Author: Fabricio // Purpose: Synchronous BPEL Process / -- process name=myEcho targetNamespace=http://xmlns.oracle.com/myEcho; xmlns=http://schemas.xmlsoap.org/ws/2003/03/business-process/; xmlns:xsd=http://www.w3.org/2001/XMLSchema; xmlns:bpws=http://schemas.xmlsoap.org/ws/2003/03/business-process/; xmlns:xp20=http://www.oracle.com/XSL/Transform/java/oracle.tip.pc.services.functions.Xpath20; xmlns:ns1=http://localhost:8081/axis/myEcho.jws; xmlns:ldap=http://schemas.oracle.com/xpath/extension/ldap; xmlns:bpelx=http://schemas.oracle.com/bpel/extension; xmlns:client=http://xmlns.oracle.com/myEcho; xmlns:ora=http://schemas.oracle.com/xpath/extension; xmlns:orcl=http://www.oracle.com/XSL/Transform/java/oracle.tip.pc.services.functions.ExtFunc;!-- = --!-- PARTNERLINKS --!-- List of services participating in this BPEL process --!-- = -- !-- The 'client' role represents the requester of this service. It is used for callback. The location and correlation information associated with the client role are automatically set using WS-Addressing. -- !-- = --!-- VARIABLES --!-- List of messages and XML documents used within this BPEL process --!-- = -- !-- Reference to the message passed as input during initiation -- !-- Reference to the message that will be returned to the requester -- !-- = --!-- ORCHESTRATION LOGIC --!-- Set of activities coordinating the flow of messages across the --!-- services integrated within this business process --!-- = -- !-- Receive input from requestor. Note: This maps to operation defined in myEcho.wsdl -- !-- Generate reply to synchronous request -- And the wsdl for this process is: ?xml version=1.0 encoding=UTF-8? definitions name=myEcho targetNamespace=http://xmlns.oracle.com/myEcho; xmlns=http://schemas.xmlsoap.org/wsdl/; xmlns:client=http://xmlns.oracle.com/myEcho; xmlns:plnk=http://schemas.xmlsoap.org/ws/2003/05/partner-link/; !-- ~ TYPE DEFINITION - List of services participating in this BPEL process The default output of the BPEL designer uses strings as input and output to the BPEL Process. But you can define or import any XML Schema type and us them as part of the message types. ~ -- !-- ~ MESSAGE TYPE DEFINITION - Definition of the message types used as part of the port type defintions ~ -- !-- ~ PORT TYPE DEFINITION - A port type
[JBoss-user] [JBoss jBPM] - Problem during deploying my own bpel process in jbpm bpel (B
Hello all, I want to deploy a very simple process in jbpm Bpel. I could configure and test helloworld example. Now, I have a web service (in my localhost using axis) that only receives a string and replies it with a gretting message. I modelled this process using JDeveloper from Oracle due to facility. This process receives the string and call the web service to get the gretting message. My bpel process is this: !-- | / | // Oracle JDeveloper BPEL Designer | // | // Created: Thu Dec 08 22:17:32 BRST 2005 | // Author: Fasilva | // Purpose: Synchronous BPEL Process | / | -- | process name=myEcho targetNamespace=http://xmlns.oracle.com/myEcho; xmlns=http://schemas.xmlsoap.org/ws/2003/03/business-process/; xmlns:xsd=http://www.w3.org/2001/XMLSchema; xmlns:bpws=http://schemas.xmlsoap.org/ws/2003/03/business-process/; xmlns:xp20=http://www.oracle.com/XSL/Transform/java/oracle.tip.pc.services.functions.Xpath20; xmlns:ns1=http://localhost:8081/axis/myEcho.jws; xmlns:ldap=http://schemas.oracle.com/xpath/extension/ldap; xmlns:bpelx=http://schemas.oracle.com/bpel/extension; xmlns:client=http://xmlns.oracle.com/myEcho; xmlns:ora=http://schemas.oracle.com/xpath/extension; xmlns:orcl=http://www.oracle.com/XSL/Transform/java/oracle.tip.pc.services.functions.ExtFunc; | partnerLinks | partnerLink name=client partnerLinkType=client:myEcho myRole=myEchoProvider/ | partnerLink myRole=myEcho_Role name=myEcho partnerRole=myEcho_Role partnerLinkType=ns1:myEcho_PL/ | /partnerLinks | variables | variable name=inputVariable messageType=client:myEchoRequestMessage/ | variable name=outputVariable messageType=client:myEchoResponseMessage/ | variable name=Invoke_1_echo_InputVariable messageType=ns1:echoRequest/ | variable name=Invoke_1_echo_OutputVariable messageType=ns1:echoResponse/ | /variables | sequence name=main | receive name=receiveInput partnerLink=client portType=client:myEcho operation=process variable=inputVariable createInstance=yes/ | scope name=Scope_1 | sequence name=Sequence_1 | assign name=InEcho | copy | from variable=inputVariable part=payload query=/client:myEchoProcessRequest/client:input/ | to variable=Invoke_1_echo_InputVariable part=s/ | /copy | /assign | invoke name=myEcho partnerLink=myEcho portType=ns1:myEcho operation=echo inputVariable=Invoke_1_echo_InputVariable outputVariable=Invoke_1_echo_OutputVariable/ | assign name=EchoOut | copy | from variable=Invoke_1_echo_OutputVariable part=echoReturn/ | to variable=outputVariable part=payload query=/client:myEchoProcessResponse/client:result/ | /copy | /assign | /sequence | /scope | reply name=replyOutput partnerLink=client portType=client:myEcho operation=process variable=outputVariable/ | /sequence | /process | And the wsdl for this process is: ?xml version=1.0 encoding=UTF-8? | definitions name=myEcho | targetNamespace=http://xmlns.oracle.com/myEcho; | xmlns=http://schemas.xmlsoap.org/wsdl/; | xmlns:client=http://xmlns.oracle.com/myEcho; | xmlns:plnk=http://schemas.xmlsoap.org/ws/2003/05/partner-link/; | types | schema attributeFormDefault=qualified | elementFormDefault=qualified | targetNamespace=http://xmlns.oracle.com/myEcho; | xmlns=http://www.w3.org/2001/XMLSchema; | element name=myEchoProcessRequest | complexType | sequence | element name=input type=string/ | /sequence | /complexType | /element | element name=myEchoProcessResponse | complexType | sequence | element name=result type=string/ | /sequence | /complexType | /element | /schema | /types | | message name=myEchoRequestMessage | part name=payload element=client:myEchoProcessRequest/ | /message | message name=myEchoResponseMessage | part name=payload element=client:myEchoProcessResponse/ | /message | | | portType name=myEcho | operation name=process | input
[JBoss-user] [JBoss jBPM] - Why I cant deploy hello example in JbpmBpel (Help, please!!!
Hello all, I'm studying jbpm Bpel to use it in some works, but neither the basic hello example I'm not being able to execute. I'll show you here what I did and what I'm getting. I installed jboss-4.0.3SP1 and than jBPM-BPEL 1.0 alpha 2; I followed all the userguide steps and I could execute all of them until generate schema in my postgres database with no problems. Now, to do the most important thing - see the stuff working in fact running hello example - I'm getting errors in: I run ant pack-definition and the .par file is generaited without problem, but when I need to run ant deploy-definition , I'm getting this after many messages: [deploypar] 21:06:36,060 DEBUG BpelReader : registered activity reader: name=validate, class=org.jbpm.bpel.xml.ValidateReader [deploypar] 21:06:36,288 DEBUG LocalEntityResolver : wsdl.xsd maps to URL: jar:file:/usr/local/jbpmbpel/build/jbpm-bpel-1.0-alpha3.jar!/org/jbpm/bpel/xml/util/wsdl.xsd [deploypar] 21:06:36,342 DEBUG LocalEntityResolver : plink_1_1.xsd maps to URL: jar:file:/usr/local/jbpmbpel/build/jbpm-bpel-1.0-alpha3.jar!/org/jbpm/bpel/xml/util/plink_1_1.xsd [deploypar] 21:06:36,605 ERROR ProblemCollector : META-INF/bpel-definition.xml Namespace for prefix 'plt' has not been declared. [deploypar] 21:06:36,614 ERROR ProblemCollector : META-INF/bpel-definition.xml unable to upgrade wsdl document: hello.wsdl [deploypar] javax.xml.transform.TransformerException: java.lang.RuntimeException: Namespace for prefix 'plt' has not been declared. [deploypar] [Fatal Error] :-1:-1: Premature end of file. [deploypar] 21:06:36,752 DEBUG ProcessArchiveDeployer : starting transaction to deploy process BpelDefinition(b4b0a4) [deploypar] 21:06:36,871 DEBUG ProcessArchiveDeployer : flushing... [deploypar] 21:06:36,943 DEBUG ProcessArchiveDeployer : committing transaction to deploy process BpelDefinition(b4b0a4) BUILD SUCCESSFUL Total time: 17 seconds It's weird, because even with that error it show BUILD SUCCESSFUL, and according to the userguide the final messages must be: [deploypar] 18:13:45,030 INFO BpelReader : read bpel process: hello.bpel [deploypar] 18:13:45,260 DEBUG ProcessArchiveDeployer : starting transaction to deploy process BpelDefinition(helloWorld) [deploypar] 18:13:50,998 DEBUG ProcessArchiveDeployer : flushing... [deploypar] 18:13:51,389 DEBUG ProcessArchiveDeployer : committing transaction to deploy process BpelDefinition(helloWorld) All steps after this don't work too, due to that error. I saw another post in this following with a similar error: http://www.jboss.org/index.html?module=bbop=viewtopicp=3888657 I used Aguizar tip changing my build.xml file adding line inside wsdlgen.classpath. This element doesn't exist in my build.xml file. I added it in wsdlgen.classpath, deployer.classpath, test.classpath elements. And I run ant deploy-definition and the same error occurs. I really don't have any idea about what I could do to solve this problem. My only hope is here in this forum. Please, help me! I need to make it work and use Jbpm Bpel. View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=3910387#3910387 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=3910387 --- 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=7637alloc_id=16865op=click ___ JBoss-user mailing list JBoss-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jboss-user