question-circle [Solved] SOAML: How to create Role of Participant type

7 years 6 months ago #449 by febmaroct
I am trying to create Service Architecture diagrams. I was able to create CollaborationUse of type ServiceContract. I need to validate the way I am creating Roles of type Participants. This is how I do it. I select the Role icon in the Palette and click in the ServiceArchitecture component which create a role. Then I select the role and in properties I see this property called 'Base' and I set this property's value to the type I want to set. It is wierd that I do not see a attribute with name as 'type' as I see for collaboration use. Can someone please validate my steps?

Thanks.

Please Log in or Create an account to join the conversation.

7 years 6 months ago - 7 years 6 months ago #450 by andy
Hi,

Check the role properties, you can choose a base for your role. If you have a participant somewhere, just point on it.

My personal way:
1. Create SoaML Package to store all the SoaML model there.
2. Create Participant Diagram and few participants there.
3. Create Service Architecture Diagram and ServiceArchitecture bulb there
4. Create role inside the ServiceArchitecture
5. Chose type for the role from the list of Participants I created before

Then I have this picture
Attachments:

Please Log in or Create an account to join the conversation.

7 years 6 months ago #458 by andy
Oups, it seems there is a bug in collaboration diagrams.

You can use several workarounds, while they fix it:
1. Use dependency link and add a "bind" stereotype. It is ugly but should help you to start.

2. Otherwise, try Modelio 1.2.x with old SoaML modules, though I strongly discourage you to do so, since we really move forward with Modelio 2 support.

BTW, we are currently concocting some new features for SoaML ;)
If interested, subscribe to http://rd.softeam.com

Please Log in or Create an account to join the conversation.

7 years 6 months ago #463 by febmaroct
Thanks Andy for the reply. The work around you suggested is to use a dependency link with a 'bind' stereotype. But when I am in the servicearchitecture I do not see a dependency link. Can you tell me how to add a dependency link with bind stereotype to ServiceArchitecture diagram?

thanks in advance.

Please Log in or Create an account to join the conversation.

7 years 6 months ago - 7 years 6 months ago #469 by andy
Hi,

The work around would be to create a "Binding" stereotype for a dependency link. See the screenshot.

1. Link collaboration use with role with a dependency link
2. Create a stereotype. Click on dependency, then Menu MDA->Create Stereotype, then add "Binding" for "Dependency" meta-class. This will add binding stereotype to the selected dependency.
3. For the future dependencies to should directly apply your "Binding" stereotype by clicking the "+ << >>" button.





Attachments:

Please Log in or Create an account to join the conversation.

7 years 6 months ago #470 by febmaroct
Thanks a bunch Andy!! I followed your steps and was able to work around the issue. Thanks again. One more question: How do I get a UML view like you have in your snapshots? I see diagram/model/element and few others but not UML like you have.

Please Log in or Create an account to join the conversation.

Moderators: tmachmebr
Time to create page: 0.239 seconds
^ Back to Top