Try OpenEdge Now
skip to main content
Web Services
Developing a .NET Client to Consume OpenEdge SOAP Web Services : Creating the VB.NET client interface : Adding a Web reference
 

Adding a Web reference

Adding a Web reference essentially generates the client interface.
To generate a client interface:
1. Enter the URL for the WSDL file. The TargetURI can be set to either the Web service friendly name (AppObject name, by default) or the TargetNamespace for the Web service, as in the following examples:
http://servicehost:80/wsa/wsa1/wsdl?targetURI=OrderInfo

http://servicehost:80/wsa/wsa1/wsdl?targetURI=urn:OrderSvc:OrderInfo
2. Rename the Web reference you added to the project appropriately (for example, from servicehost to OrderService). Select the Show All Files toolbar button (or choose Project > Show All Files) to locate the Web reference file, Reference.vb under the renamed Web reference.