List of usage examples for javax.xml.soap SOAPConstants URI_SOAP_1_2_ROLE_NONE
String URI_SOAP_1_2_ROLE_NONE
To view the source code for javax.xml.soap SOAPConstants URI_SOAP_1_2_ROLE_NONE.
Click Source Link
From source file:org.apache.axis2.jaxws.binding.SOAPBinding.java
public void setRoles(Set<String> set) { // Validate the values in the set if (set != null && !set.isEmpty()) { // Throw an exception for setting a role of "none" // Per JAXWS 2.0 Sec 10.1.1.1 SOAP Roles, page 116: if (set.contains(SOAPConstants.URI_SOAP_1_2_ROLE_NONE)) { throw ExceptionFactory.makeWebServiceException(Messages.getMessage("roleValidatioErr")); }//from w ww. j av a 2s . c o m } roles = addDefaultRoles(set); }