IBM Support

Testing MDM web services

Technical Blog Post


Abstract

Testing MDM web services

Body

As of version 10.1, MDM is secured by default. This means that using the Web Service Explorer to test your web service will not be possible. Whilst there are many web service testing tools out there like SOAPUI, there is one that is included within the MDM Workbench that you can use, the Generic Service Client. The following steps detail how to invoke the required MDM web service :

  1. To test the web service you need to select the wsdl that contains the operation you want to test (N.b. all MDM  web services can be found in the project CustomerResources in 10.1 and MDMSharedResources from v11 onwards). 
  2. Right click the wsdl and select Web Services -> Test with Generic Service Client

This will then open the following editor :

image

 

  1. Select your operation and fill in the required fields for the message (requestID, requesterName and requesterLocale and you transaction specifics)
  2. Modify the service binding i.e. your host/port. Select the transport tab specify the new bindings for the URL

image

 

  1. Specify your security details. To do this, select the Request Stack tab and select the "Override Stack" radio button. Then click the Add button and select the "User Name Token" from the drop down. You should be presented with the following :

image

 

  1. Fill in the Name and Password settings
  2. Finally click the Invoke button next to the Edit Request

The responses are saved and can be rerun, but if you want more functionality you'll probably need to look at Rational Performance Tester

[{"Business Unit":{"code":"BU059","label":"IBM Software w\/o TPS"},"Product":{"code":"SSWSR9","label":"IBM InfoSphere Master Data Management"},"Component":"","Platform":[{"code":"PF025","label":"Platform Independent"}],"Version":"","Edition":"","Line of Business":{"code":"LOB10","label":"Data and AI"}}]

UID

ibm11142308