Details
-
Type:
Bug
-
Status:
Resolved
-
Priority:
Major
-
Resolution: Fixed
-
Affects Version/s: 4.4.2
-
Fix Version/s: 4.4.3
-
Component/s: None
-
Security Level: Public
-
- Environment:
- -
Activity
| Field | Original Value | New Value |
|---|---|---|
| Fix Version/s | 4.4.3 [ 10684 ] | |
| Priority | Major [ 3 ] | |
| Description |
When WS client invoke a wen-service exposed by the BC SOAP with MTOM-optimized attachments, these attachments are put in the JBI exchange but the root part (the one containing the XML payload) of the multi-part HTTP message is also put in the JBI exchange.
It is not needed to put the root part as attachment in the JBI exchange. |
When WS client invoke a wen-service exposed by the BC SOAP with MTOM-optimized attachments, these attachments are put in the JBI exchange but the root part (the one containing the XML payload) of the multi-part HTTP message is also put in the JBI exchange.
{code} POST http://localhost:8084/petals/services/EDMService HTTP/1.1 Accept-Encoding: gzip,deflate Content-Type: multipart/related; type="application/xop+xml"; start="<rootpart@soapui.org>"; start-info="text/xml"; boundary="----=_Part_0_26937373.1483606877952" SOAPAction: "http://petals.ow2.org/bc/rest/edm/archiver" MIME-Version: 1.0 ------=_Part_0_26937373.1483606877952 Content-Type: application/xop+xml; charset=UTF-8; type="text/xml" Content-Transfer-Encoding: 8bit Content-ID: <rootpart@soapui.org> <soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/" xmlns:edm="http://petals.ow2.org/bc/rest/edm"> <soapenv:Header/> <soapenv:Body> <edm:archiver> <edm:library>my-library</edm:library> <edm:document><inc:Include href="cid:602465885939" xmlns:inc="http://www.w3.org/2004/08/xop/include"/></edm:document> </edm:archiver> </soapenv:Body> </soapenv:Envelope> ------=_Part_0_26937373.1483606877952 Content-Type: image/jpeg Content-Transfer-Encoding: binary Content-ID: <CDE-avatar_105x105.jpg> Content-Disposition: attachment; name="CDE-avatar_105x105.jpg" <----File content----> {code} It is not needed to put the root part as attachment in the JBI exchange. |
| Description |
When WS client invoke a wen-service exposed by the BC SOAP with MTOM-optimized attachments, these attachments are put in the JBI exchange but the root part (the one containing the XML payload) of the multi-part HTTP message is also put in the JBI exchange.
{code} POST http://localhost:8084/petals/services/EDMService HTTP/1.1 Accept-Encoding: gzip,deflate Content-Type: multipart/related; type="application/xop+xml"; start="<rootpart@soapui.org>"; start-info="text/xml"; boundary="----=_Part_0_26937373.1483606877952" SOAPAction: "http://petals.ow2.org/bc/rest/edm/archiver" MIME-Version: 1.0 ------=_Part_0_26937373.1483606877952 Content-Type: application/xop+xml; charset=UTF-8; type="text/xml" Content-Transfer-Encoding: 8bit Content-ID: <rootpart@soapui.org> <soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/" xmlns:edm="http://petals.ow2.org/bc/rest/edm"> <soapenv:Header/> <soapenv:Body> <edm:archiver> <edm:library>my-library</edm:library> <edm:document><inc:Include href="cid:602465885939" xmlns:inc="http://www.w3.org/2004/08/xop/include"/></edm:document> </edm:archiver> </soapenv:Body> </soapenv:Envelope> ------=_Part_0_26937373.1483606877952 Content-Type: image/jpeg Content-Transfer-Encoding: binary Content-ID: <CDE-avatar_105x105.jpg> Content-Disposition: attachment; name="CDE-avatar_105x105.jpg" <----File content----> {code} It is not needed to put the root part as attachment in the JBI exchange. |
When WS client invoke a wen-service exposed by the BC SOAP with MTOM-optimized attachments, these attachments are put in the JBI exchange but the root part (the one containing the XML payload, with content-type '{{application/xop+xml}}') of the multi-part HTTP message is also put in the JBI exchange.
{code} POST http://localhost:8084/petals/services/EDMService HTTP/1.1 Accept-Encoding: gzip,deflate Content-Type: multipart/related; type="application/xop+xml"; start="<rootpart@soapui.org>"; start-info="text/xml"; boundary="----=_Part_0_26937373.1483606877952" SOAPAction: "http://petals.ow2.org/bc/rest/edm/archiver" MIME-Version: 1.0 ------=_Part_0_26937373.1483606877952 Content-Type: application/xop+xml; charset=UTF-8; type="text/xml" Content-Transfer-Encoding: 8bit Content-ID: <rootpart@soapui.org> <soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/" xmlns:edm="http://petals.ow2.org/bc/rest/edm"> <soapenv:Header/> <soapenv:Body> <edm:archiver> <edm:library>my-library</edm:library> <edm:document><inc:Include href="cid:602465885939" xmlns:inc="http://www.w3.org/2004/08/xop/include"/></edm:document> </edm:archiver> </soapenv:Body> </soapenv:Envelope> ------=_Part_0_26937373.1483606877952 Content-Type: image/jpeg Content-Transfer-Encoding: binary Content-ID: <CDE-avatar_105x105.jpg> Content-Disposition: attachment; name="CDE-avatar_105x105.jpg" <----File content----> {code} It is not needed to put the root part as attachment in the JBI exchange. |
| Status | New [ 10000 ] | Open [ 10002 ] |
| Status | Open [ 10002 ] | In Progress [ 10003 ] |
| Status | In Progress [ 10003 ] | Resolved [ 10004 ] |
| Resolution | Fixed [ 1 ] |