Previous Topic Next topic Print topic


Generating Clients

Restriction: This topic applies only when the Enterprise Server feature is enabled.
Restriction: The Microsoft Visual Studio Shell does not support the generation of clients for service interfaces created using the IMTK. To generate clients, you must install a full version of Visual Studio.

You can use a generated client to test a service, or as a sample of accessing a service. As part of the COBOL, WPF, Windows Forms and ASP.NET Web Site client generation, a proxy program is also generated. The proxy provides a standard mechanism for invoking the service, and is intended to be used by production clients.

All service types generate a console application client, and JSP clients are generated automatically for Java interfaces. However, you choose which clients to generate for Web Services interfaces by specifying them in your Service Interfaces Options. The following three clients can be generated:
  • WPF
  • Windows Forms
  • ASP.NET Web site

All clients are generated in the same Visual Studio project that contains the service interface they are generated from.

Note: When you generate a Java client, this produces an EJB or Java Bean in addition to the Java client files. Also during the generation process, the .car file created during deployment is deleted. Therefore, when setting up your Java service interface for production, you must deploy it using the .car file before generating a client.
Previous Topic Next topic Print topic