WSDL MIME Issues
Fraser Goffin <[email protected]> Tue, 7 Jan 2003 10:34:47 +0000
| Newsgroups | gmane.comp.windows.devel.soap.general |
|---|---|
| Message-ID | <[email protected]> |
Simon, I been trying to track down an article that is attributed to you concerning the use of SwA/multipart MIME and WSDL. Specifically, I am trying to figure a way of being able to create a WSDL that allows for an arbritary number of attachment parts associated with an input or output message. I was given this snippet, but is there more ?? Cheers Fraser == snippet begins "All in all, WSDL & Attachments is not a good place to be !" However that doesn't mean the end of the line. You can create a "content mime part" that uses a multipart/related media type, e.g. <mime:part> <mime:content part="body" type="multipart/related; boundary=BoUnDaRy-987123"/> </mime:part> This places all of the content "body parts" into one body part within the SwA multipart/related envelope. These "sub body parts" are accessible to a mime parser via the Content-ID contained in the href associated with each part from within the SOAP body. === snippet ends _________________________________________________________________ MSN 8: advanced junk mail protection and 2 months FREE*. http://join.msn.com/?page=features/junkmail You can read messages from the SOAP archive, unsubscribe from SOAP, or subscribe to other DevelopMentor lists at http://discuss.develop.com.