W3C home > Mailing lists > Public > www-ws@w3.org > February 2002

DAML and SOAP

From: Cicho <abcharl@maltanet.net>
Date: Wed, 20 Feb 2002 20:42:27 -0000
To: <www-ws@w3.org>
Message-ID: <HGEBLIDFMBJHNGBAOLIKMEONCCAA.abcharl@maltanet.net>
Hi all

Is it possible to use DAML
classes/ properties to
describe a SOAP message header
and body?
For instance saying something
similar for instance?

<daml:class
rdf:ID="SOAPEnvelope">
 <rdfs:subclassOf
rdf:resource="#Message"/><!-Me
ssage is some root, defined
elsewhere -->
</daml:class>

<daml:class
rdf:ID="SOAPheader">
 <rdfs:domain
rdf:resource="Message"/>
  <rdfs:range
rdf:resource="SOAPEnvelope"/>
</daml:class>

<daml:class rdf:ID="SOAPbody">
 <rdfs:domain
rdf:resource="Message"/>
  <rdfs:range
rdf:resource="SOAPEnvelope"/>
</daml:class>

<daml:DatatypeProperty
rdf:ID="hasHeader">
   <rdfs:domain
rdf:resource="SOAPheader"/>
   <rdfs:range
rdf:resource="#String"/>
</daml:DatatypeProperty>

<daml:DatatypeProperty
rdf:ID="hasBody">
   <rdfs:domain
rdf:resource="SOAPbody"/>
   <rdfs:range
rdf:resource="#String"/>
</daml:DatatypeProperty>

The problem I am seeing is
that both header and body are
not just strings but xml
too... So maybe this would
need more granular description
in terms of classes or
properties.
Also what can be done if one
wants to state that SOAPbody
is the same as the actual
<SOAP:BODY>...similarly for
the SOAP:ENVELOPE tag would
this be possible?

Thanks for any help

Cicho



Charlie
Received on Wednesday, 20 February 2002 14:40:35 GMT

This archive was generated by hypermail 2.2.0+W3C-0.50 : Tuesday, 3 July 2007 12:25:39 GMT