Search in sources :

Example 1 with ClientLogicalHandlerTube

use of com.sun.xml.ws.handler.ClientLogicalHandlerTube in project metro-jax-ws by eclipse-ee4j.

the class ClientTubeAssemblerContext method createHandlerTube.

/**
 * Creates a {@link Tube} that invokes protocol and logical handlers.
 */
public Tube createHandlerTube(Tube next) {
    HandlerTube cousinHandlerTube = null;
    // XML/HTTP Binding can have only LogicalHandlerPipe
    if (binding instanceof SOAPBinding) {
        // Add MessageHandlerTube
        HandlerTube messageHandlerTube = new ClientMessageHandlerTube(seiModel, binding, wsdlModel, next);
        next = cousinHandlerTube = messageHandlerTube;
        // Add SOAPHandlerTuber
        HandlerTube soapHandlerTube = new ClientSOAPHandlerTube(binding, next, cousinHandlerTube);
        next = cousinHandlerTube = soapHandlerTube;
    }
    return new ClientLogicalHandlerTube(binding, seiModel, next, cousinHandlerTube);
}
Also used : ClientMessageHandlerTube(com.sun.xml.ws.handler.ClientMessageHandlerTube) HandlerTube(com.sun.xml.ws.handler.HandlerTube) ClientSOAPHandlerTube(com.sun.xml.ws.handler.ClientSOAPHandlerTube) ClientLogicalHandlerTube(com.sun.xml.ws.handler.ClientLogicalHandlerTube) ClientLogicalHandlerTube(com.sun.xml.ws.handler.ClientLogicalHandlerTube) ClientMessageHandlerTube(com.sun.xml.ws.handler.ClientMessageHandlerTube) ClientSOAPHandlerTube(com.sun.xml.ws.handler.ClientSOAPHandlerTube) SOAPBinding(jakarta.xml.ws.soap.SOAPBinding)

Aggregations

ClientLogicalHandlerTube (com.sun.xml.ws.handler.ClientLogicalHandlerTube)1 ClientMessageHandlerTube (com.sun.xml.ws.handler.ClientMessageHandlerTube)1 ClientSOAPHandlerTube (com.sun.xml.ws.handler.ClientSOAPHandlerTube)1 HandlerTube (com.sun.xml.ws.handler.HandlerTube)1 SOAPBinding (jakarta.xml.ws.soap.SOAPBinding)1