@Test public void testSetRequestTimeout() { int timeout = 12345; when(mockSoapClient.getRequestContext()).thenReturn(mockRequestContext); jaxWsHandler.setRequestTimeout(mockSoapClient, timeout); verify(mockRequestContext).put("com.sun.xml.ws.request.timeout", timeout); verify(mockRequestContext).put("com.sun.xml.internal.ws.request.timeout", timeout); }
@Override public void setRequestTimeout(BindingProvider bindingProvider, int timeout) { bindingProvider.getRequestContext().put(PRODUCTION_REQUEST_TIMEOUT_KEY, timeout); bindingProvider.getRequestContext().put(DEVEL_REQUEST_TIMEOUT_KEY, timeout); }
JaxWsHandler extends SoapClientHandler<BindingProvider> { @Override public void setRequestTimeout(BindingProvider bindingProvider, int timeout) { bindingProvider.getRequestContext().put(PRODUCTION_REQUEST_TIMEOUT_KEY, timeout); bindingProvider.getRequestContext().put(DEVEL_REQUEST_TIMEOUT_KEY, timeout); } }
JaxWsHandler extends SoapClientHandler<BindingProvider> { @Override public void setRequestTimeout(BindingProvider bindingProvider, int timeout) { bindingProvider.getRequestContext().put(PRODUCTION_REQUEST_TIMEOUT_KEY, timeout); bindingProvider.getRequestContext().put(DEVEL_REQUEST_TIMEOUT_KEY, timeout); } @Inject protected  JaxWsHandler(Provider<JaxWsSoapContextHandler> contextHandlerProvider); }
JaxWsHandler extends SoapClientHandler<BindingProvider> { @Override public void setRequestTimeout(BindingProvider bindingProvider, int timeout) { bindingProvider.getRequestContext().put(PRODUCTION_REQUEST_TIMEOUT_KEY, timeout); bindingProvider.getRequestContext().put(DEVEL_REQUEST_TIMEOUT_KEY, timeout); } @Inject protected  JaxWsHandler(Provider<JaxWsSoapContextHandler> contextHandlerProvider); @Override void setEndpointAddress(BindingProvider soapClient, String endpointAddress); @Override Object getHeader(BindingProvider soapClient, String headerName); @Override void clearHeaders(BindingProvider soapClient); @Override void setHeader(BindingProvider soapClient, String namespace, String headerName,
      Object headerValue); void setHeaderChildString(BindingProvider soapClient, final String headerName,
      String childNamespace, String childName, String childValue); @Override void putAllHttpHeaders(BindingProvider soapClient, Map<String, String> headersMap); @Override void setCompression(BindingProvider soapClient, boolean compress); @Override BindingProvider createSoapClient(SoapServiceDescriptor soapServiceDescriptor); @Override void setRequestTimeout(BindingProvider bindingProvider, int timeout); @Override RemoteCallReturn invokeSoapCall(SoapCall<BindingProvider> soapCall); @Override String getEndpointAddress(BindingProvider soapClient); @Override SOAPHeaderElement createSoapHeaderElement(QName qName); }
JaxWsHandler extends SoapClientHandler<BindingProvider> { @Override public void setRequestTimeout(BindingProvider bindingProvider, int timeout) { bindingProvider.getRequestContext().put(PRODUCTION_REQUEST_TIMEOUT_KEY, timeout); bindingProvider.getRequestContext().put(DEVEL_REQUEST_TIMEOUT_KEY, timeout); } @Inject protected  JaxWsHandler(Provider<JaxWsSoapContextHandler> contextHandlerProvider); @Override void setEndpointAddress(BindingProvider soapClient, String endpointAddress); @Override Object getHeader(BindingProvider soapClient, String headerName); @Override void clearHeaders(BindingProvider soapClient); @Override void setHeader(BindingProvider soapClient, String namespace, String headerName,
      Object headerValue); void setHeaderChildString(BindingProvider soapClient, final String headerName,
      String childNamespace, String childName, String childValue); @Override void putAllHttpHeaders(BindingProvider soapClient, Map<String, String> headersMap); @Override void setCompression(BindingProvider soapClient, boolean compress); @Override BindingProvider createSoapClient(SoapServiceDescriptor soapServiceDescriptor); @Override void setRequestTimeout(BindingProvider bindingProvider, int timeout); @Override RemoteCallReturn invokeSoapCall(SoapCall<BindingProvider> soapCall); @Override String getEndpointAddress(BindingProvider soapClient); @Override SOAPHeaderElement createSoapHeaderElement(QName qName);  }