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¶
-
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.
-
Create an integration project.
Hereafter, this project will be referred to as
<PROJECT_NAME>
. -
Go to MI Project Explorer > Proxy Services.
-
Hover over Proxy Services and click the + icon that appears to open the Proxy Service Form below.
-
Enter a unique name for the proxy service.
-
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¶
-
Go to the MI Overview interface.
-
Click on the proxy service you created to go to its Resource View.
The default Resource View will be as follows:
-
Add the required mediators and connectors and design the integration flow.
Update the configurations¶
-
Go to MI Overview.
-
Under Proxy Services, select the proxy service you want to edit to go to its Resource View.
-
Click the Edit icon to edit the proxy service.
-
Add the required parameters.
-
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.
You can update the proxy service using this view.
Learn more about proxy services
Follow our examples on proxy services: