1 55 package org.jboss.axis.soap; 56 57 import org.jboss.axis.Constants; 58 59 import javax.xml.namespace.QName ; 60 61 67 public class SOAP11Constants implements SOAPConstants 68 { 69 private static QName headerQName = new QName (Constants.URI_SOAP11_ENV, 70 Constants.ELEM_HEADER); 71 private static QName bodyQName = new QName (Constants.URI_SOAP11_ENV, 72 Constants.ELEM_BODY); 73 private static QName faultQName = new QName (Constants.URI_SOAP11_ENV, 74 Constants.ELEM_FAULT); 75 private static QName roleQName = new QName (Constants.URI_SOAP11_ENV, 76 Constants.ATTR_ACTOR); 77 78 public String getEnvelopeURI() 79 { 80 return Constants.URI_SOAP11_ENV; 81 } 82 83 public String getEncodingURI() 84 { 85 return Constants.URI_SOAP11_ENC; 86 } 87 88 public QName getHeaderQName() 89 { 90 return headerQName; 91 } 92 93 public QName getBodyQName() 94 { 95 return bodyQName; 96 } 97 98 public QName getFaultQName() 99 { 100 return faultQName; 101 } 102 103 106 public QName getRoleAttributeQName() 107 { 108 return roleQName; 109 } 110 111 114 public String getContentType() 115 { 116 return "text/xml; charset=utf-8"; 117 } 118 119 122 public String getNextRoleURI() 123 { 124 return Constants.URI_SOAP11_NEXT_ACTOR; 125 } 126 127 130 public String getAttrHref() 131 { 132 return Constants.ATTR_HREF; 133 } 134 135 138 public String getAttrItemType() 139 { 140 return Constants.ATTR_ARRAY_TYPE; 141 } 142 143 146 public QName getVerMismatchFaultCodeQName() 147 { 148 return Constants.FAULT_VERSIONMISMATCH; 149 } 150 151 154 public QName getMustunderstandFaultQName() 155 { 156 return Constants.FAULT_MUSTUNDERSTAND; 157 } 158 159 160 } 161 | Popular Tags |