Running the VB.NET Client Application
For the OrderInfo sample
-------------------------------------------------------

This sample application provides customer and order information 
from the sports2000 database.  It demonstrates the use of static
TEMP-TABLES, connecting to the AppServer, and the use of SOAP Headers 
in a session-managed environment.

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.

The sample uses the WSDL file generated by deploying the Session-Managed OrderInfo 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 VB.NET OrderInfo sample application:

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

2. Start up VS.NET and load the Demo.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. If you update the Web Reference for the OrderInfo sample, you will need to open up the proxy 
   generated and add the proper object id header to CustomerOrderObj class.

    a. The proxy is called Reference.vb and can be found underneath the OrderService entry under 
       Web References provided you have 'Show All Files' selected.
    b. Copy the line Public CustomerOrderIDValue as CustomerOrderID from the OrderInfoObj class.
    c. Paste it in the CustomerOrderObj class.

5. You are now ready to run the sample.

 

