Skip to content

Home

Development

IDEs

API Explorer

Releases

Release notes

Martini Runtime

Martini Desktop

Martini Online

Feature requests

Bug reports

Creating a Martini endpoint

To create a Martini endpoint, you must have a Martini package first as this is where the endpoint will reside. After this requirement is fulfilled, you may create an endpoint using the following steps:

How to create an endpoint

  1. In the Navigator view, double click on the Martini package where you would like your Martini endpoint to reside. Right click the Endpoints node, and then select New > Martini Endpoint.
  2. In the wizard that appears, enter the endpoint's name and type, then click Finish.
  3. Populate the remaining properties of the new endpoint in the form that appears. Press or the save button from the toolbar.

How to create an endpoint

  1. In the Navigator view, double click on the Martini package where you would like your Martini endpoint to reside. Right click the Endpoints node, and then select New > Martini Endpoint.
  2. In the dialog that appears, enter the endpoint's name and type. Click Next.
  3. Choose the service that your endpoint will call whenever it is triggered. Click Next.
  4. Populate the remaining properties of the new endpoint, then click Finish.

Alternatively, you can also create an endpoint by right clicking on a service (which will be called by the endpoint) and and then select New > Expose as Endpoint from the appearing context menu.

How to create an endpoint via a service right-click

How to create an endpoint via a service right-click

Different endpoints, different properties

While all endpoint types do have common properties, there are fields specific only to certain types of endpoints. For more information, refer to their respective documentation pages.