Title: SOAP Attachments in 4 slides
1SOAP Attachments in 4 slides
- An example of a SOAP binding
2We have a SOAP Message
ltSOAPEnvelope xmlnsSOAP"http//schemas.xmlsoap.
org/soap/envelope/" SOAPencodingStyle"http//s
chemas.xmlsoap.org/soap/encoding/"gt
ltSOAPHeadergt ltmMessageInfo
xmlnsm"http//www.info.org/soap/message"gt
ltmto href"mailtoyou_at_your.com"/gt
ltmfrom href"mailtome_at_my.com"/gt
ltmcontact href"mailtosomeone_at_my.com"gt
lt/mMessageInfogt lt/SOAPHeadergt
ltSOAPBodygt ltmsgMessage xmlnsm"http//www
.info.org/soap/message"gt
ltmsgsubjectgtYour house is on fire!lt/msgsubjectgt
ltmsgpicture href"http//info.org/y
ourhouse"/gt lt/msgMessagegt
lt/SOAPBodygtlt/SOAPEnvelopegt
3SOAP Messages can contain Links
mailtosomeone_at_my.com
ltSOAPEnvelope xmlnsSOAP"http//schemas.xmlsoap.
org/soap/envelope" SOAPencodingStyle"http//sc
hemas.xmlsoap.org/soap/encoding/"gt
ltSOAPHeadergt ltmMessageInfo
xmlnsm"http//www.info.org/soap/message"gt
ltmto href"mailtoyou_at_your.com"/gt
ltmfrom href"mailtome_at_my.com"/gt
ltmcontact href"mailtosomeone_at_my.com"gt
lt/mMessageInfogt lt/SOAPHeadergt
ltSOAPBodygt ltmsgMessage xmlnsm"http//www
.info.org/soap/message"gt
ltmsgsubjectgtYour house is on fire!lt/msgsubjectgt
ltmsgpicture href"http//info.org/y
ourhouse"/gt lt/msgMessagegt
lt/SOAPBodygtlt/SOAPEnvelopegt
mailtoyou_at_your.com
http//info.org/yourhouse
mailtome_at_my.com
4Links can point to MIME bodies
MIME-Version 1.0 Content-Type
Multipart/Related --MIME_boundary
ltSOAPEnvelope xmlnsSOAP"http//schemas.xmlsoap.
org/soap/envelope" SOAPencodingStyle"http//sc
hemas.xmlsoap.org/soap/encoding/"gt
ltSOAPHeadergt ltmMessageInfo
xmlnsm"http//www.info.org/soap/message"gt
ltmto href"mailtoyou_at_your.com"/gt
ltmfrom href"mailtome_at_my.com"/gt
ltmcontact href"mailtosomeone_at_my.com"gt
lt/mMessageInfogt lt/SOAPHeadergt
ltSOAPBodygt ltmsgMessage xmlnsm"http//www
.info.org/soap/message"gt
ltmsgsubjectgtYour house is on fire!lt/msgsubjectgt
ltmsgpicture href"cidfire1234_at_info
.org"/gt lt/msgMessagegt
lt/SOAPBodygtlt/SOAPEnvelopegt
--MIME_boundary
Content-Type image/tiff Content-Transfer-Encodin
g binary Content-ID lt cidfire1234_at_info.org gt
Photo
--MIME_boundary--
5The Science Bit
- Links can be expressed in different ways
- SOAP encoding, XLink etc.
- Does not imply any link relationship
- Attachment, index, see also, must check etc.
- This is left to the application
- What you link to is up to you
- Written as a protocol binding
- Can be nested