Message variable initialization
970085Feb 1 2013 — edited Feb 26 2020Hello,
We had this ridiculous situation a while ago where out service instances create their variables with multiple nodes.
For example if we have xsd looking like this:
...
<element name="Response">
<complexType>
<sequence>
<element name="Result">
<simpleType>
<restriction base="string">
<enumeration value="OK"/>
<enumeration value="ERR"/>
</restriction>
</simpleType>
</element>
<element name="Comment" minOccurs="0" type="string"/>
</sequence>
</complexType>
</element>
...
In BPEL we have message variable which part is this "Response" element. Everything is fine till the moment we start getting initial variable looking like this:
<outputVariable>
<part name="payload" >
<Response>
<Result/>
<Result/>
<Result/>
<Result/>
<Result/>
<Result/>
</Response>
</part>
</outputVariable>
Of course we have no reason for this, no logs, no info and so on. Any idea anyone?
Everything is normal concerning the BPEL, no errors are raised till the moment we need to populate the variable. The process is working correctly but we cannot return result to the caller.
WL version: 10.3.5.0
SOA version: 11.1.1.5.0
BPEL version: 2.0
Best regards.