This Bugzilla instance is a read-only archive of historic NetBeans bug reports. To report a bug in NetBeans please follow the project's instructions for reporting issues.

Bug 79894 - It's should be possible to provide 'messageType' attribute for onEvent activity
Summary: It's should be possible to provide 'messageType' attribute for onEvent activity
Status: VERIFIED FIXED
Alias: None
Product: soa
Classification: Unclassified
Component: BPEL (show other bugs)
Version: 5.x
Hardware: All All
: P2 blocker (vote)
Assignee: Nikita Krjukov
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2006-07-10 12:26 UTC by Andrey Yamkovoy
Modified: 2006-08-14 10:52 UTC (History)
1 user (show)

See Also:
Issue Type: DEFECT
Exception Reporter:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Andrey Yamkovoy 2006-07-10 12:26:59 UTC
It's should be possible to provide 'messageType' (or 'element') attribute when 
provide variable for onMessage activity.
Comment 1 Nikita Krjukov 2006-07-27 14:41:55 UTC
The onMessage element doesn't contain variable type attribute.
The type is defined by the message type of the selected operation. 

See schema:
<pick createInstance="yes|no"? standard-attributes>
     standard-elements
     <onMessage partnerLink="ncname" portType="qname"?
          operation="ncname" variable="ncname"? 
          messageExchange="ncname"? >+
         <correlations>?
             <correlation set="ncname" initiate="yes|join|no"?/>+
        </correlations>
        <fromPart part="ncname" toVariable="ncname"/>*
        activity
    </onMessage>
    <onAlarm>*
          ( <for expressionLanguage="anyURI"?>duration-expr</for> |
            <until expressionLanguage="anyURI"?>deadline-expr</until> )
         activity
    </onAlarm>
</pick>
Comment 2 Denis Anisimov 2006-07-27 14:51:13 UTC
I believe this issue was filed for onEvent element.
OnEvent element is mentioned in Summary.

Description has wrong mentioned of OnMessage element.
Comment 3 Andrey Yamkovoy 2006-08-03 14:41:28 UTC
I'm sorry ... It was my mistake in description. The bug filed for onEvent 
element.
      
<onEvent partnerLink="NCName" portType="QName"?
      operation="NCName" (messageType="QName" | element="QName")?
      variable="NCName"? messageExchange="NCName"? >*
   <correlations>?
      <correlation set="NCName" initiate="yes|join|no"?/>+
   </correlations>
   <fromPart part="NCName" toVariable="NCName"/>*
   <scope ...> ... </scope>
</onEvent>
Comment 4 Alexey Yarmolenko 2006-08-08 11:21:14 UTC
Value for messageType attribute is provided automatically when variable 
attribute is set. It calculated from the value of "operation" attribute.

But this logic should be moved to BpelOM after beta. Current implementation 
will not update the messageType attribute if operation was changed via source 
editing or by message flow link drawing tool.
Comment 5 Andrey Yamkovoy 2006-08-14 10:52:26 UTC
ok ... attribute provided automatically