Skip to content

Create a Proxy Service

Follow these instructions to create a Proxy Service artifact in the Micro Integrator for Visual Studio Code extension (MI for VS Code).

Create a new proxy service artifact

  1. Launch Visual Studio Code with the Micro Integrator for VS Code extension (MI for VS Code) installed.

    Info

    Follow the Install Micro Integrator for VS Code documentation for a complete installation guide.

  2. Create an integration project.

    Hereafter, this project will be referred to as <PROJECT_NAME>.

  3. Go to MI Project Explorer > Proxy Services.

  4. Hover over Proxy Services and click the + icon that appears to open the Proxy Service Form below.

    proxy service

  5. Enter a unique name for the proxy service.

  6. Once you complete the Proxy Service Form, click Create.

Info

You can switch to the default Visual Studio Code Explorer to view the folder structure.

The newly-created proxy service will be stored in the <PROJECT_NAME>/src/main/wso2mi/artifacts/proxy-services folder of your integration project.

Design the integration

  1. Go to the MI Overview interface.

    MI overview

  2. Click on the proxy service you created to go to its Resource View.

    The default Resource View will be as follows:

    source view

  3. Add the required mediators and connectors and design the integration flow.

Update the configurations

  1. Go to MI Overview.

  2. Under Proxy Services, select the proxy service you want to edit to go to its Resource View.

  3. Click the Edit icon to edit the proxy service.

    Edit proxy service

  4. Add the required parameters.

    Edit proxy view

  5. Click Update.

See the following links for the list of transport parameters you can use:

See the complete list of service-level properties and parameters that you can configure.

Source View

Click the Show Source (</>) icon located in the top right corner of the VS Code to view the XML-based synapse configuration (source code) of the proxy service.

Show source view

You can update the proxy service using this view.

source view