You can invoke the generic service client from a WDL file. Before doing so, you will
launch the generic service client and add a valid WSDL file to it.
Before you begin
Ensure that you have a valid Web Services Description Language (WSDL) file in your workspace
(as opposed to a dynamically generated WSDL file as is supported in JAX-WS web services). Ensure
that the WSDL files use the correct syntax for the test environment. The generic service client
might not work with some WSDL files.
Procedure
- Launch the generic service client and add the WSDL file to it if necessary.
The WSDL file is added to the Call Library.
- In the Call Library, expand the WSDL, binding, and operation, and then select the call
element.
The call is automatically configured with any SOAP or JMS endpoints that are available in the
WSDL. The generic service client shows three steps: Edit Data,
Invoke, and View Response. The details for the call
are displayed under the Edit Data step.
- On the Message page, use the Form, Tree, or Source views to edit the
contents of the call.
Each view displays the same data differently. If you want to add or remove XML elements in the
Form or Tree view, click to comply with an XML Schema Definition (XSD) specified in the Schema Catalog.
- On the Attachments page, specify any file attachments that you want to
be sent with the call.
You must first configure the environment with the correct libraries and configuration files to
handle file attachments.
- On the Transport page, specify an HTTP, JMS, or WebSphere® MQ transport configuration to be used by the call.
You can create and edit transport and security configurations by clicking the
Transport tab.
- On the Security for Request and Security for
Response pages, specify whether you want to override the security settings for the
WSDL.
If you want to edit the current security settings for the WSDL, click Edit WSDL
Security to open the WSDL Security Editor.
- When you are ready, click Invoke to invoke the service call.
The generic service client sends the request and displays the message return under the
View Response step.