"element" attribute for OnEvent elements [message #651759] |
Tue, 01 February 2011 08:48  |
Eclipse User |
|
|
|
My BPEL process defines an OnEvent element that in turn uses a variable attribute. To check SA00087 I added element and messageType attributes. The instance for messageType is not obtainable via OnEvent.getMessageType() (which I consider a litte unintuitively), but rather via Variable.getMessage() where Variable is the instance of the variable attribute used by OnEvent. Thus, I assumed that the instance for element is obtainable via Variable.getXSDElement() (as like as with the "normal" Variable element), but it is not. Rather, Variable.getXSDElement() always returns NULL in that case. I don't get the point. Where do I get the instance for the element attribute?
It is not that element is just not resolved. I would get an XSDElementDeclarationProxy in that case. But I get NULL. A little help would be great.
These are the files I used to test the SA rule:
BPEL process: http://pastebin.com/fBqbWeKu
WSDL definition: http://pastebin.com/mKN5EdiA
|
|
|
|
|
|
|
|
|
|
|
Powered by
FUDForum. Page generated in 0.03871 seconds