...
1. Log on to the product's management console and select " Tools -> TryIt Try-It."
2. In the "Enter URL" field, type or paste the location of the WSDL and click " Try It. " It may be a local file system path or a web URL. For example,
...
3.
Anchor | ||||
---|---|---|---|---|
|
Fill in the necessary parameters. If you need more typing space (for instance, the parameters take a blob of XML) you can expand the size of the input field by clicking on the small icon in the lower right corner of each field.
Invoke the operation by clicking the "Send" button. The return value immediately appears in the response text area.
...
You can change the endpoint for the service, if there are multiple endpoints. You can also specify a customized endpoint.
1. Click on the "Using Enpoint - ...." link. Select a new endpoint from the list and specify the address of the new endpoint.
...
1. To view the information about the service click on the "Service Information" link.
Prioritizing Operations
...
2. The chosen operation is added to the "Priority Operations" section.
This will be useful when you have a lot of operations in the "TryIt" pageTry-It tool. Then you can add operations you want into this section and switch among them easily.
The TryIt page Try-It tool is a full Ajax client and interacts with the service just as any other client would. Therefore, so it is a good way to verify that a service not only works, but is reachable by its clients. Note however that the TryIt page Try-It tool attempts to contact the Web web service at the endpoint url provided. If the domain or url scheme of the service is different from the endpoint, the browser may impose security restrictions. In this case, the TryIt Try-It tool falls back to using a script-injection protocol to tunnel the Web web service request. A wire trace of the communication with the browser will not show the actual Web web service messages used to communicate with the service.
Also, since the TryIt page is Try-It tool is fully asynchronous, it doesn't block while a Web web service is being invoked. You can invoke several operations before one of them completes (though it doesn't does not have a way to display the results of the same operation invoked multiple times.)
Invoking
...
the Try-It tool through a Service's Dashboard
The TryIt tool can also invoked from the dashboard of a selected service. Service dashboard is part of the service management functionality provided by the following feature:
...
The above feature is bundled by default in all service-hosting WSO2 middleware products. If the product you are using doesn't does not have this feature installed, you can do so by following the instructions given in section Feature Management.
Follow the instructions below to try out the WSDL of a selected service.1.
- Log on to the product's management console and
...
- click List
...
- under
...
...
- Services to open the Deployed Services
...
- page
...
- where all the currently active services are listed out.
- Select a service and click on it to view its dashboard.
...
3. The service's dashboard appears. In the "Client Operations" panel, you can see the link "Try This Service."
...