beautypg.com

Writing soap applications, Writing soap applications -6, 4 writing soap applications – Echelon i.LON 100 e2 Internet Server User Manual

Page 17

background image

i.

LON 100 Internet Server Programmer’s Reference

Error Code

Error Message

0 No

Error

1

Unknown function call.

2

Parameter error. For example, the input you supplied to the function does not

contain valid data, or no data was supplied to the function.

3 XML/Parser

Error.

4 Tag

missing.

5 Index

missing

6

Index not found

7 Index

invalid

The index number you supplied to the function is greater than the maximum or less
than the minimum allowed by the application. The allowable range of index

numbers in the

i.

LON 100 is –32,768-32,767.

8

Can’t create. This error may occur when you attempt to create a data point.

9

Can’t delete. This error may occur when you attempt to delete a data point.

10

Can’t set. This error may occur when attempting to modify the configuration of an

existing item in the

i.

LON 100. For example, when attempting to write to the

configuration of a data point.

11 Format

Error

12 Command

failed

13

The data point name referenced in the call to the function does not use the supplied

index number.

14

Data point name not found in the

i.

LON 100 Data Server.

15 No

Data

16

Field name not found. This will occur when attempting to read, write or set a data

point that is structure, and you reference a structure field that does not exist.

2.4 Writing SOAP Applications

The majority of the SOAP functions and XML files described in this document will be useful
to those who plan to use the SOAP/XML interface to configure the various applications of the

i.

LON 100. To begin learning about the SOAP functions and XML files you can use to do so,

see Chapter 4, i.LON 100 Applications and the SOAP/XML Interface.

However, the SOAP/XML interface for the

i.

LON 100 also includes functions which allow you

to write applications to monitor and control the data points you have created for your control
network with L

ON

M

AKER

and the

i.

LON 100 Configuration Software. Applications like these

may be useful to anyone using the

i.

LON 100, including those who will only be using

L

ON

M

AKER

and the

i.

LON 100 Configuration Software to configure the

i.

LON 100’s

applications. For more information on these functions, see Chapter 3, Monitoring and

Controlling Data Points with the SOAP/XML Interface.

2-6