IBM Support

Check WSDL for WS-I compliance using the soapUI WS-I compliance test

Question & Answer


Question

How do I test my WSDL against WS-I standards to check if my WSDL is WS-I compliant?

Answer

What we need for this:

1. soapUI, you may download the latest version from the official homepage: http://www.soapui.org/

soapUI is a tool for Web Service Testing. soapUI is Free and Open Source and is used for Inspecting Web Services, Invoking Web Services, Developing Web Services, Web Service Simulation and Web Service Mocking and Functional Testing of Web Services Load Testing of Web Services over HTTP.

2. soapUI includes integrated support for the WS-I organizations Basic Profile validation tools for 2 situations:

Validating WSDL definitions - from the Interface Menu with the "Check WSI Compliance" option. This will run the WS-I Test Tools and validate the WSDL definition accordingly.

Validating SOAP request/response messages - from within the Request Editors response popup with the "Check WSI Compliance" option (as described under Message Validation)


If you are not using the latest SoapUI version then you might first need to download either the Java™ or C# version (soapUI will use whichever is available) of the WS-I Interoperability Testing Tools 1.1 from the WS-I deliverables page. Once you download it unzip the file into a local directory and specify the contained "wsi test tools" directory in the soapUI together with the desired settings;

For example, if you have downloaded wsi-tools from the above link and extracted it to root of drive d: then you should go to File -> Preferences -> WS-I settings and in the Tool Location field enter: d:\wsi-test-tools

Additionally you will need to set an environment variable for WSI_HOME to be wherever you extracted the wsi-test-tools directory.

How to test:

Start soapUI, click on File -> New WSDL Project, specify the Project name and your initial WSDL that you would like to test, click OK.

It will appear in the left side frame, expand your project, so, you can see your WSDL, then right click on the WSDL and click on "Check WS-I compliance".

You will get a generated report with the detailed summary. Also, it can be useful to save it to an HTML file, so, support can review it as well.

[{"Product":{"code":"SSFTDH","label":"IBM Business Process Manager Standard"},"Business Unit":{"code":"BU053","label":"Cloud & Data Platform"},"Component":"Web Services","Platform":[{"code":"PF002","label":"AIX"},{"code":"PF010","label":"HP-UX"},{"code":"PF016","label":"Linux"},{"code":"PF027","label":"Solaris"},{"code":"PF033","label":"Windows"}],"Version":"Version Independent","Edition":"","Line of Business":{"code":"LOB45","label":"Automation"}}]

Historical Number

408

Product Synonym

BPM 8.5.x BPM 8.0.x BPM 7.5.x WLE 7.1.x WLE 7.2.x TW 7.x TW 6.x

Document Information

Modified date:
15 June 2018

UID

swg21439805