title: MTOM Request / Non-MTOM Response
body: <p>We have a pretty simple WS, implemented using annotations. We would like to be able to call this from clients both supporting MTOM/XOP and not. 
  Right now, it is annotated simply @MTOM. </p>
  
  <p>It takes a request containing (amongst others) a base64Binary element, and serves a response containing a single boolean element.</p>
  
  <p>Calling it is no problem, either with our without MTOM - it works. Only, the response, even though it doesn't contain any MTOM:able elements has headers declaring it a MTOM message, which chokes the non-MTOM client.</p>
  
  <pre><code>&lt;tran:headers   xsi:type="http:HttpResponseHeaders" xmlns:http="http://www.bea.com/wli/sb/transports/http"  xmlns:tran="http://www.bea.com/wli/sb/transports"  xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"&gt;
   &lt;tran:user-header   name="X-Powered-By" value="Servlet/2.5 JSP/2.1"/&gt;
   &lt;http:Content-Type&gt;
    multipart/related;start="&amp;lt;rootpart*c3e56707-113c-47f9-b02c-2a3234766dc4@example.jaxws.sun.com&gt;";type="application/xop+xml";boundary="uuid:c3e56707-113c-47f9-b02c-2a3234766dc4";start-info="text/xml"
   &lt;/http:Content-Type&gt;
   &lt;http:Date&gt;Tue, 11 May 2010 07:27:51 GMT&lt;/http:Date&gt;
   &lt;http:Transfer-Encoding&gt;chunked&lt;/http:Transfer-Encoding&gt;
  &lt;/tran:headers&gt;
  </code></pre>
  
  <p>Does anyone know how to get the service to always respond with a non-MTOM response while still accepting both MTOM and non-MTOM requests?</p>
  
  <p>The service runs on a WebLogic 10.3 server...</p>
  
  <p>Kind regards,
  Lars</p>