WS-I Validation in NetBeans using soapUI Plugin
- Download the Java version of the Interoperability Testing Tool from the WS-I.org Deliverables page.
- Unzip the tool into the location of your choice.
- Create a WSI_HOME environment variable set to the location of the unzipped Interoperability Testing Tool.
- Open the IDE and navigate to Tools > soapUI > Preferences. Open the WS-I Settings tab and, in the Tool Location field, enter the location of the downloaded and unzipped wsi-test-tools folder. Select other options according to your preferences and click OK.


To validate SOAP messages, first monitor a SOAP request and response, as follows:
- Find the binding node in the Web Service Tests node and expand it to show the requests.
- Right-click a request and open the Request Editor, described in soapUI documentation.
- In the Request Editor, send a request and wait for the response.
- Right-click in the response window and select Check WS-I Compliance.

Each WS-I report opens in its own tab. The report is saved automatically if you set a location to save reports in the soapUI preferences. You can also save the report manually by clicking the Save icon above the body of the report.

You can see the test configuration used to generate the test report in the Config tab. SOAP message test reports also have a Log tab, which is an XML log of the request and response SOAP exchange.
Note: This procedure was tested on Windows XP and Vista, with JDK 6 and JDK 5. The experiences of users with other systems would be most welcome!
(Note: Opinions expressed in this article and its replies are the opinions of their respective authors and not those of DZone, Inc.)




Comments
jiji530 (not verified) replied on Fri, 2009/06/26 - 8:22pm
Kris Nalby replied on Sat, 2009/06/27 - 10:34am