@Override public void start(WSDLGenExtnContext ctxt) { WSBinding binding = ctxt.getBinding(); TypedXmlWriter root = ctxt.getRoot(); enabled = binding.isFeatureEnabled(AddressingFeature.class); if (!enabled) return; AddressingFeature ftr = binding.getFeature(AddressingFeature.class); required = ftr.isRequired(); root._namespace(AddressingVersion.W3C.wsdlNsUri, AddressingVersion.W3C.getWsdlPrefix()); }
public W3CWsaServerTube( WSEndpoint endpoint, @NotNull WSDLPort wsdlPort, WSBinding binding, Tube next) { super(endpoint, wsdlPort, binding, next); af = binding.getFeature(AddressingFeature.class); }