Uploaded image for project: 'JBoss Enterprise Application Platform 4 and 5'
  1. JBoss Enterprise Application Platform 4 and 5
  2. JBPAPP-10697

JBossWS Native Dispatch clients don't configure MTOM properly

    XMLWordPrintable

    Details

    • Workaround Description:
      Hide

      ((org.jboss.ws.core.soap.SOAPMessageImpl)message).setXOPMessage(true);
      Map<String, Object> map = ((javax.xml.ws.BindingProvider)dispatcher).getRequestContext();
      map.put(org.jboss.ws.core.StubExt.PROPERTY_MTOM_ENABLED, true);
      

      Show
      ((org.jboss.ws.core.soap.SOAPMessageImpl)message).setXOPMessage(true); Map<String, Object> map = ((javax.xml.ws.BindingProvider)dispatcher).getRequestContext(); map.put(org.jboss.ws.core.StubExt.PROPERTY_MTOM_ENABLED, true);
    • Release Notes Text:
      Hide
      In earlier versions of JBoss EAP 5 the content type of MTOM-enabled requests coming from JBossWS-Native dispatch clients was not correct. The previous value (<literal>multipart/related; type="text/xml"</literal>) has been updated to <literal>multipart/related; type="application/xop+xml"</literal>.
      Show
      In earlier versions of JBoss EAP 5 the content type of MTOM-enabled requests coming from JBossWS-Native dispatch clients was not correct. The previous value (<literal>multipart/related; type="text/xml"</literal>) has been updated to <literal>multipart/related; type="application/xop+xml"</literal>.
    • Release Notes Docs Status:
      Documented as Resolved Issue
    • Docs QE Status:
      NEW

      Description

      The content type of messages with MTOM attachments is not correct if the MTOMFeature is passed into the service.createDispatch method. It should be multipart/related;type="application/xop+xml", but it's multipart/related; type="text/xml" instead.

        Gliffy Diagrams

          Attachments

            Activity

              People

              • Assignee:
                klape Kyle Lape
                Reporter:
                klape Kyle Lape
              • Votes:
                0 Vote for this issue
                Watchers:
                2 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: