Sparx Systems Forum

Enterprise Architect => General Board => Topic started by: Erlenmeyer on August 02, 2019, 02:38:31 am

Title: Expose Interface not working
Post by: Erlenmeyer on August 02, 2019, 02:38:31 am
The R14 user guide says:

"When you create the Expose Interface element, a dialog displays in which you enter a name for the element and specify whether it represents a required interface or a provided interface."

When I drag the "Expose Interface" element onto a Participant, I do not get the dialog box -- the element is always created as a "provided interface."  How do I create a Required Interface?

The "Assembly" connector seems to create both interfaces, but the user guide still doesn't match what I am seeing when using the UML component Expose Interface

I am working on a SoaML Services Architecture, BTW.  I don't necessarily want to create a "SOA - Services" "Service Interface" element in every case where I want to model an interface.

Mark
Title: Re: Expose Interface not working
Post by: qwerty on August 02, 2019, 05:08:34 am
Without checking: wasn't that just a drop down with two entries (req/prov)?

q.
Title: Re: Expose Interface not working
Post by: workingmatt on January 06, 2024, 12:54:38 am
I have this issue still. Dragging on an Expose Interface tool from the UML Structural-Component toolbox and dropping it onto a Component or Class should (according to the documentation) bring up a dialog asking if it should be a required or provided interface, and for you to name it.

No such dialog appears and a ProvidedInterface port is added to the Component/Class. There are no properties, including Type, that can be changed.

Update:
In October 2019 Geert replied here: https://sparxsystems.com/forums/smf/index.php?topic=41054.0 (https://sparxsystems.com/forums/smf/index.php?topic=41054.0) to say you need to double click on the resulting interface to see the popup window where you can add the interface it embeds and change between Required and Provided Interface.

There was talk about a 'Prefer Property Dialogs' preference setting that could make EA behave as per the documentation, but that I have not been able to find it.

EA v16.1
Docs: https://sparxsystems.com/enterprise_architect_user_guide/16.1/modeling_languages/exposeinterface.html (https://sparxsystems.com/enterprise_architect_user_guide/16.1/modeling_languages/exposeinterface.html)
Title: Re: Expose Interface not working
Post by: qwerty on January 06, 2024, 09:16:33 am
You cite v16 below and referred to V14 above.

q.