Documentation

##### WSO2 WSAS 2.1-RC6

- Contents
- Home

##### Downloads

- Releases

##### Documentation

- User Guide
- FAQs
- Installation Guide
- Source
- Running Behind a Proxy
- Data Services Guide
- EJB Guide
- Clustering Guide
- XKMS Guide
- Changing Keys

##### Samples

- Chad
- Commodity Quote
- Data Services
- Flickr
- Javascript
- STS
- Trader
- Tiny URL

##### API Documentation

- Java Docs

##### Tools

- Code Generation
- Change Password
- Eclipse IDE Integration
- TCP Monitor
- WSDL2Code
- WSDL View
- Try It
- AAR Validation
- MAR Validation

##### Resources

- News

##### Get Involved

- Mailing Lists
- Release Process
- Integration

##### Project Information

- Project Team
- Issue Tracking
- License

[Download] | [Documentation Home] | [Release Note]

# Try It - Invoke a Remote Web Service

The aim of this document is to explain briefly how the Try It tool works.

## Content

- Introduction
- Usage
- Conclusion

## Introduction

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

## Usage

Using Try It is quite straightforward. In fact, as with the other tools provided on the WSO2 Web Services Application Server front page, you don't even need to sign in. Click on Try It and you will be taken to the following screen.

Here, in the provided field, either type in or paste the location of a WSDL. It may be a local file system path, or a web URL. You can invoke practically any WSDL from anywhere in the world, with the condition that it uses the document/literal (doc/lit) style.

Image here

Once you've enetered the WSDL path or location, click on Try It. If yopur browser has Popup-Blocking enabled, you may receive a message saying a popup was blocked. If this occurs, choose to allow popups for the current domain and try again.

You should be presented with a screen that lists the available operations in the gioven WSDL. Here, for operations that take arguments, you will see fields that allow you to set values for the primitive argumant types that will be passed to the operations. For no-argument operations you will just see the button which has the same name as the operation.

In either case, clicking on the button will invoke that service operation and in a few seconds, you will be able to see the return value immediately next to the button.

Image Here

## Conclusion

Try It provides you with a mechanism to test your WSDL by creating end points on-the-fly. It can come quite handy in sounding out a WSDL before actually coding for it, without the need to go to a third party WSDL validator tool.