1 / 5

SOAP Attachments in 4 slides

SOAP Attachments in 4 slides. An example of a SOAP binding. We have a SOAP Message.

twestra
Download Presentation

SOAP Attachments in 4 slides

An Image/Link below is provided (as is) to download presentation Download Policy: Content on the Website is provided to you AS IS for your information and personal use and may not be sold / licensed / shared on other websites without getting consent from its author. Content is provided to you AS IS for your information and personal use only. Download presentation by click this link. While downloading, if for some reason you are not able to download a presentation, the publisher may have deleted the file from their server. During download, if you can't get a presentation, the file might be deleted by the publisher.

E N D

Presentation Transcript


  1. SOAP Attachments in 4 slides An example of a SOAP binding

  2. We have a SOAP Message <SOAP:Envelope xmlns:SOAP="http://schemas.xmlsoap.org/soap/envelope/" SOAP:encodingStyle="http://schemas.xmlsoap.org/soap/encoding/"> <SOAP:Header> <m:MessageInfo xmlns:m="http://www.info.org/soap/message"> <m:to href="mailto:you@your.com"/> <m:from href="mailto:me@my.com"/> <m:contact href="mailto:someone@my.com"> </m:MessageInfo> </SOAP:Header> <SOAP:Body> <msg:Message xmlns:m="http://www.info.org/soap/message"> <msg:subject>Your house is on fire!</msg:subject> <msg:picture href="http://info.org/yourhouse"/> </msg:Message> </SOAP:Body></SOAP:Envelope>

  3. SOAP Messages can contain Links mailto:someone@my.com <SOAP:Envelope xmlns:SOAP="http://schemas.xmlsoap.org/soap/envelope" SOAP:encodingStyle="http://schemas.xmlsoap.org/soap/encoding/"> <SOAP:Header> <m:MessageInfo xmlns:m="http://www.info.org/soap/message"> <m:to href="mailto:you@your.com"/> <m:from href="mailto:me@my.com"/> <m:contact href="mailto:someone@my.com"> </m:MessageInfo> </SOAP:Header> <SOAP:Body> <msg:Message xmlns:m="http://www.info.org/soap/message"> <msg:subject>Your house is on fire!</msg:subject> <msg:picture href="http://info.org/yourhouse"/> </msg:Message> </SOAP:Body></SOAP:Envelope> mailto:you@your.com http://info.org/yourhouse mailto:me@my.com

  4. Links can point to MIME bodies MIME-Version: 1.0 Content-Type: Multipart/Related; … --MIME_boundary <SOAP:Envelope xmlns:SOAP="http://schemas.xmlsoap.org/soap/envelope" SOAP:encodingStyle="http://schemas.xmlsoap.org/soap/encoding/"> <SOAP:Header> <m:MessageInfo xmlns:m="http://www.info.org/soap/message"> <m:to href="mailto:you@your.com"/> <m:from href="mailto:me@my.com"/> <m:contact href="mailto:someone@my.com"> </m:MessageInfo> </SOAP:Header> <SOAP:Body> <msg:Message xmlns:m="http://www.info.org/soap/message"> <msg:subject>Your house is on fire!</msg:subject> <msg:picture href="cid:fire1234@info.org"/> </msg:Message> </SOAP:Body></SOAP:Envelope> --MIME_boundary Content-Type: image/tiff Content-Transfer-Encoding: binary Content-ID: < cid:fire1234@info.org > …Photo… --MIME_boundary--

  5. The 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

More Related