Re: Describing which blobs are to be optimized.

Hugo Haas <[email protected]>
Newsgroups gmane.comp.web.services.description,gmane.text.xml.distributed
Organization World Wide Web Consortium (W3C)
Message-ID <[email protected]>
Hi Marc.

* Marc Hadley <[email protected]> [2004-06-04 16:03-0400]
> On a related note I'm unclear on the semantics implied by marking the 
> MTOM/XOP feature as optional. I can see several interpretations:
> 
> (i) a service will never use it but a client may
> (ii) a service will not use it unless client does first
> (iii) a service will always use it but a client isn't obliged to

Section 2.7.1[1] specifies: 

| The presence of a feature component in a WSDL description indicates
| that the service supports the feature and may require a requester
| agent that interacts with the service to use that feature.

When the use of the MTOM feature is not required, it just means that
the service supports it, which means that the requester agent or the
provider agent may use it, depending on the direction of the message

Your interpretations can be described with:

(i) the input message description has an optional MTOM feature
component associated with it, and the output message doesn't.

(iii) the input message description has an optional MTOM feature
component associated with it, and the output message has a required
MTOM feature component associated with it.

If an optional MTOM feature were specified on an operation, both the
requester and provider agent may use it.

I don't believe that (ii) is describable with WSDL 2.0. It goes into
the domain of policies, I think.

Regards,

Hugo

  1. http://www.w3.org/TR/2004/WD-wsdl20-20040326/#Feature_details
-- 
Hugo Haas - W3C
mailto:[email protected] - http://www.w3.org/People/Hugo/
signature.asc (application/pgp-signature, 307 B)
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.4 (GNU/Linux)

iQCVAwUBQMR4m6N/9WeKWvkNAQF3sQP+O0+e2+RfaUh44LWH/eE3+vFxcO1gGc4P
mX0WfwbsD+yi7B9FvInMDMXDjznFbmxr92hGVKkBH0IbnqA+JTLpBGjrC95PDAZC
Tyd1orhpVD2/rIHPTqj9giNfhfx0IRiW+vO+4zptlGhTW7ybRvFbIPdHYBI++iAT
ep1VjCFgkp0=
=tzsR
-----END PGP SIGNATURE-----
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.