/** * The endpoint address. Always non-null. This parameter is taken separately * from {@link com.sun.xml.ws.api.model.wsdl.WSDLPort} (even though there's {@link com.sun.xml.ws.api.model.wsdl.WSDLPort#getAddress()}) * because sometimes WSDL is not available. */ public @NotNull EndpointAddress getAddress() { return wrappedContext.getAddress(); }
/** * The endpoint address. Always non-null. This parameter is taken separately * from {@link com.sun.xml.ws.api.model.wsdl.WSDLPort} (even though there's {@link com.sun.xml.ws.api.model.wsdl.WSDLPort#getAddress()}) * because sometimes WSDL is not available. */ public @NotNull EndpointAddress getAddress() { return wrappedContext.getAddress(); }
/** * The endpoint address. Always non-null. This parameter is taken separately * from {@link com.sun.xml.ws.api.model.wsdl.WSDLPort} (even though there's {@link com.sun.xml.ws.api.model.wsdl.WSDLPort#getAddress()}) * because sometimes WSDL is not available. */ public @NotNull EndpointAddress getAddress() { return wrappedContext.getAddress(); }
protected Tube createDefault(ClientTubeAssemblerContext context) { // default built-in transports String scheme = context.getAddress().getURI().getScheme(); if (scheme != null) { if(scheme.equalsIgnoreCase("http") || scheme.equalsIgnoreCase("https")) return createHttpTransport(context); } throw new WebServiceException("Unsupported endpoint address: "+context.getAddress()); // TODO: i18n }
protected Tube createDefault(ClientTubeAssemblerContext context) { // default built-in transports String scheme = context.getAddress().getURI().getScheme(); if (scheme != null) { if(scheme.equalsIgnoreCase("http") || scheme.equalsIgnoreCase("https")) return createHttpTransport(context); } throw new WebServiceException("Unsupported endpoint address: "+context.getAddress()); // TODO: i18n }
protected Tube createDefault(ClientTubeAssemblerContext context) { // default built-in transports String scheme = context.getAddress().getURI().getScheme(); if (scheme != null) { if(scheme.equalsIgnoreCase("http") || scheme.equalsIgnoreCase("https")) return createHttpTransport(context); } throw new WebServiceException("Unsupported endpoint address: "+context.getAddress()); // TODO: i18n }
@Override public Tube doCreate(ClientTubeAssemblerContext context) { if (context.getAddress().getURI().getScheme().equalsIgnoreCase("jms")) { return wsJmsTransportFactory.createJmsTransportTube(context.getCodec(), context.getService().getServiceName()); } return null; }
public DeferredTransportPipe(ClassLoader classLoader, ClientTubeAssemblerContext context) { this.classLoader = classLoader; this.context = context; if (context.getBinding().getFeature(HttpConfigFeature.class) == null) { context.getBinding().getFeatures().mergeFeatures( new WebServiceFeature[] { new HttpConfigFeature() }, false); } //See if we can create the transport pipe from the available information. try { this.transport = TransportTubeFactory.create(classLoader, context); this.address = context.getAddress(); } catch(Exception e) { //No problem, transport will be initialized while processing the requests } }
context.getAddress(), context.getWsdlModel(), context.getService(), context.getBinding(), context.getContainer()); ctxt.setCodec(context.getCodec());
public DeferredTransportPipe(ClassLoader classLoader, ClientTubeAssemblerContext context) { this.classLoader = classLoader; this.context = context; if (context.getBinding().getFeature(HttpConfigFeature.class) == null) { context.getBinding().getFeatures().mergeFeatures( new WebServiceFeature[] { new HttpConfigFeature() }, false); } //See if we can create the transport pipe from the available information. try { this.transport = TransportTubeFactory.create(classLoader, context); this.address = context.getAddress(); } catch(Exception e) { //No problem, transport will be initialized while processing the requests } }
context.getAddress(), context.getWsdlModel(), context.getService(), context.getBinding(), context.getContainer()); ctxt.setCodec(context.getCodec());
context.getAddress(), context.getWsdlModel(), context.getService(), context.getBinding(), context.getContainer()); ctxt.setCodec(context.getCodec());
public DeferredTransportPipe(ClassLoader classLoader, ClientTubeAssemblerContext context) { this.classLoader = classLoader; this.context = context; if (context.getBinding().getFeature(HttpConfigFeature.class) == null) { context.getBinding().getFeatures().mergeFeatures( new WebServiceFeature[] { new HttpConfigFeature() }, false); } //See if we can create the transport pipe from the available information. try { this.transport = TransportTubeFactory.create(classLoader, context); this.address = context.getAddress(); } catch(Exception e) { //No problem, transport will be initialized while processing the requests } }
@Override public @NotNull Tube createClient(@NotNull ClientTubeAssemblerContext context) { ClientPipeAssemblerContext ctxt = new ClientPipeAssemblerContext( context.getAddress(), context.getWsdlModel(), context.getService(), context.getBinding(), context.getContainer()); return PipeAdapter.adapt(assembler.createClient(ctxt)); }
@Override public @NotNull Tube createClient(@NotNull ClientTubeAssemblerContext context) { ClientPipeAssemblerContext ctxt = new ClientPipeAssemblerContext( context.getAddress(), context.getWsdlModel(), context.getService(), context.getBinding(), context.getContainer()); return PipeAdapter.adapt(assembler.createClient(ctxt)); }
@Override public @NotNull Tube createClient(@NotNull ClientTubeAssemblerContext context) { ClientPipeAssemblerContext ctxt = new ClientPipeAssemblerContext( context.getAddress(), context.getWsdlModel(), context.getService(), context.getBinding(), context.getContainer()); return PipeAdapter.adapt(assembler.createClient(ctxt)); }
@NotNull public Tube createClient(@NotNull ClientTubeAssemblerContext jaxwsContext) { if (LOGGER.isLoggable(Level.FINER)) { LOGGER.finer("Assembling client-side tubeline for WS endpoint: " + jaxwsContext.getAddress().getURI().toString());
@NotNull public Tube createClient(@NotNull ClientTubeAssemblerContext jaxwsContext) { if (LOGGER.isLoggable(Level.FINER)) { LOGGER.finer("Assembling client-side tubeline for WS endpoint: " + jaxwsContext.getAddress().getURI().toString());
@NotNull public Tube createClient(@NotNull ClientTubeAssemblerContext jaxwsContext) { if (LOGGER.isLoggable(Level.FINER)) { LOGGER.finer("Assembling client-side tubeline for WS endpoint: " + jaxwsContext.getAddress().getURI().toString());