ode-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "EXTERNAL Schmid Markus (Diplomand; CI/TMP)" <external.Markus.Schm...@de.bosch.com>
Subject passed integer ignored by if-condition
Date Wed, 12 Dec 2007 08:18:12 GMT
Hi there,

I have a bpel project with ODE 1.1 and ServiceMix 3.1.2.
Please see the snippets below for further Information.

My Service is called with an integer which is to be tested against a fix
value in an if-condition.
The value seems to be ignored and the else-case is always called. If I
enter the value directly, the conditions are handled correctly. The
value is available in the service, at least I can attach it to the
Can anyone give me a clue please?

            <element name="RegMessageRequest">
                        <element name="text" type="string"/>
                        <element name="Zahl" type="integer"/>


        <variable messageType="regns:RegMessageRequest"
        <variable messageType="regns:RegMessageResponse"
        <variable type="xsd:string" name="varText" />
        <variable type="xsd:integer" name="varZahl" />
        <variable type="xsd:string" name="varResponse" />
	        <to variable="varZahl"/>
        <if name="CheckZahl">
        	<condition>$varZahl &lt; 100 </condition>
        		<assign name="assign_1">
        			<from>' less than 100 '</from>
        		<assign name="assign_2">
        			<from>' greater than 100 '</from>

  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message