I have an interface that uses a ws-server with MTOM enabled.
For this interface the inbound data is in multi-part, but the external system does not accept a multi-part reply.
Is there anyway to accept multi-part data and reply with a single part message?
ie it is currently replying with the following:
HTTP/1.1 200 OK
Content-Type: multipart/related; ENGINE=”application/xop+xml”; boundary=”uuid:9d4ccd34-ecac-4ad2-9e0d-0b60ad48d765″; start=”
Transfer-Encoding: chunked
Server: Jetty(8.1.14.v20131031)
–uuid:9d4ccd34-ecac-4ad2-9e0d-0b60ad48d765
Content-Type: application/xop+xml; charset=UTF-8; ENGINE=”text/xml”
Content-Transfer-Encoding: binary
Content-ID:
Reply Data
–uuid:9d4ccd34-ecac-4ad2-9e0d-0b60ad48d765–
I need it to reply as:
HTTP/1.1 200 OK
Root.Content-Type: text/xml
Accept: text/xml, text/html, image/gif, image/jpeg, *; q=.2, */*; q=.2
Content-Type: text/xml;charset=utf-8
Content-Length: 1107
Date: Thu, 21 Jan 2016 07:54:52 GMT
Server: Apache-Coyote/1.1
Reply Data