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

DAML and SOAP problem

From: Charlie Abela <abcharl@maltanet.net>
Date: Wed, 20 Feb 2002 14:41:23 -0500 (EST)
To: <www-ws-request@w3.org>
Message-ID: <HGEBLIDFMBJHNGBAOLIKKEOMCCAA.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
Received on Wednesday, 20 February 2002 14:43:11 GMT

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