10 June 2009 - 3.0-beta-2 |
The interface view contains useful information and metrics about your project, such as where files are stored, WSDL Style Binding and more. This is intended as a very quick way of getting information and overview of the Interface.
Please note that the Use of the Operations is listed per operation and not with the style. We usually refer to them together (Document/Literal), but since it can change per operation, that where it has to be shown.
Selecting the Service Endpoints action from the interface context menu opens a dialog showing the available service endpoints for this interface and each endpoints default authentication settings. If the interface was imported from a WSDL definition, that services ports URL will be available in this list, and you are free to add, edit, or remove as many service endpoints as you want.
If your endpoints are already URL-encoded, you should select the "Preencoded Endpoints" option in the Http Settings dialog to avoid that they get reencoded during requests. When deleting an endpoint, all requests that had that endpoint will have their endpoint set to null.
Specified authentication values will be used for all Requests/TestRequest that use the endpoint, unless any of the values have been overridden at the request level.
The Assign options prompts to assign the selected endpoint to requests, the following options are displayed:
- all requests -
: will assign the selected endpoint to all requests for operations in
the current interface.- all requests with no endpoint -
: will assign the selected endpoint to all requests
for operations in the current interface that have no endpoint.<endpoint>
: will assign the selected endpoint to all requests
for operations in the current interface that have this endpoint.Assigning endpoints with this option will not assign to TestRequests, use the "Set TestCase Endpoint" action in the TestCase Editor for this instead.
When closing the dialog with the "Ok" button, the available endpoints will be selectable in associated operations request or test requests editor panes.
The Interface viewer allows relatively easy navigation and inspection of the entire contract for an imported WSDL, including all imported and included WSDL and XSD files and their contained types, definitions, etc.
The navigation tree to the left shows contained elements in the contract, selecting a node will highlight that element in its containing file to the right, automatically switching tabs if necessary. Elements referring to other elements in the contract are also double clickable and will focus to the referenced element in the tree as follows;
Double-click on | will focus on (if available) |
---|---|
Global Element | its Complex Type |
Message Part | its Complex Type or Global Element |
Operation input/output | its Message |
Binding Operation input/output | its corresponding Operation input/output |
Port | its Binding Operation |
The viewer toolbar has the following actions (left to right)
The following screenshot shows the viewer for the PayPal API;