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:
- 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.
- In the wizard that appears, enter the endpoint's name and type, then click Finish.
- Populate the remaining properties of the new endpoint in the form that appears. Press or the save button on the toolbar.
- 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.
- In the dialog that appears, enter the endpoint's name and type. Click Next.
- Choose the service that your endpoint will call whenever it is triggered. Click Next.
- 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.
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.