Uploaded image for project: 'JBoss Web Services'
  1. JBoss Web Services
  2. JBWS-1973

MTOM/XOP attachments not inlined when using JAX-WS handlers

    XMLWordPrintable

Details

    Description

      I found out that eventual attachments are moved inline when there are jaxws handlers in place.

      In order to prevent this, calls to XOPContent.visitAndRestoreXOPData() were added in the HandlerDelegateJAXRPC, so that the model transits to the xml-valid and the xop:Include are restored:

      boolean status = (handlerChain != null ? handlerChain.handleResponse(msgContext) : true);
      if (type == HandlerType.ENDPOINT)
      XOPContext.visitAndRestoreXOPData();
      return status;

      This should be done for JAXWS too.

      Attachments

        Issue Links

          Activity

            People

              rhn-support-hbraun Heiko Braun
              rhn-support-asoldano Alessio Soldano
              Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: