Re: SOAP

Nguyen Quang Hung writes:

>> I think we can improve interoperable, understandable when we parse the 
SOAP message by using DTD for each message

From its earliest versions SOAP has allowed but not required the use of 
DTDs to validate messages.  In other words, you may decide to use DTDs for 
some of your SOAP vocabularies, but that's something you need to agree on 
with those with whom you exchange the messages.

As you may or may not be aware, W3C XML Schemas is a new language that is 
replacing DTDs for many purposes.  See [1].  The rules for use with SOAP 
are the same as for DTDs:  you may use schemas, and many people will, but 
it's not requred.  Note that the latest SOAP drafts provide some guidance 
on the use of XML schemas with SOAP, for exactly the purposes you intend. 
See [2, 3].  Also, the emerging WSDL language [4] allows those who 
communicate using SOAP to establish contracts based in part on XML schema. 


I hope this information is helpful.

Noah

[1]  http://www.w3.org/TR/xmlschema-0/
[2] http://www.w3.org/TR/2002/WD-soap12-part2-20020626/#enctypename
[3] http://www.w3.org/TR/2002/WD-soap12-part2-20020626/#encschema
[4] http://www.w3.org/2002/ws/desc/

------------------------------------------------------------------
Noah Mendelsohn                              Voice: 1-617-693-4036
IBM Corporation                                Fax: 1-617-693-8676
One Rogers Street
Cambridge, MA 02142
------------------------------------------------------------------







Hung Nguyen Quang <hungnq2@yahoo.com>
Sent by: xml-dist-app-request@w3.org
06/28/02 04:15 AM

 
        To:     xml-dist-app@w3.org
        cc:     (bcc: Noah Mendelsohn/Cambridge/IBM)
        Subject:        SOAP

I think we can improve interoperable, understandable when we parse the 
SOAP message by using DTD for each message: SOAP message request, and SOAP 
message response. When we look at the DTD, we can know how to write a code 
to parse this. Note that SOAP message is a XML document. Why? 
- Firstly: We can solve the problem in the private toolkit vendor's SOAP 
message response, such as Microsoft, Apache SOAP, IBM, Sun? toolkits. 
- Secondly: DTD like interface for a Web Service method. 

Best wishes, 
Nguyen Quang Hung 


Do You Yahoo!?
Sign-up for Video Highlights of 2002 FIFA World Cup

Received on Friday, 28 June 2002 11:56:18 UTC