[JBoss jBPM] - Re: Send Mail in specified date.
by jalamos
I use jBPM 3.2.2 , and mi jpdl is :
<start-state name="start">
| <task name="SolicitudBG">
| <controller>
| <variable access="read,write,required" name="NombreProyecto"></variable>
| <variable access="read,write,required" name="Beneficiario"></variable>
| <variable access="read,write,required" name="Sponsor"></variable>
| <variable access="read,write,required" name="Monto"></variable>
| <variable access="read,write,required" name="Fecha"></variable>
| </controller>
| </task>
| <transition to="enviar mail" name="enviar_mail"></transition>
| </start-state>
|
| <state name="enviar mail">
| <event type="node-enter">
| <mail name="mailIt" to="everis.finanzas(a)gmail.com">
| </mail>
| </event>
| <timer name="alerta" duedate="#{Fecha} - 5 business days">
| <action class="org.jbpm.mail.Mail">
| <to>everis.finanzas(a)gmail.com</to>
| <template>actor-reminder-1</template>
| </action>
| </timer>
| <transition to="Termino"></transition>
| </state>
|
| <end-state name="Termino"></end-state>
but doesn't work because no read the variable #{fecha}, you know how do that??.
View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4150559#4150559
Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4150559
18 years, 1 month
[JBoss jBPM] - BPEL 2.0 examples
by gllambi
Hi, I've been trying to consume a bpel 2.0 process with jbpm and the following exception occurs. Any idea what's the problem?
| 19:08:26,045 ERROR [XPathEvaluator] cannot create node for non-element context n
| ode: [#document: null]
| 19:09:25,811 ERROR [[jsp]] Servlet.service() para servlet jsp lanzþ excepciþn
| javax.xml.ws.soap.SOAPFaultException: The service is not in an appropiate state
| for the requested operation
| at org.jboss.ws.core.jaxws.SOAPFaultHelperJAXWS.getSOAPFaultException(SO
| APFaultHelperJAXWS.java:69)
| at org.jboss.ws.core.jaxws.binding.SOAP11BindingJAXWS.throwFaultExceptio
| n(SOAP11BindingJAXWS.java:109)
| at org.jboss.ws.core.CommonSOAPBinding.unbindResponseMessage(CommonSOAPB
| inding.java:553)
|
Here is the bpel process
| <?xml version="1.0" encoding="UTF-8"?>
| <bpws:process exitOnStandardFault="yes" name="HelloProcess"
| suppressJoinFailure="yes"
| targetNamespace="http://eclipse.org/bpel/sample"
| xmlns:bpws="http://docs.oasis-open.org/wsbpel/2.0/process/executable" xmlns:tns="http://eclipse.org/bpel/sample">
| <bpws:import importType="http://schemas.xmlsoap.org/wsdl/"
| location="HelloProcess.wsdl" namespace="http://eclipse.org/bpel/sample"/>
| <bpws:partnerLinks>
| <bpws:partnerLink myRole="HelloProcessProvider" name="client" partnerLinkType="tns:HelloProcess"/>
| </bpws:partnerLinks>
| <bpws:variables>
| <bpws:variable messageType="tns:HelloProcessRequestMessage" name="input"/>
| <bpws:variable messageType="tns:HelloProcessResponseMessage" name="output"/>
| </bpws:variables>
| <bpws:sequence name="main">
| <bpws:receive createInstance="yes" name="receiveInput"
| operation="process" partnerLink="client"
| portType="tns:HelloProcess" variable="input"/>
| <bpws:assign name="Assign" validate="no">
| <bpws:copy>
| <bpws:from>
| <bpws:literal>Hello</bpws:literal>
| </bpws:from>
| <bpws:to part="payload" variable="output">
| <bpws:query queryLanguage="urn:oasis:names:tc:wsbpel:2.0:sublang:xpath1.0"><![CDATA[/tns:result]]></bpws:query>
| </bpws:to>
| </bpws:copy>
| </bpws:assign>
| <bpws:reply name="replyOutput" operation="process"
| partnerLink="client" portType="tns:HelloProcess" variable="output"/>
| </bpws:sequence>
| </bpws:process>
|
And here is the wsdl of the process:
| <?xml version="1.0"?>
| <definitions name="HelloProcess"
| targetNamespace="http://eclipse.org/bpel/sample"
| xmlns:tns="http://eclipse.org/bpel/sample"
| xmlns:plnk="http://docs.oasis-open.org/wsbpel/2.0/plnktype"
| xmlns="http://schemas.xmlsoap.org/wsdl/"
| >
|
| <!-- ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
| TYPE DEFINITION - List of types participating in this BPEL process
| The BPEL Designer will generate default request and response types
| but you can define or import any XML Schema type and use them as part
| of the message types.
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -->
| <types>
| <schema attributeFormDefault="unqualified" elementFormDefault="qualified"
| targetNamespace="http://eclipse.org/bpel/sample"
| xmlns="http://www.w3.org/2001/XMLSchema">
|
| <element name="HelloProcessRequest">
| <complexType>
| <sequence>
| <element name="input" type="string"/>
| </sequence>
| </complexType>
| </element>
|
| <element name="HelloProcessResponse">
| <complexType>
| <sequence>
| <element name="result" type="string"/>
| </sequence>
| </complexType>
| </element>
| </schema>
| </types>
|
|
| <!-- ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
| MESSAGE TYPE DEFINITION - Definition of the message types used as
| part of the port type defintions
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -->
| <message name="HelloProcessRequestMessage">
| <part name="payload" element="tns:HelloProcessRequest"/>
| </message>
| <message name="HelloProcessResponseMessage">
| <part name="payload" element="tns:HelloProcessResponse"/>
| </message>
|
| <!-- ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
| PORT TYPE DEFINITION - A port type groups a set of operations into
| a logical service unit.
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -->
|
| <!-- portType implemented by the HelloProcess BPEL process -->
| <portType name="HelloProcess">
| <operation name="process">
| <input message="tns:HelloProcessRequestMessage" />
| <output message="tns:HelloProcessResponseMessage"/>
| </operation>
| </portType>
|
|
| <!-- ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
| PARTNER LINK TYPE DEFINITION
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -->
| <plnk:partnerLinkType name="HelloProcess">
| <plnk:role name="HelloProcessProvider" portType="tns:HelloProcess"/>
| </plnk:partnerLinkType>
|
| </definitions>
|
Thanks!
Guzman
View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4150552#4150552
Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4150552
18 years, 1 month
Delivery Status Notification (Failure)
by postmaster@lists.jboss.org
This is an automatically generated Delivery Status Notification.
Unable to deliver message to the following recipients, because the message was forwarded more than the maximum allowed times. This could indicate a mail loop.
vadim_arifov(a)technodom.kz
18 years, 1 month
Delivery Notification <nal@raiffeisen.ru>
by Postmaster@lists.jboss.org
This is a delivery status notification, automatically generated by MTA mgate.raiffeisen.ru on Wed, 14 May 2008 02:31:17 +0400
Regarding recipient(s) : nal(a)raiffeisen.ru
Delivery status : Failed. Message could not be delivered to domain <raiffeisen.ru> .Failed while initiating the protocol. <[('nal(a)raiffeisen.ru', 550, 'nal@raiffeisen.ru... No such user')]>
MTA Response :550
The original message headers are included as attachment.
18 years, 1 month
[JBoss Portal] - Re: Class 'tidy' not found in PHP application on JBoss Porta
by PeterJ
First, the apt-get command you issued installs the command-line tidy utility, it does not install the tidy module for PHP. For that you need to specify package php_tidy. (Warning: I did this on Fedora, not on Ubuntu, so your package name might be different.)
I got tidy to work on Windows, but cannot get it to work on Linux.
I did the following:
0) Started the app server with JBoss Native and PHP support installed, and the php-examples.war deployed.
1) Accessed the info.php file in php-examples.war and noted the location of the php.ini file. (c:/windows) [On linux, the location was: /home/jfclere/Linux_i686_tools/PHP/lib)
2) Created a php.ini file in that location and put in two entries: extension_dir and extension:
extension_dir = F:/opt/jboss/web/php5servlet-windows-i586-SP1/php5servlet-windows-SP1-i586/PHP/bin/ext
extension = php_tidy.dll
On linux, I had:
extension_dir = /usr/lib/php/modules
extension = tidy.so
On Linux I had to install the tidy support (yum install php_tidy) and then locate the installed module. On Windows, PHP comes with tidy support.
3) Restarted the app server, accessed info.php again and checked that 'tidy' showed up in the list on installed modules.
At that point I could use tidy on Windows. But for some reason on Linux the tidy module is not loading.
View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4150543#4150543
Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4150543
18 years, 1 month