Re: Handling attachment Query
Bob Cunnings <[email protected]> Fri, 29 Aug 2003 10:02:32 -0600
| Newsgroups | gmane.comp.windows.devel.soap.general |
|---|---|
| Message-ID | <006d01c36e46$f486b1e0$880410ac@bobc2> |
Why not send the filename in the body of the SOAP message along with the attachment reference? Take a look at: http://www.whitemesa.com/dime/echofile.wsdl which describes a simple file transfer service used a while back for testing DIME interoperability (It actually provides for the transmission of an attachment reference and filename in a SOAP header entry as well as in the body, but that is only because the service was used for testing purposes). The same principle would apply for a doc/lit service. I briefly considered sending the filename contained in a DIME "option" element as part of the DIME packaging of the file attachment, but didn't think it was a good idea as I wanted the SOAP message handlers to have access to the filename without needing to reach into the DIME package to get it. I could imagine also sending the filename and any other control data in a SOAP header entry, and the attachment reference in the body. RC