There is a good chance it might not be different. I did add it within a case
tag. It was a while ago. The reason I posted was that I could not find a
complete switch string example in the docs. So i wanted to just throw one that
I knew worked into the community.
View the original post :
Sorry this took so long:
Request is just a variable with a string part
sequence name=SwitchSequence
| switch name=ExampleSwitch
| case
|
condition=bpel:getVariableData('request','msg')='STRING_CASE1'
Thanks for sharing your example with the community, Nick. I can't find how the
expression in your last post differs from the previous one, tough. Am I missing
something?
View the original post :
http://www.jboss.com/index.html?module=bbop=viewtopicp=3950949#3950949
Reply to the post :
I got it. Thanks for the help. I will post a string bpel example later today
for anyone that is interested.
View the original post :
http://www.jboss.com/index.html?module=bbop=viewtopicp=3944859#3944859
Reply to the post :
anonymous wrote : However, the element still requires the activity under a
subelement.
Then is still needed? I believe the schema in the 2.0 called bpel_2_0.xsd is
the one i am supposed to be using. It refers to a then and when i do not have
one it will complain in my ide.
In my
So i thank you for your help and i have decided to just go with the Switch
statement. The only think left i have to do is get my condition statement
working. Right now I am using
condition=bpel:getVariableData('request','msg')='FUSION1'
Can someone please help me with comparing strings in
Okay so now i am confused. The bpel schema will not parse without the
| 2006-05-17 09:24:01,312 ERROR [org.jbpm.bpel.xml.ProblemHandler]
JTMFusion.bpel(52) cvc-complex-type.2.4.a: Invalid content was found starting
with element 'empty'. One of
FYI:
?xml version=1.0 encoding=UTF-8?
| process name=MyBPEL
| xmlns=http://schemas.xmlsoap.org/ws/2004/03/business-process/;
| xmlns:xsi=http://www.w3.org/2001/XMLSchema-instance;
| xmlns:bpel=http://schemas.xmlsoap.org/ws/2004/03/business-process/;
|
Is switch no longer supported also? I really can't understand why the SPEC
seems so simple yet so hard to piece together? When i try a switch it throws
this error:
2006-05-17 09:39:40,328 ERROR [org.jbpm.bpel.xml.ProblemHandler]
JTMFusion.bpel(48) cvc-complex-type.2.4.a: Invalid content
I just got the latest schema for BPEL 2 and posted it to the CVS repository in
directory src/bpel/org/jbpm/bpel/xml/util. However, the element still requires
the activity under a subelement.
When you work with a specification in progress you must be aware that things
can change quickly and
BPEL-162 is done. Please check out the code from the head branch of our CVS
repo.
View the original post :
http://www.jboss.com/index.html?module=bbop=viewtopicp=3943904#3943904
Reply to the post :
http://www.jboss.com/index.html?module=bbop=postingmode=replyp=3943904
So i am no longer getting an error about the if clause it is a parsing null
pointer error. Is this conecept correct? If it is i will post real code:
| sequence name=MainFusionSequence
|
| receive operation
| /receive
|
| if
|
I took the chance to incorporate the latest if syntax. The entry #237 in
the WS-BPEL issues list removed the then element from the if construct.
The BpelReader throws NPE because it did not find an activity element as a
direct child of . This does not require further checking in the parser
jBPM BPEL alpha 4 does not parse the new syntax for conditional behavior
introduced in WS-BPEL 2. The upcoming beta 1 will parse it. See issue BPEL-162
for details.
As a workaround, please use the old syntax.
View the original post :
14 matches
Mail list logo