When you set up WSO2 EI in your production environment, be sure to disable the Try It tool of the management console by adding the following system property to the
carbon.properties file (stored in the
Note that this capability of disabling the Try It tool is available as a product update from the 23rd June, 2020 onwards. See the instructions on getting updates for your product.
The Try It tool is available in all WSO2 products, which allows you to try out your own Web Services Definition Language (WSDL) or any publicly available WSDL of the document/literal style. This tool provides a mechanism to test your WSDL by creating endpoints on-the-fly. It helps to test a WSDL before actually coding it, without the need for a third party WSDL validator tool.
The Try It tool does not support relative schema imports and WSDL imports at the moment. We will provide this feature in a future release.
Follow the instructions below to use the Try It tool in the ESB profile.
- Log in to the product's management console.
- Click Tools to access the Tools menu.
- Click Try It.
- In the Enter URL field, type or paste the location of the WSDL. It may be a local file path or a web URL.
Click Try It.
If your browser has Pop Up-Blocking enabled, you will receive a message saying that a pop up was blocked. Allow pop ups for the current domain and try again. The available operations in the given WSDL will appear. For operations that take arguments, you will see primitive argument type fields. The values specified in these fields will be passed to the operations. For no-argument operations, you will only see the button that has the same name as the operation.
- Click Send to invoke that service operation. The return value appears in the response text area instantly.
Two text areas can be seen, each for request and response. You can switch the layout by clicking either Horizontal or Vertical.
You can change the endpoint for the service if there are multiple endpoints. You can also specify a customized endpoint.
- Click Using Endpoint.
- Select a new endpoint from the list.
- Specify the address of the new endpoint.
Viewing the Service Information
To view information about the service, click Service Information.
- Use the small yellow icon with the plus(+) sign to prioritize an operation.
- The chosen operation is added to the Priority Operations section.
This will be useful when you have a lot of operations in the Try It page. Then you can add the required operations into this section and switch between them easily.