Author Topic: Expose Interface not working  (Read 3550 times)

Erlenmeyer

  • EA User
  • **
  • Posts: 27
  • Karma: +0/-0
    • View Profile
Expose Interface not working
« 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
« Last Edit: August 02, 2019, 02:59:07 am by Erlenmeyer »

qwerty

  • EA Guru
  • *****
  • Posts: 13584
  • Karma: +396/-301
  • I'm no guru at all
    • View Profile
Re: Expose Interface not working
« Reply #1 on: August 02, 2019, 05:08:34 am »
Without checking: wasn't that just a drop down with two entries (req/prov)?

q.

workingmatt

  • EA User
  • **
  • Posts: 24
  • Karma: +0/-0
    • View Profile
Re: Expose Interface not working
« Reply #2 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 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
« Last Edit: January 06, 2024, 01:23:26 am by workingmatt »

qwerty

  • EA Guru
  • *****
  • Posts: 13584
  • Karma: +396/-301
  • I'm no guru at all
    • View Profile
Re: Expose Interface not working
« Reply #3 on: January 06, 2024, 09:16:33 am »
You cite v16 below and referred to V14 above.

q.