Java Reference
In-Depth Information
Automating Testing for Basic Profile Conformance
Problem
You want to test your service for Basic Profile 1.1 and SOAP binding profile conformance.
Solution
If you're using JAX-WS 2.0 or 2.1 (or .NET 3.5), your services should be compliant unless
you've done lots of customization. If you aren't sure, try the testing tools available from the
WS-I website.
Discussion
The WS-I published compliance testing tools for both C# and Java. Let's look at how to use
the Java version of the Interoperability Testing Tools 1.1.
First, download the tools from http://www.ws-i.org/deliverables/workinggroup.aspx?wg
=testingtools . Extract the archive and navigate to the wsi-test-tools/java/bindirectory. Run the
Analyzer program with a -config <file_path> option that points to the XML configuration
file describing the service you want to analyze for compliance. The samples folder includes
sample XML configuration files that you can copy and change the values for to invoke your
own web service.
Some tools, such as IBM's WebSphere Developer Studio, will warn you if a service for which
you are generating a client is not compliant with BP 1.1.
Search WWH ::




Custom Search