1 5 6 package javax.xml.ws.soap; 7 8 9 import java.util.Set ; 10 import javax.xml.ws.Binding; 11 import javax.xml.soap.SOAPFactory ; 12 import javax.xml.soap.MessageFactory ; 13 14 19 public interface SOAPBinding extends Binding { 20 21 24 public static final String SOAP11HTTP_BINDING = "http://schemas.xmlsoap.org/wsdl/soap/http"; 25 26 29 public static final String SOAP12HTTP_BINDING = "http://www.w3.org/2003/05/soap/bindings/HTTP/"; 30 31 35 public static final String SOAP11HTTP_MTOM_BINDING = "http://schemas.xmlsoap.org/wsdl/soap/http?mtom=true"; 36 37 41 public static final String SOAP12HTTP_MTOM_BINDING = "http://www.w3.org/2003/05/soap/bindings/HTTP/?mtom=true"; 42 43 44 48 public Set <String > getRoles(); 49 50 56 public void setRoles(Set <String > roles); 57 58 63 64 public boolean isMTOMEnabled(); 65 66 75 public void setMTOMEnabled(boolean flag); 76 77 82 public SOAPFactory getSOAPFactory(); 83 84 89 public MessageFactory getMessageFactory(); 90 } 91 | Popular Tags |