+

Search Tips   |   Advanced Search


Invoke a JMS endpoint call

You can invoke calls to services that use a JMS endpoint.

If the service uses the Secure Sockets Layer (SSL) authentication, create an SSL configuration before invoking the call. See Create a SOAP security profile for a WSDL for details.

If the service uses SOAP security or if the service uses sends or receives file attachments, ensure that you have configured the environment with the correct libraries and configuration files. See Configure the environment for SOAP security and Configure the environment for handling file attachments for details. To invoke a service call based on a WSDL file:

  1. Open the generic service client and click the Calls tab, and then, click Add an endpoint.

  2. In the Configure Protocol window, select JMS and specify the JMS transport configuration. If necessary, click New to create an JMS transport configuration for the call.

  3. Click Add to specify any properties that are to be sent with the call.

  4. Click Next.

  5. On the Select Root Element page, if the service uses a specific XML Schema Definition (XSD), select one from the list or click Browse to import the XSD file, and then, select the root element for the call. If no XSD is available for the service, select No Schema.

  6. Click Finish. The call is added to the Endpoints section of the Call Library.

  7. In the Call Library, select the call element. The generic service client shows 3 steps: Edit Data, Invoke and View Response. The details for the call are displayed under the Edit Data step.

  8. On the Message page, use the Form, Tree, or Source views to edit the contents of the call. Each view proposes a different display of the same data. add or remove XML elements in the Form or Tree view, you can click Schema > Validate and Assist to comply with an XML Schema Definition (XSD) specified in the Schema Catalog.

  9. On the Attachments page, specify any file attachments that will be sent with the call. You must have configured the environment with the correct libraries and configuration files to handle file attachments.

  10. On the Transport page, if necessary, change the transport configuration to be used by the call. You can create and edit transport and security configurations by clicking the Transport tab.

  11. On the Security for Request and Security for Response pages, specify whether to override the security settings for the WSDL. edit the current security settings for the WSDL, click Edit WSDL Security to open the WSDL Security Editor.

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


Results

Successful calls are recorded and added to the Call History.


Related

  • Generic service client overview


    Related tasks

  • Invoke a call with a WSDL file
  • Invoke an HTTP endpoint call
  • Invoke a WebSphere MQ endpoint call
  • Opening file attachments
  • Create a JMS transport configuration