Previous Topic: Web Services Tutorial Writing Client ApplicationsNext Topic: Writing DSM Web Service Clients


Generating Client Stubs

The example code in this tutorial is taken from a test client application written in Java. The DSM web service functions are exposed by a language-independent WSDL interface that follows Web Service standard. You can write your web service clients in any language that lets you generate web service client stubs from the CA DSM Web Service WSDL file (webserviceapi.wsdl).

Web Service client stubs are a series of code files that are generated from the WSDL to represent the methods and objects exposed by the web service. There are a number of third-party tools that can perform this stub-generation for you.

The Apache Axis (http://ws.apache.org/axis/) tool, wsdl2java, was used to generate the Java client stubs for the test client application. The stubs were archived into a jar file that can be referenced on the classpath of the client application.