1 55 56 package org.jboss.axis; 57 58 import org.jboss.axis.schema.SchemaVersion1999; 59 import org.jboss.axis.schema.SchemaVersion2000; 60 import org.jboss.axis.schema.SchemaVersion2001; 61 import org.jboss.axis.soap.SOAPConstants; 62 import org.xml.sax.Attributes ; 63 64 import javax.xml.namespace.QName ; 65 66 public class Constants 67 { 68 74 public static final String NS_PREFIX_SOAP_ENV = "soapenv"; 77 public static final String NS_PREFIX_SOAP_ENC = "soapenc"; 78 public static final String NS_PREFIX_SCHEMA_XSI = "xsi"; 79 public static final String NS_PREFIX_SCHEMA_XSD = "xsd"; 80 public static final String NS_PREFIX_WSDL = "wsdl"; 81 public static final String NS_PREFIX_WSDL_SOAP = "wsdlsoap"; 82 public static final String NS_PREFIX_XMLSOAP = "apachesoap"; 83 public static final String NS_PREFIX_XML = "xml"; 84 85 public static final String NS_URI_AXIS = "http://xml.apache.org/axis/"; 87 public static final String NS_URI_XMLSOAP = "http://xml.apache.org/xml-soap"; 88 89 public static final String NS_URI_JAVA = "http://xml.apache.org/axis/java"; 94 95 public static final SOAPConstants DEFAULT_SOAP_VERSION = 99 SOAPConstants.SOAP11_CONSTANTS; 100 101 public static final String URI_SOAP11_ENV = 105 "http://schemas.xmlsoap.org/soap/envelope/"; 106 public static final String URI_SOAP12_ENV = 107 "http://www.w3.org/2002/12/soap-envelope"; 108 public static final String URI_DEFAULT_SOAP_ENV = 109 DEFAULT_SOAP_VERSION.getEnvelopeURI(); 110 111 public static final String [] URIS_SOAP_ENV = { 112 URI_SOAP11_ENV, 113 URI_SOAP12_ENV, 114 }; 115 116 119 public static final String TIME_LOG_CATEGORY = "org.jboss.axis.TIME"; 120 121 124 public static final String EXCEPTION_LOG_CATEGORY = "org.jboss.axis.EXCEPTIONS"; 125 126 129 public static final String ANYCONTENT = "_any"; 130 131 134 public static boolean isSOAP_ENV(String s) 135 { 136 for (int i = 0; i < URIS_SOAP_ENV.length; i++) 137 { 138 if (URIS_SOAP_ENV[i].equals(s)) 139 { 140 return true; 141 } 142 } 143 return false; 144 } 145 146 147 public static final String URI_LITERAL_ENC = ""; 148 149 public static final String URI_SOAP11_ENC = 153 "http://schemas.xmlsoap.org/soap/encoding/"; 154 public static final String URI_SOAP12_ENC = 155 "http://www.w3.org/2002/12/soap-encoding"; 156 public static final String URI_SOAP12_NOENC = 157 "http://www.w3.org/2002/12/soap-envelope/encoding/none"; 158 public static final String URI_DEFAULT_SOAP_ENC = 159 DEFAULT_SOAP_VERSION.getEncodingURI(); 160 161 public static final String [] URIS_SOAP_ENC = { 162 URI_SOAP11_ENC, 163 URI_SOAP12_ENC, 164 }; 165 166 169 public static boolean isSOAP_ENC(String s) 170 { 171 for (int i = 0; i < URIS_SOAP_ENC.length; i++) 172 { 173 if (URIS_SOAP_ENC[i].equals(s)) 174 { 175 return true; 176 } 177 } 178 return false; 179 } 180 181 190 public static String getValue(Attributes attributes, 191 String [] search, 192 String localPart) 193 { 194 if (attributes == null || attributes.getLength() == 0 || search == null || localPart == null) 195 return null; 196 197 int len = attributes.getLength(); 198 199 for (int i = 0; i < len; i++) 200 { 201 if (attributes.getLocalName(i).equals(localPart)) 202 { 203 String uri = attributes.getURI(i); 204 for (int j = 0; j < search.length; j++) 205 { 206 if (search[j].equals(uri)) return attributes.getValue(i); 207 } 208 } 209 } 210 211 return null; 212 } 213 214 222 public static String getValue(Attributes attributes, 223 QName [] search) 224 { 225 if (attributes == null || search == null) 226 return null; 227 228 if (attributes.getLength() == 0) return null; 229 230 String value = null; 231 for (int i = 0; (value == null) && (i < search.length); i++) 232 { 233 value = attributes.getValue(search[i].getNamespaceURI(), 234 search[i].getLocalPart()); 235 } 236 237 return value; 238 } 239 240 249 public static boolean equals(QName first, QName second) 250 { 251 if (first == second) 252 { 253 return true; 254 } 255 if (first == null || second == null) 256 { 257 return false; 258 } 259 if (first.equals(second)) 260 { 261 return true; 262 } 263 if (!first.getLocalPart().equals(second.getLocalPart())) 264 { 265 return false; 266 } 267 268 String namespaceURI = first.getNamespaceURI(); 269 String [] search = null; 270 if (namespaceURI.equals(URI_DEFAULT_SOAP_ENC)) 271 search = URIS_SOAP_ENC; 272 else if (namespaceURI.equals(URI_DEFAULT_SOAP_ENV)) 273 search = URIS_SOAP_ENV; 274 else if (namespaceURI.equals(URI_DEFAULT_SCHEMA_XSD)) 275 search = URIS_SCHEMA_XSD; 276 else if (namespaceURI.equals(URI_DEFAULT_SCHEMA_XSI)) 277 search = URIS_SCHEMA_XSI; 278 else 279 search = new String []{namespaceURI}; 280 281 for (int i = 0; i < search.length; i++) 282 { 283 if (search[i].equals(second.getNamespaceURI())) 284 { 285 return true; 286 } 287 } 288 return false; 289 } 290 291 public static final String URI_SOAP11_NEXT_ACTOR = 293 "http://schemas.xmlsoap.org/soap/actor/next"; 294 public static final String URI_SOAP12_NEXT_ROLE = 295 "http://www.w3.org/2002/12/soap-envelope/role/next"; 296 299 public static final String URI_SOAP12_NEXT_ACTOR = URI_SOAP12_NEXT_ROLE; 300 301 public static final String URI_SOAP12_RPC = 302 "http://www.w3.org/2002/12/soap-rpc"; 303 304 public static final String URI_SOAP12_NONE_ROLE = 305 "http://www.w3.org/2002/12/soap-envelope/role/none"; 306 public static final String URI_SOAP12_ULTIMATE_ROLE = 307 "http://www.w3.org/2002/12/soap-envelope/role/ultimateReceiver"; 308 309 public static final String URI_SOAP11_HTTP = 310 "http://schemas.xmlsoap.org/soap/http"; 311 public static final String URI_SOAP12_HTTP = 312 "http://www.w3.org/2002/12/http"; 313 314 public static final String NS_URI_XMLNS = 315 "http://www.w3.org/2000/xmlns/"; 316 317 public static final String NS_URI_XML = 318 "http://www.w3.org/XML/1998/namespace"; 319 320 public static final String URI_1999_SCHEMA_XSD = 324 "http://www.w3.org/1999/XMLSchema"; 325 public static final String URI_2000_SCHEMA_XSD = 326 "http://www.w3.org/2000/10/XMLSchema"; 327 public static final String URI_2001_SCHEMA_XSD = 328 "http://www.w3.org/2001/XMLSchema"; 329 330 public static final String URI_DEFAULT_SCHEMA_XSD = URI_2001_SCHEMA_XSD; 331 332 public static final String [] URIS_SCHEMA_XSD = { 333 URI_2001_SCHEMA_XSD, 334 URI_2000_SCHEMA_XSD, 335 URI_1999_SCHEMA_XSD 336 }; 337 public static final QName [] QNAMES_NIL = { 338 SchemaVersion2001.QNAME_NIL, 339 SchemaVersion2000.QNAME_NIL, 340 SchemaVersion1999.QNAME_NIL 341 }; 342 343 346 public static boolean isSchemaXSD(String s) 347 { 348 for (int i = 0; i < URIS_SCHEMA_XSD.length; i++) 349 { 350 if (URIS_SCHEMA_XSD[i].equals(s)) 351 { 352 return true; 353 } 354 } 355 return false; 356 } 357 358 public static final String URI_1999_SCHEMA_XSI = 362 "http://www.w3.org/1999/XMLSchema-instance"; 363 public static final String URI_2000_SCHEMA_XSI = 364 "http://www.w3.org/2000/10/XMLSchema-instance"; 365 public static final String URI_2001_SCHEMA_XSI = 366 "http://www.w3.org/2001/XMLSchema-instance"; 367 public static final String URI_DEFAULT_SCHEMA_XSI = URI_2001_SCHEMA_XSI; 368 369 public static final String [] URIS_SCHEMA_XSI = { 370 URI_1999_SCHEMA_XSI, 371 URI_2000_SCHEMA_XSI, 372 URI_2001_SCHEMA_XSI, 373 }; 374 375 378 public static boolean isSchemaXSI(String s) 379 { 380 for (int i = 0; i < URIS_SCHEMA_XSI.length; i++) 381 { 382 if (URIS_SCHEMA_XSI[i].equals(s)) 383 { 384 return true; 385 } 386 } 387 return false; 388 } 389 390 393 public static final String NS_URI_WSDL11 = 394 "http://schemas.xmlsoap.org/wsdl/"; 395 396 public static final String [] NS_URIS_WSDL = { 397 NS_URI_WSDL11, 398 }; 399 400 403 public static boolean isWSDL(String s) 404 { 405 for (int i = 0; i < NS_URIS_WSDL.length; i++) 406 { 407 if (NS_URIS_WSDL[i].equals(s)) 408 { 409 return true; 410 } 411 } 412 return false; 413 } 414 415 public static final String URI_DIME_WSDL = 420 "http://schemas.xmlsoap.org/ws/2002/04/dime/wsdl/"; 421 422 public static final String URI_DIME_CONTENT = 423 "http://schemas.xmlsoap.org/ws/2002/04/content-type/"; 424 425 public static final String URI_DIME_REFERENCE = 426 "http://schemas.xmlsoap.org/ws/2002/04/reference/"; 427 428 public static final String URI_DIME_CLOSED_LAYOUT = 429 "http://schemas.xmlsoap.org/ws/2002/04/dime/closed-layout"; 430 431 public static final String URI_DIME_OPEN_LAYOUT = 432 "http://schemas.xmlsoap.org/ws/2002/04/dime/open-layout"; 433 434 public static final String URI_WSDL11_SOAP = 438 "http://schemas.xmlsoap.org/wsdl/soap/"; 439 public static final String URI_WSDL12_SOAP = 440 "http://schemas.xmlsoap.org/wsdl/soap12/"; 441 442 public static final String [] NS_URIS_WSDL_SOAP = { 443 URI_WSDL11_SOAP, 444 URI_WSDL12_SOAP 445 }; 446 447 450 public static boolean isWSDLSOAP(String s) 451 { 452 for (int i = 0; i < NS_URIS_WSDL_SOAP.length; i++) 453 { 454 if (NS_URIS_WSDL_SOAP[i].equals(s)) 455 { 456 return true; 457 } 458 } 459 return false; 460 } 461 462 public static final String AXIS_SAX = "Axis SAX Mechanism"; 464 465 public static final String ELEM_ENVELOPE = "Envelope"; 466 public static final String ELEM_HEADER = "Header"; 467 public static final String ELEM_BODY = "Body"; 468 public static final String ELEM_FAULT = "Fault"; 469 470 public static final String ELEM_NOTUNDERSTOOD = "NotUnderstood"; 471 public static final String ELEM_UPGRADE = "Upgrade"; 472 public static final String ELEM_SUPPORTEDENVELOPE = "SupportedEnvelope"; 473 474 public static final String ELEM_FAULT_CODE = "faultcode"; 475 public static final String ELEM_FAULT_STRING = "faultstring"; 476 public static final String ELEM_FAULT_DETAIL = "detail"; 477 public static final String ELEM_FAULT_ACTOR = "faultactor"; 478 479 public static final String ELEM_FAULT_CODE_SOAP12 = "Code"; 480 public static final String ELEM_FAULT_VALUE_SOAP12 = "Value"; 481 public static final String ELEM_FAULT_SUBCODE_SOAP12 = "Subcode"; 482 public static final String ELEM_FAULT_REASON_SOAP12 = "Reason"; 483 public static final String ELEM_FAULT_NODE_SOAP12 = "Node"; 484 public static final String ELEM_FAULT_ROLE_SOAP12 = "Role"; 485 public static final String ELEM_FAULT_DETAIL_SOAP12 = "Detail"; 486 public static final String ELEM_TEXT_SOAP12 = "Text"; 487 488 public static final String ATTR_MUST_UNDERSTAND = "mustUnderstand"; 489 public static final String ATTR_ENCODING_STYLE = "encodingStyle"; 490 public static final String ATTR_ACTOR = "actor"; 491 public static final String ATTR_ROLE = "role"; 492 public static final String ATTR_RELAY = "relay"; 493 public static final String ATTR_ROOT = "root"; 494 public static final String ATTR_ID = "id"; 495 public static final String ATTR_HREF = "href"; 496 public static final String ATTR_REF = "ref"; 497 public static final String ATTR_QNAME = "qname"; 498 public static final String ATTR_ARRAY_TYPE = "arrayType"; 499 public static final String ATTR_ITEM_TYPE = "itemType"; 500 public static final String ATTR_ARRAY_SIZE = "arraySize"; 501 public static final String ATTR_OFFSET = "offset"; 502 public static final String ATTR_POSITION = "position"; 503 public static final String ATTR_TYPE = "type"; 504 public static final String ATTR_HANDLERINFOCHAIN = "handlerInfoChain"; 505 506 public static final String FAULT_SERVER_GENERAL = 509 "Server.generalException"; 510 511 public static final String FAULT_SERVER_USER = 514 "Client"; 515 516 public static final QName FAULT_CLIENT = 517 new QName (URI_SOAP11_ENV, "Client"); 518 519 public static final QName FAULT_VERSIONMISMATCH = 520 new QName (URI_SOAP11_ENV, "VersionMismatch"); 521 522 public static final QName FAULT_MUSTUNDERSTAND = 523 new QName (URI_SOAP11_ENV, "MustUnderstand"); 524 525 526 public static final QName FAULT_SOAP12_MUSTUNDERSTAND = 527 new QName (URI_SOAP12_ENV, "MustUnderstand"); 528 529 public static final QName FAULT_SOAP12_VERSIONMISMATCH = 530 new QName (URI_SOAP12_ENV, "VersionMismatch"); 531 532 public static final QName FAULT_SOAP12_DATAENCODINGUNKNOWN = 533 new QName (URI_SOAP12_ENV, "DataEncodingUnknown"); 534 535 public static final QName FAULT_SOAP12_SENDER = 536 new QName (URI_SOAP12_ENV, "Sender"); 537 538 public static final QName FAULT_SOAP12_RECEIVER = 539 new QName (URI_SOAP12_ENV, "Receiver"); 540 541 public static final QName FAULT_SUBCODE_BADARGS = 543 new QName (URI_SOAP12_RPC, "BadArguments"); 544 public static final QName FAULT_SUBCODE_PROC_NOT_PRESENT = 545 new QName (URI_SOAP12_RPC, "ProcedureNotPresent"); 546 547 public static final QName QNAME_FAULTCODE = 550 new QName ("", ELEM_FAULT_CODE); 551 public static final QName QNAME_FAULTSTRING = 552 new QName ("", ELEM_FAULT_STRING); 553 public static final QName QNAME_FAULTACTOR = 554 new QName ("", ELEM_FAULT_ACTOR); 555 public static final QName QNAME_FAULTDETAILS = 556 new QName ("", ELEM_FAULT_DETAIL); 557 558 public static final QName QNAME_FAULTCODE_SOAP12 = 559 new QName (URI_SOAP12_ENV, ELEM_FAULT_CODE_SOAP12); 560 public static final QName QNAME_FAULTVALUE_SOAP12 = 561 new QName (URI_SOAP12_ENV, ELEM_FAULT_VALUE_SOAP12); 562 public static final QName QNAME_FAULTSUBCODE_SOAP12 = 563 new QName (URI_SOAP12_ENV, ELEM_FAULT_SUBCODE_SOAP12); 564 public static final QName QNAME_FAULTREASON_SOAP12 = 565 new QName (URI_SOAP12_ENV, ELEM_FAULT_REASON_SOAP12); 566 public static final QName QNAME_TEXT_SOAP12 = 567 new QName (URI_SOAP12_ENV, ELEM_TEXT_SOAP12); 568 569 public static final QName QNAME_FAULTNODE_SOAP12 = 570 new QName (URI_SOAP12_ENV, ELEM_FAULT_NODE_SOAP12); 571 public static final QName QNAME_FAULTROLE_SOAP12 = 572 new QName (URI_SOAP12_ENV, ELEM_FAULT_ROLE_SOAP12); 573 public static final QName QNAME_FAULTDETAIL_SOAP12 = 574 new QName (URI_SOAP12_ENV, ELEM_FAULT_DETAIL_SOAP12); 575 public static final QName QNAME_NOTUNDERSTOOD = 576 new QName (URI_SOAP12_ENV, ELEM_NOTUNDERSTOOD); 577 578 public static final QName XSD_STRING = new QName (URI_DEFAULT_SCHEMA_XSD, "string"); 580 public static final QName XSD_BOOLEAN = new QName (URI_DEFAULT_SCHEMA_XSD, "boolean"); 581 public static final QName XSD_DOUBLE = new QName (URI_DEFAULT_SCHEMA_XSD, "double"); 582 public static final QName XSD_FLOAT = new QName (URI_DEFAULT_SCHEMA_XSD, "float"); 583 public static final QName XSD_INT = new QName (URI_DEFAULT_SCHEMA_XSD, "int"); 584 public static final QName XSD_INTEGER = new QName (URI_DEFAULT_SCHEMA_XSD, "integer"); 585 public static final QName XSD_LONG = new QName (URI_DEFAULT_SCHEMA_XSD, "long"); 586 public static final QName XSD_SHORT = new QName (URI_DEFAULT_SCHEMA_XSD, "short"); 587 public static final QName XSD_BYTE = new QName (URI_DEFAULT_SCHEMA_XSD, "byte"); 588 public static final QName XSD_DECIMAL = new QName (URI_DEFAULT_SCHEMA_XSD, "decimal"); 589 public static final QName XSD_BASE64 = new QName (URI_DEFAULT_SCHEMA_XSD, "base64Binary"); 590 public static final QName XSD_HEXBIN = new QName (URI_DEFAULT_SCHEMA_XSD, "hexBinary"); 591 public static final QName XSD_ANYSIMPLETYPE = new QName (URI_DEFAULT_SCHEMA_XSD, "anySimpleType"); 592 public static final QName XSD_ANYTYPE = new QName (URI_DEFAULT_SCHEMA_XSD, "anyType"); 593 public static final QName XSD_ANY = new QName (URI_DEFAULT_SCHEMA_XSD, "any"); 594 public static final QName XSD_QNAME = new QName (URI_DEFAULT_SCHEMA_XSD, "QName"); 595 public static final QName XSD_DATETIME = new QName (URI_DEFAULT_SCHEMA_XSD, "dateTime"); 596 public static final QName XSD_DATE = new QName (URI_DEFAULT_SCHEMA_XSD, "date"); 597 public static final QName XSD_TIME = new QName (URI_DEFAULT_SCHEMA_XSD, "time"); 598 public static final QName XSD_TIMEINSTANT1999 = new QName (URI_1999_SCHEMA_XSD, "timeInstant"); 599 public static final QName XSD_TIMEINSTANT2000 = new QName (URI_2000_SCHEMA_XSD, "timeInstant"); 600 601 public static final QName XSD_NORMALIZEDSTRING = new QName (URI_2001_SCHEMA_XSD, "normalizedString"); 602 public static final QName XSD_TOKEN = new QName (URI_2001_SCHEMA_XSD, "token"); 603 604 public static final QName XSD_UNSIGNEDLONG = new QName (URI_2001_SCHEMA_XSD, "unsignedLong"); 605 public static final QName XSD_UNSIGNEDINT = new QName (URI_2001_SCHEMA_XSD, "unsignedInt"); 606 public static final QName XSD_UNSIGNEDSHORT = new QName (URI_2001_SCHEMA_XSD, "unsignedShort"); 607 public static final QName XSD_UNSIGNEDBYTE = new QName (URI_2001_SCHEMA_XSD, "unsignedByte"); 608 public static final QName XSD_POSITIVEINTEGER = new QName (URI_2001_SCHEMA_XSD, "positiveInteger"); 609 public static final QName XSD_NEGATIVEINTEGER = new QName (URI_2001_SCHEMA_XSD, "negativeInteger"); 610 public static final QName XSD_NONNEGATIVEINTEGER = new QName (URI_2001_SCHEMA_XSD, "nonNegativeInteger"); 611 public static final QName XSD_NONPOSITIVEINTEGER = new QName (URI_2001_SCHEMA_XSD, "nonPositiveInteger"); 612 613 public static final QName XSD_YEARMONTH = new QName (URI_2001_SCHEMA_XSD, "gYearMonth"); 614 public static final QName XSD_MONTHDAY = new QName (URI_2001_SCHEMA_XSD, "gMonthDay"); 615 public static final QName XSD_YEAR = new QName (URI_2001_SCHEMA_XSD, "gYear"); 616 public static final QName XSD_MONTH = new QName (URI_2001_SCHEMA_XSD, "gMonth"); 617 public static final QName XSD_DAY = new QName (URI_2001_SCHEMA_XSD, "gDay"); 618 public static final QName XSD_DURATION = new QName (URI_2001_SCHEMA_XSD, "duration"); 619 620 public static final QName XSD_NAME = new QName (URI_2001_SCHEMA_XSD, "Name"); 621 public static final QName XSD_NCNAME = new QName (URI_2001_SCHEMA_XSD, "NCName"); 622 public static final QName XSD_NMTOKEN = new QName (URI_2001_SCHEMA_XSD, "NMTOKEN"); 623 public static final QName XSD_NMTOKENS = new QName (URI_2001_SCHEMA_XSD, "NMTOKENS"); 624 public static final QName XSD_NOTATION = new QName (URI_2001_SCHEMA_XSD, "NOTATION"); 625 public static final QName XSD_ENTITY = new QName (URI_2001_SCHEMA_XSD, "ENTITY"); 626 public static final QName XSD_ENTITIES = new QName (URI_2001_SCHEMA_XSD, "ENTITIES"); 627 public static final QName XSD_IDREF = new QName (URI_2001_SCHEMA_XSD, "IDREF"); 628 public static final QName XSD_IDREFS = new QName (URI_2001_SCHEMA_XSD, "IDREFS"); 629 public static final QName XSD_ANYURI = new QName (URI_2001_SCHEMA_XSD, "anyURI"); 630 public static final QName XSD_LANGUAGE = new QName (URI_2001_SCHEMA_XSD, "language"); 631 public static final QName XSD_ID = new QName (URI_2001_SCHEMA_XSD, "ID"); 632 public static final QName XSD_SCHEMA = new QName (URI_2001_SCHEMA_XSD, "schema"); 633 634 public static final QName XML_LANG = new QName (NS_URI_XML, "lang"); 635 636 public static final QName SOAP_BASE64 = new QName (URI_DEFAULT_SOAP_ENC, "base64"); 637 public static final QName SOAP_BASE64BINARY = new QName (URI_DEFAULT_SOAP_ENC, "base64Binary"); 638 public static final QName SOAP_STRING = new QName (URI_DEFAULT_SOAP_ENC, "string"); 639 public static final QName SOAP_BOOLEAN = new QName (URI_DEFAULT_SOAP_ENC, "boolean"); 640 public static final QName SOAP_DOUBLE = new QName (URI_DEFAULT_SOAP_ENC, "double"); 641 public static final QName SOAP_FLOAT = new QName (URI_DEFAULT_SOAP_ENC, "float"); 642 public static final QName SOAP_INT = new QName (URI_DEFAULT_SOAP_ENC, "int"); 643 public static final QName SOAP_LONG = new QName (URI_DEFAULT_SOAP_ENC, "long"); 644 public static final QName SOAP_SHORT = new QName (URI_DEFAULT_SOAP_ENC, "short"); 645 public static final QName SOAP_BYTE = new QName (URI_DEFAULT_SOAP_ENC, "byte"); 646 public static final QName SOAP_INTEGER = new QName (URI_DEFAULT_SOAP_ENC, "integer"); 647 public static final QName SOAP_DECIMAL = new QName (URI_DEFAULT_SOAP_ENC, "decimal"); 648 public static final QName SOAP_ARRAY = new QName (URI_DEFAULT_SOAP_ENC, "Array"); 649 public static final QName SOAP_ARRAY12 = new QName (URI_SOAP12_ENC, "Array"); 650 651 public static final QName SOAP_MAP = new QName (NS_URI_XMLSOAP, "Map"); 652 public static final QName SOAP_ELEMENT = new QName (NS_URI_XMLSOAP, "Element"); 653 public static final QName SOAP_DOCUMENT = new QName (NS_URI_XMLSOAP, "Document"); 654 public static final QName SOAP_VECTOR = new QName (NS_URI_XMLSOAP, "Vector"); 655 public static final QName MIME_IMAGE = new QName (NS_URI_XMLSOAP, "Image"); 656 public static final QName MIME_PLAINTEXT = new QName (NS_URI_XMLSOAP, "PlainText"); 657 public static final QName MIME_MULTIPART = new QName (NS_URI_XMLSOAP, "Multipart"); 658 public static final QName MIME_SOURCE = new QName (NS_URI_XMLSOAP, "Source"); 659 public static final QName MIME_OCTETSTREAM = new QName (NS_URI_XMLSOAP, "octetstream"); 660 public static final QName MIME_DATA_HANDLER = new QName (NS_URI_XMLSOAP, "DataHandler"); 661 662 663 public static final QName QNAME_LITERAL_ITEM = new QName (URI_LITERAL_ENC, "item"); 664 public static final QName QNAME_RPC_RESULT = new QName (URI_SOAP12_RPC, "result"); 665 666 669 public static final QName QNAME_FAULTDETAIL_STACKTRACE = new QName (NS_URI_AXIS, "stackTrace"); 670 671 674 public static final QName QNAME_FAULTDETAIL_RUNTIMEEXCEPTION = new QName (NS_URI_AXIS, "isRuntimeException"); 675 676 680 public static final QName QNAME_NO_SERVICE_FAULT_CODE 681 = new QName (NS_URI_AXIS, "Server.NoService"); 682 683 686 public static final String MC_JWS_CLASSDIR = "jws.classDir"; 688 public static final String MC_HOME_DIR = "home.dir"; 690 691 public static final String MC_RELATIVE_PATH = "path"; 693 694 public static final String MC_REALPATH = "realpath"; 696 public static final String MC_CONFIGPATH = "configPath"; 698 public static final String MC_REMOTE_ADDR = "remoteaddr"; 700 public static final String MC_SERVLET_ENDPOINT_CONTEXT = "servletEndpointContext"; 703 704 public static final String MC_NO_OPERATION_OK = "NoOperationOK"; 709 710 public static final String MC_SINGLE_SOAP_VERSION = "SingleSOAPVersion"; 714 715 720 public static final String JWS_DEFAULT_FILE_EXTENSION = ".jws"; 721 } 722 | Popular Tags |