Author(s): Per Cederberg.
This module provides an interface to the WSDL data, evaluating delayed queries as necessary. The actual implementation of the WSDL data structure is hidden, making it an abstract data type. The interface provides for all the basic needs of access.
The WSDL data is a tree structure with nodes of various types, having any number of children. The child nodes may be new WSDL node in the tree or the actual data.
In the current implementation the interface to the WOF modules is a mock-up really interfacing a specialized module producing WSDL data from a prolog database.
wsdl
)wsdl
)
Usage 1: env2wsdl(+Env,-(ID),-(WSDLTerm))
Env
into a WSDLTerm
if possible, i.e. if it is a <rw> environment, otherwise the predicates fails. The predicate will also return the object ID
as a string.
Usage 2: env2wsdl(-(Env),+ID,+WSDLTerm)
WSDLTerm
into a valid PiLLoW Env
. The object ID
has to be given.
Usage: wsdl_type(+WSDLTerm,-(Type))
Type
of the WSDLTerm
. The Type
name will be given as an atom.
Usage: wsdl_attributes(+WSDLTerm,-(AttributeLs))
AttributeLs
of the WSDLTerm
. The AttributeLs
is a list of terms Name=Value.
Usage: wsdl_data(WSDLTerm,-(DataLs))
DataLs
containing all the data in the WSDLTerm
and it's subterms, removing the actual WSDL structure.
Usage: wsdl_child(?(Nth),+WSDLTerm,-(Child))
Nth
Child
of the WSDLTerm
. If the number Nth
is variable, the predicate returns all children upon backtracking. The numbering is just like nth/2 in the lists module. Note that the node data will be returned as a child.
Usage: wsdl_children(+WSDLTerm,-(ChildLs))
ChildLs
(a list of all the children) of the WSDLTerm
. Note that the node data will be returned in the ChildLs
.
Go to the first, previous, next, last section, table of contents.