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 and .NET interfaces by specifying them in your Service Interfaces Options. The following three clients can be generated for both:
- 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.