
Chapter 9 .NET Client Support
.NET example
The
.NET example uses jagtool to deploy a sample
package and component to EAServer, from which you create the Web
service using wstool. You then create the client-side
proxy, and create and run the client program.
These files are used to create the example described in this
section and are located in the DotNetSample subdirectory
of your Web Services Toolkit installation:
- dotNETSample.jar - the
EJB-JAR file that contains the sample package, component, and methods
that are deployed to EAServer.
- setenv.bat/setenv.sh - the
batch file that sets the environment variables and runs the jagtool command
to deploy the dotNETSample.jar file into EAServer.
- genWSDL.bat/genWSDL.sh - the
batch file that sets the environment variables and runs the wstool command
to create the WSDL document and Web service from the EAServer package,
component, and methods deployed from the dotNETSample.jar file.
- run.bat - the client-side
batch file that generates the client proxy from the Web service
interface and implementation files. The resulting client-side proxy
file for this example is GreetingService.cs.
- Client.cs - the client
source file. Compiling Client.cs results in
a client executable, Client.exe, which accesses
the Web service hosted in EAServer.
Copyright © 2002 Sybase, Inc. All rights reserved.
|
|