4 Replies Latest reply on Jun 27, 2016 3:43 AM by mae

    How to reach that a soap-service starts CDI RequestScope?

    mae

      I have a switchyard service with SOAP binding. And i think this service should automatically start a CDI RequestScope. Because we have a client request.

      But no RequestScope is started, rather in my CDI bean (annotated with @RequestScoped) i get the following Exception.

      org.jboss.weld.context.ContextNotActiveException: WELD-001303 No active contexts for scope type javax.enterprise.context.RequestScoped

       

      Is there any way to configure switchyard to start CDI RequestScope for a service called from an external client or is it planned to implement?

      Or do i have to implement this by myself, maybe over the org.switchyard.ExchangeInterceptor?