Optimized RRSHB Example
MIME-Version: 1.0
Content-Type: Multipart/Related; boundary=example-boundary;
type=application/xop+xml;
start="<itinerary123.xml@travelcompany.example.org>";
startinfo="application/soap+xml;action=\"http://travelcompany.example.org/Process\""
Content-Description: This is an example of an optimized SOAP message
--example-boundary
Content-Type: application/xop+xml; charset=UTF-8;
type="application/soap+xml;action=\"http://travelcompany.example.org/Process\""
Content-Transfer-Encoding: 8bit
Content-ID: <itinerary123.xml@travelcompany.example.org>
<?xml version='1.0' ?>
<env:Envelope xmlns:env="http://www.w3.org/2003/05/soap-envelope"
xmlns:rep='http://www.w3.org/2004/02/representation'
xmlns:xmlmime='http://www.w3.org/2004/06/xmlmime'>
<env:Header>
<rep:Representation resource='http://travelcompany.example.org/images/logo.jpg'>
<xop:Include xmlns:xop='http://www.w3.org/2003/12/xop/include'
href="cid:logo.gif@travelcompany.example.org"/></rep:Representation>
:::
</env:Header>
<env:Body>
<o:travelAgencyLogo xmlns:o="http://travelcompany.example.org/images">
<o:image o:source= "http://travelcompany.example.org/images/logo.jpg"/>
</o:travelAgencyLogo>
:::
:::
</env:Body>
</env:Envelope>
--example-boundary
Content-Type: image/jpg
Content-Transfer-Encoding: binary
Content-ID: <logo.gif@travelcompany.example.org>
::: the binary data for the travel agency logo :::
--example-boundary
Content-Type: image/jpg
Content-Transfer-Encoding: binary
Content-ID: <map123.jpg@travelcompany.example.org>
::: the binary data :::
--example-boundary--