Re: proposed resolution to issue #30

Jacek Kopecky writes:

>> AFAIK, SOAP+attachments uses this Encoding mechanism
and
>> The core SOAP does not have any referencing 
>> mechanism for it doesn't need one. It's the 
>> data that may need references, thus
>>it's the encodings that may want to specify 
>> referencing.

I see it a bit differently.  S+A and Dime are meant to work with unencoded 
body and header entries as well as encoded ones.  The very fact that we 
are "Web" services and using XML formats implies that message content can 
include URIs, regardless of how they are represented lexically, what 
encoding is used, whether they are set off separately in attributes or 
elements or in running text content, etc. 

In all these cases, the question arises:  "are there any rules about which 
URI's will successfully resolve at any given node and at any given point 
in time."  For SOAP in general, the answer must be "no", except insofar as 
we establish URI's for the envelope itself.  If I put the URI 
http://www.ibm.com/noahsxray.jpg into a SOAP message, there should be no 
conformance requirement on SOAP processors that anything be available at 
that URI.

By contrast, if I'm using SOAP + Attachements,  and if I use a content ID 
that in fact is properly declared in the MIME envelope, then indeed the 
reference MUST resolve.  This is true regardless of whether I am using 
encodings or not.  In fact, it's true regardless of whether the URI 
reference appears explicitly in the envelope or is just implied by its 
contents. 

I am recommending that we make clear that core SOAP has no such 
conformance requirement, but that features such as S+A or DIME can indeed 
indicate URI's which MUST successfully resolve.  I have recommended that 
we open an issue to consider this question.  Thank you.

[1] http://www.w3.org/TR/SOAP-attachments#SOAPReferenceToAttachements

------------------------------------------------------------------------
Noah Mendelsohn                                    Voice: 1-617-693-4036
Lotus Development Corp.                            Fax: 1-617-693-8676
One Rogers Street
Cambridge, MA 02142
------------------------------------------------------------------------

Received on Wednesday, 24 October 2001 11:43:19 UTC