Restriction: This topic applies only when the Enterprise Server feature is enabled.
Restriction: For service interfaces, the Microsoft Visual Studio Shell supports the generation of console clients only. To generate any other type of client, 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.
Important: To generate a .NET client, you must have the Visual C++ option installed with Visual Studio 2015. For more information, see
Additional Software Requirements.
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.