Echelon i.LON SmartServer Technical Information Page 16

  • Download
  • Add to my manuals
  • Print
  • Page
    / 443
  • Table of contents
  • BOOKMARKS
  • Rated. / 5. Based on customer reviews
Page view 15
i.LON SmartServer 2.0 Programmer’s Reference
2-2
2.2
SmartServer WSDL File
Each SmartServer includes two WSDL (Web Service Description Language) files: iLON100.wsdl and
iLON100_System.wsdl.
The iLON100.wsdl file defines most of the SmartServer SOAP/XML interface, and contains all the
information an application will require to use the SOAP/XML interface. The iLON100_System.wsdl
contains the system service methods used to check and configure the SmartServer’s settings.
When writing applications to use the SOAP/XML interface, some tools can import these WSDL files
and automatically build a class structure for sending and receiving each message. The WSDL files are
compatible with numerous programming development environments, such as Microsoft
®
Visual
Studio
®
2008, Microsoft Visual Studio 2005, and Eclipse JAVA EE
.
For more detailed information on using a WSDL file as a web service in a .NET programming
environment, see
Chapter 20. In addition, Chapter 20 contains step-by-step instructions you can
follow when you reference the version 4.0 WSDL file with a Microsoft Visual Studio project. For
more detailed information on using a WSDL file as a web service in a Java programming environment,
see
Chapter 22.
2.3
Security
You can add a basic level of security to the SOAP/XML interface with the i.LON Web Server
Security and Parameters program. You can use this utility to add password protection to all web
content served by the SmartServer. Basic Access Authentication is the security mechanism used by
the SmartServer Web server for HTTP transactions. Basic Access Authentication is described by the
IETF in RFC 2617:
http://www.ietf.org/rfc/rfc2617.txt
If you want all SOAP messages sent to your SmartServer to be authenticated, use the i.LON Web
Server Security and Parameters program to password protect the SmartServer SOAP endpoint at the
following path: /WSDL/v4.0/iLON100.WSDL.
A user name and password will then be required each time a SOAP message is sent to the SmartServer.
Since SOAP uses HTTP as a transport, you can use the user name and password pair for an entire
HTTP session. As a result, you can use a single user name and password to authenticate access to Web
pages that send or receive multiple SOAP messages. If a SOAP message is sent to a SmartServer that
does not contain the correct user name and password, it will be ignored. For instructions on using the
i.LON Web Server Security and Parameters utility, see Appendix C of the i.LON SmartServer 2.0
User’s Guide.
To protect FTP access to the XML configuration files, the SmartServer requires a user name and
password for every FTP session. This username and password default to “ilon”, and can be re-defined
with the Setup - Security Web Page. See Chapter 3 of the i.LON SmartServer 2.0 User’s Guide for
how to use this Web page.
2.4
SOAP Request and Response Message Structure
This section demonstrates the generic format of a complete request/response transaction. Italicized
text denotes type definitions and values that are based on the message or use-case. For examples of
actual request/response transactions, see Section 2.10,
SOAP Message Examples.
Page view 15
1 2 ... 11 12 13 14 15 16 17 18 19 20 21 ... 442 443

Comments to this Manuals

No comments