PS> Soap with attachments - relation to SOAP 1.1

PS> Soap with attachments - relation to SOAP 1.1

McDonald, Ira imcdonald at sharplabs.com
Wed Mar 19 13:36:13 EST 2003


Hi Dan,

We're aware of DIME.  But the concensus of the PSI working group
members is that the in-band transmission of document data MUST
always be Base64 wrapped binary data.  PSI (like IPP) identifies
authoritatively, in the separate "document-format" attribute,
the wrapped binary data format, using an IANA-registered MIME
type.  In PSI, this method is called "AddDocumentByValue".

In PSI, two other methods exist:
- "AddDocumentByPush" RETURNS a list of data sink URIs.  The
   PSI client selects a data sink URI (for example "http:...")
   and pushes the document data out-of-band and then calls
   the in-band method "PushDocumentDataDelivered" (to avoid
   the PSI server having to poll the repository to see when
   the out-of-band document data has been delivered).

- "AddDocumentByReference" SENDS an out-of-band reference to
  the document data.  But since PSI messages are transferred
  in SOAP message envelopes, the reference MAY point to the
  IN-BAND document data later in the same SOAP message.
  Thus the discussion of the support (or lack of it) for
  the original "SOAP with Attachments".  If many/any of the
  deployed proxies or intermediaries do NOT support this
  flavor of "SOAP with Attachments" then we want to deprecate
  such a use of "AddDocumentByReference" in the parallel 
  PSI Developers Guide (the implementors guide for PSI).

Note that because of the DIME versus MIME nonsense, the PSI
method "AddDocumentByValue" MUST always wrap the binary data
in Base64 and MUST NOT wrap the data in any other format
(although the wrapped data may be MIME, DIME, or doorknobs).

Hope that clarifies the context a little.

Cheers,
- Ira McDonald, contributing editor for PSI spec
  High North Inc


-----Original Message-----
From: REVEL,DAN (HP-Vancouver,ex1) [mailto:dan_revel at hp.com]
Sent: Wednesday, March 19, 2003 11:22 AM
To: 'Harry Lewis'; ps at pwg.org
Subject: RE: PS> Soap with attachments - relation to SOAP 1.1


SOAP-attachments was a W3C submission, Microsoft et al. made a competing
proposal, DIME, that seems to have more momentum:

http://msdn.microsoft.com/library/default.asp?url=/library/en-us/dnwebsrv/ht
ml/dimewsattch.asp


-----Original Message-----
From: Harry Lewis [mailto:harryl at us.ibm.com]
Sent: Tuesday, March 18, 2003 9:59 AM
To: ps at pwg.org
Subject: PS> Soap with attachments - relation to SOAP 1.1



See http://www.w3.org/TR/SOAP-attachments section 4. Seems this has been
around for quite a while. I suspect we'd have better interop than we
anticipate. 
---------------------------------------------- 
Harry Lewis 
IBM Printing Systems 
---------------------------------------------- 



More information about the Ps mailing list