
Running the C#.NET Client Application
For the DataSetService sample
-------------------------------------------------------

This sample application provides Customer and Order information.
The client requests Customer and Order information for a range of 
Customers in the sports2000 database.  The OpenEdge Web service returns 
the information in an OUTPUT DATASET parameter.

The sample Microsoft .NET clients were developed with Microsoft Visual Studio .NET and the 
Microsoft .NET Framework with the .NET Framework Service Pack 2 installed. You should install 
this service pack if you want to run these samples.

This sample uses the WSDL file generated by deploying the OpenEdge
Session-Free, Document/Literal CustOrders Web Service.

The Web Service client developer uses the WSDL document to determine the functionality provided 
by the Web Service. With VS.NET, the client developer creates a Web Reference to the WSDL file to 
generate proxies based on the WSDL. These proxies are used as the interface to the Web Service. 
The client developer then writes his/her application utilizing the proxies to make requests of the 
Web Service.



To run the CS.NET CustOrders sample application:

1. Start the CustOrders Web service.  For details see README.txt located in 
       <DLC-DIR>/src/samples/webservices/DatasetService

2. Start up VS.NET and load the WindowsApplication2.sln project file.
 
3. The sample has the Web Reference defined as pointing to http://localhost:8080/wsa/wsa1. 
   If your WSA is located elsewhere, you need to update the URL. This will cause VS.NET to retrieve 
   the WSDL document from the WSA and regenerate the proxies.

4. You are now ready to run the sample.

 

