Uploaded image for project: 'SwitchYard'
  1. SwitchYard
  2. SWITCHYARD-756

Setting HandlerChain in SwitchYard configuration

    Details

      Description

      It would be great to set a handler chain for the components like BPEL because AFAIK we can only put the @javax.jws.HandlerChain annotation on a class (web service) now.

      For example I need it to set the com.arjuna.mw.wst11.service.JaxWSHeaderContextProcessor handler for a BPEL process because otherwise when I call a proxy object calling BPEL process within distributed transaction (e.g. with WS-AtomicTransaction spec.) which puts coordination context into SOAP header with mustUnderstand attribute it will throw following exception:

      [org.apache.cxf.phase.PhaseInterceptorChain] (pool-10-thread-1) Interceptor for

      {http://www.jboss.org/bpel/examples}

      BusinessTravelService#

      {http://www.jboss.org/bpel/examples}

      order has thrown exception, unwinding now: org.apache.cxf.binding.soap.SoapFault: MustUnderstand headers: [

      {http://docs.oasis-open.org/ws-tx/wscoor/2006/06}

      CoordinationContext] are not understood.

        Gliffy Diagrams

          Activity

          Hide
          ibek Ivo Bek added a comment -

          In RiftSaw 2 the handler chain can be set in jws_handler.xml but it's not possible to set it in RiftSaw 3.

          Show
          ibek Ivo Bek added a comment - In RiftSaw 2 the handler chain can be set in jws_handler.xml but it's not possible to set it in RiftSaw 3.

            People

            • Assignee:
              Unassigned
              Reporter:
              ibek Ivo Bek
            • Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

              • Created:
                Updated:

                Development