This site contains the documentation that is relevant to older WSO2 product versions and offerings.
For the latest WSO2 documentation, visit https://wso2.com/documentation/.

Working with Endpoints via Tooling

You can create a new endpoint or import an existing endpoint from an XML file, such as a Synapse configuration file using WSO2 EI tooling. 

You need to have WSO2 EI tooling installed to create a new endpoint or to import an existing endpoint via WSO2 EI tooling. For instructions on installing WSO2 EI tooling, see Installing Enterprise Integrator Tooling.

When you create an endpoint, you need to give it a name, at which point it appears in the Defined Endpoint section of the tool palette in WSO2 EI tooling. To use a defined endpoint, simply drag and drop the endpoint from the palette to the sequence, proxy service, or other artifact where you want to reference it.

Creating a new endpoint

Follow these steps to create a new endpoint. Alternatively, you can import an existing endpoint.

  1. In Eclipse, click the Developer Studio menu and then click Open Dashboard. This opens the Developer Studio Dashboard.
  2. Click Endpoint on the Developer Studio Dashboard.
  3. Select Create a New Endpoint and click Next.
  4. Type a unique name for the endpoint, and then specify the type of endpoint you are creating.
  5. Do one of the following:
    • To save the endpoint in an existing ESB Config project in your workspace, click Browse and select that project.
    • To save the endpoint in a new ESB Config project, click Create new Project and create the new project.
    • To save the endpoint in a registry resource project, click Make this a Dynamic Endpoint, click the Browse button next to Save endpoint in and select the registry, and then select the registry (Configuration or Governance) where you want to save the endpoint. Lastly, type the endpoint name in the Registry Path box. 

      For instructions on creating a Registry Resource Project, see Working with Registry Artifacts.

  6. In the Advanced Configuration section (which changes based on the type of endpoint you are creating), specify any additional options you need for that endpoint type.
  7. Click Finish. The endpoint is created in the endpoints folder under the ESB Config or Registry Resource project you specified, and the endpoint opens in the editor.

Importing an endpoint

Follow these steps to import an existing endpoint from an XML file such as a Synapse configuration file, into an ESB Config project. Alternatively, you can create a new endpoint.

  1. In Eclipse, click the Developer Studio menu and then click Open Dashboard. This opens the Developer Studio Dashboard.
  2. Click Endpoint on the Developer Studio Dashboard.
  3. Select Import Endpoint and click Next.
  4. Specify the endpoint file by typing its full path name or clicking Browse and navigating to the file.
  5. In the Save Endpoint In field, specify an existing ESB Config project in your workspace where you want to save the endpoint, or click Create new Project to create a new ESB Config project and save the endpoint there.  
  6. In the Advanced Configuration section, select the endpoints you want to import. 
  7. Click Finish. The endpoints you selected are created in the endpoints folder under the ESB Config project you specified, and the first endpoint opens in the editor.