public Iterable<WebServiceFeature> getFeatures() { if (features == null && wsBinding != null) return wsBinding.getFeatures(); return features; } public void setFeatures(WebServiceFeature[] features) {
public Iterable<WebServiceFeature> getFeatures() { if (features == null && wsBinding != null) return wsBinding.getFeatures(); return features; } public void setFeatures(WebServiceFeature[] features) {
public Iterable<WebServiceFeature> getFeatures() { if (features == null && wsBinding != null) return wsBinding.getFeatures(); return features; } public void setFeatures(WebServiceFeature[] features) {
@Override public Codec createEncoder(WSBinding binding) { return new XMLHTTPBindingCodec(binding.getFeatures()); } };
@Override public Codec createEncoder(WSBinding binding) { return new XMLHTTPBindingCodec(binding.getFeatures()); } };
private static boolean isSticky(WSBinding binding) { boolean tSticky = false; WebServiceFeature[] features = binding.getFeatures().toArray(); for(WebServiceFeature f : features) { if (f instanceof StickyFeature) { tSticky = true; break; } } return tSticky; }
@Override public Codec createEncoder(WSBinding binding) { return new XMLHTTPBindingCodec(binding.getFeatures()); } };
@Override public Codec createEncoder(WSBinding binding) { return new XMLHTTPBindingCodec(binding.getFeatures()); } };
private static boolean isSticky(WSBinding binding) { boolean tSticky = false; WebServiceFeature[] features = binding.getFeatures().toArray(); for(WebServiceFeature f : features) { if (f instanceof StickyFeature) { tSticky = true; break; } } return tSticky; }
@Override public Codec createEncoder(WSBinding binding) { return new XMLHTTPBindingCodec(binding.getFeatures()); } };
private static boolean isSticky(WSBinding binding) { boolean tSticky = false; WebServiceFeature[] features = binding.getFeatures().toArray(); for(WebServiceFeature f : features) { if (f instanceof StickyFeature) { tSticky = true; break; } } return tSticky; }
@Override public Codec createEncoder(WSBinding binding) { return new XMLHTTPBindingCodec(binding.getFeatures()); } };
static public WebServiceFeature[] toFeatureArray(WSBinding binding) { //TODO scchen convert BindingID to WebServiceFeature[] if(!binding.isFeatureEnabled(EnvelopeStyleFeature.class)) { WebServiceFeature[] f = { binding.getSOAPVersion().toFeature() }; binding.getFeatures().mergeFeatures(f, false); } return binding.getFeatures().toArray(); } }
static public WebServiceFeature[] toFeatureArray(WSBinding binding) { //TODO scchen convert BindingID to WebServiceFeature[] if(!binding.isFeatureEnabled(EnvelopeStyleFeature.class)) { WebServiceFeature[] f = { binding.getSOAPVersion().toFeature() }; binding.getFeatures().mergeFeatures(f, false); } return binding.getFeatures().toArray(); } }
public DataSource getParameter(Packet packet) { Message msg = packet.getInternalMessage(); return (msg instanceof XMLMessage.MessageDataSource) ? ((XMLMessage.MessageDataSource) msg).getDataSource() : XMLMessage.getDataSource(msg, binding.getFeatures()); }
public DataSource getParameter(Packet packet) { Message msg = packet.getInternalMessage(); return (msg instanceof XMLMessage.MessageDataSource) ? ((XMLMessage.MessageDataSource) msg).getDataSource() : XMLMessage.getDataSource(msg, binding.getFeatures()); }
public DataSource getParameter(Packet packet) { Message msg = packet.getInternalMessage(); return (msg instanceof XMLMessage.MessageDataSource) ? ((XMLMessage.MessageDataSource) msg).getDataSource() : XMLMessage.getDataSource(msg, binding.getFeatures()); }
@ManagedAttribute @Description("Binding features") public @NotNull WSFeatureList features() { return endpoint.getBinding().getFeatures(); }
@ManagedAttribute @Description("Binding features") public @NotNull WSFeatureList features() { return endpoint.getBinding().getFeatures(); }
@ManagedAttribute @Description("Binding features") public @NotNull WSFeatureList features() { return endpoint.getBinding().getFeatures(); }