Using the soap interface as a web service, Referencing the wsdl file, Using the soap interface as a web service -1 – Echelon i.LON 100 e2 Internet Server User Manual
Page 208: Referencing the wsdl file -1, Using the soap, 14 using the soap interface as a web service, 1 referencing the wsdl file
14 Using the SOAP Interface as a Web Service
i.
LON 100 Internet Server Program
i.
LON 100 SOAP interface.
mer’s Reference
14-1
This chapter assumes that you have some familiarity with Web services programming, and
are using the Microsoft Visual Studio .NET development environment. All sample code in
this chapter is provided in Visual Basic .NET. However, you can use any development tool
that is able to call standard Web services with the
14.1 Referencing the WSDL File
You can use the SOAP interface as a Web reference using Microsoft Visual Studio .NET, and
create an application to modify the configuration of your
i.
LON 100 using the SOAP
functions. When writing such applications, some tools can import the
i.
LON 100 WSDL file
and automatically build a class structure for sending and receiving each message. The
following procedure describes how to do so in Visual Basic .NET.
1. Open the Microsoft Visual Basic .NET development environment.
2. From the File menu, select New. This opens the dialog box shown in Figure 15.1.
Figure 15.1 Create Windows Application
3. Enter a name and select a location for the project. Click OK.
4. In order to take advantage of the latest features of the
i.
LON 100 SOAP/XML interface,
add a Web reference to the version 1.1
i.
LON 100 WSDL file to your project. From the
Project menu, select Add Web Reference. This opens the Add Web Reference window.
Enter the following in the Address text box at the top of the window:
http://[ilon100 ipaddress]/WSDL/v1.1/iLON100.WSDL