01: /**
02: * Licensed to the Apache Software Foundation (ASF) under one
03: * or more contributor license agreements. See the NOTICE file
04: * distributed with this work for additional information
05: * regarding copyright ownership. The ASF licenses this file
06: * to you under the Apache License, Version 2.0 (the
07: * "License"); you may not use this file except in compliance
08: * with the License. You may obtain a copy of the License at
09: *
10: * http://www.apache.org/licenses/LICENSE-2.0
11: *
12: * Unless required by applicable law or agreed to in writing,
13: * software distributed under the License is distributed on an
14: * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
15: * KIND, either express or implied. See the License for the
16: * specific language governing permissions and limitations
17: * under the License.
18: */package org.apache.cxf.aegis.util;
19:
20: /**
21: * SOAP constants from the specs.
22: *
23: * @author <a href="mailto:dan@envoisolutions.com">Dan Diephouse</a>
24: * @since Feb 18, 2004
25: */
26: public class XmlConstants {
27: /** Document styles. */
28:
29: public static final String WSDL11_NS = "http://schemas.xmlsoap.org/wsdl/";
30:
31: public static final String WSDL11_SOAP_NS = "http://schemas.xmlsoap.org/wsdl/soap/";
32:
33: /**
34: * Constant used to specify a rpc binding style.
35: */
36: public static final String STYLE_RPC = "rpc";
37:
38: /**
39: * Constant used to specify a document binding style.
40: */
41: public static final String STYLE_DOCUMENT = "document";
42:
43: /**
44: * Constant used to specify a wrapped binding style.
45: */
46: public static final String STYLE_WRAPPED = "wrapped";
47:
48: /**
49: * Constant used to specify a message binding style.
50: */
51: public static final String STYLE_MESSAGE = "message";
52:
53: /**
54: * Constant used to specify a literal binding use.
55: */
56: public static final String USE_LITERAL = "literal";
57:
58: /**
59: * Constant used to specify a encoded binding use.
60: */
61: public static final String USE_ENCODED = "encoded";
62:
63: /**
64: * XML Schema Namespace.
65: */
66: public static final String XSD = "http://www.w3.org/2001/XMLSchema";
67: public static final String XSD_PREFIX = "xsd";
68:
69: public static final String XSI_NS = "http://www.w3.org/2001/XMLSchema-instance";
70: public static final String XSI_PREFIX = "xsi";
71:
72: public static final String MEP_ROBUST_IN_OUT = "urn:xfire:mep:in-out";
73: public static final String MEP_IN = "urn:xfire:mep:in";
74:
75: public static final String SOAP_ACTION = "SOAPAction";
76:
77: /**
78: * Whether or not MTOM should be enabled for each service.
79: */
80: public static final String MTOM_ENABLED = "mtom-enabled";
81:
82: }
|