1 5 6 package javax.xml.ws.soap; 7 8 import javax.xml.ws.Action; 9 import javax.xml.ws.BindingProvider; 10 import javax.xml.ws.FaultAction; 11 import javax.xml.ws.WebServiceFeature; 12 import javax.xml.ws.WebServiceException; 13 import javax.xml.ws.spi.Provider; 14 15 76 public final class AddressingFeature extends WebServiceFeature { 77 80 public static final String ID = "http://www.w3.org/2005/08/addressing/module"; 81 82 89 protected boolean required = false; 90 91 95 public AddressingFeature() { 96 this.enabled = true; 97 } 98 99 105 public AddressingFeature(boolean enabled) { 106 this.enabled = enabled; 107 } 108 109 119 public AddressingFeature(boolean enabled, boolean required) { 120 this.enabled = enabled; 121 this.required = required; 122 } 123 124 127 public String getID() { 128 return ID; 129 } 130 131 139 public boolean isRequired() { 140 return required; 141 } 142 } 143 | Popular Tags |