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/.

Try It

The "Try It" tool is a tool available with the WSO2 Carbon that allows you to try out your own Web Services Definition Language (WSDL) or any publicly available WSDL of the document/literal style.

"Try It" provides you with 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.

Note

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 WSO2 ESB.

1. Sign in. Enter your user name and password to log on to the ESB Management Console.

2. From the left navigation menu, under "Tools," select "Try It."

3. In the "Enter URL" field, type or paste the location of the WSDL. It may be a local file system path or a web URL.

4. Click on the "Try It" button.

Note

If your browser has Pop up-Blocking enabled, you will receive a message saying a pop up was blocked. Allow pop ups for the current domain and try again. The available operations in the given WSDL appears. 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.

5. Click the button to invoke that service operation.

6. The return value immediately appears next to the button.

Choosing Endpoints

Use this function to change the endpoint for the service, if there are multiple endpoints. You can even specify a customized endpoint.

1. Click "expand to change."

2. Select the endpoint you want from the drop-down menu.

3. Specify the address of the new endpoint.