# Validating WS-I Web service traffic compliance

As well as setting the level of WS-I compliance during Web services creation, you can validate WS-I compliance of the SOAP traffic a Web service produces through the TCP/IP Monitor.

Prerequisites: Before you can use the validation tool to ensure that your Web service SOAP traffic is WS-I compliant, you must have completed the following steps:

- Generate a Web service.
- Validate the WSDL that is produced.
- Generate a Proxy and a sample application.
- Set up the TCP/IP Monitor. Ensure that your Web service sample application traffic is directed through the TCP/IP Monitor.

To validate your Web service, complete the following steps:

1. Invoke a method in your Web service sample application to generate traffic through the TCP/IP Monitor.
2. To ensure that your Web service SOAP traffic is WS-I compliant, you can generate a log file by clicking the icon.
3. In the dialog box that opens, select a name for the log file and specify where you want it to be stored.

This log file will show whether or not messages sent to and from your Web service are WS-I compliant, and list any non-compliant elements. You can open the log file in an XML editor to examine its contents.
Related Concepts
WS-I
Related Tasks
Setting the level of WS-I compliance