Invoking the generic service client from a WSDL file

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

  1. Launch the generic service client and add the WSDL file to it if necessary.

    The WSDL file is added to the Call Library.

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

  3. 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 Schema > Validate and Assist to comply with an XML Schema Definition (XSD) specified in the Schema Catalog.

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

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

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

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

Icon that indicates the type of topic Task topic
Timestamp icon Last updated: July 17, 2017 21:58

File name: tinvwsdl.html