001 /*
002 * Licensed to the Apache Software Foundation (ASF) under one or more
003 * contributor license agreements. See the NOTICE file distributed with
004 * this work for additional information regarding copyright ownership.
005 * The ASF licenses this file to You under the Apache License, Version 2.0
006 * (the "License"); you may not use this file except in compliance with
007 * the License. You may obtain a copy of the License at
008 *
009 * http://www.apache.org/licenses/LICENSE-2.0
010 *
011 * Unless required by applicable law or agreed to in writing, software
012 * distributed under the License is distributed on an "AS IS" BASIS,
013 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
014 * See the License for the specific language governing permissions and
015 * limitations under the License.
016 */
017 package org.apache.servicemix.cxfbc.interceptors;
018
019 import java.net.URI;
020
021 import javax.xml.namespace.QName;
022
023 /**
024 * @author <a href="mailto:gnodet [at] gmail.com">Guillaume Nodet</a>
025 */
026 public final class JbiConstants {
027
028 public static final String SOAP_FAULT_CODE = "org.apache.servicemix.soap.fault.code";
029
030 public static final String SOAP_FAULT_SUBCODE = "org.apache.servicemix.soap.fault.subcode";
031
032 public static final String SOAP_FAULT_REASON = "org.apache.servicemix.soap.fault.reason";
033
034 public static final String SOAP_FAULT_NODE = "org.apache.servicemix.soap.fault.node";
035
036 public static final String SOAP_FAULT_ROLE = "org.apache.servicemix.soap.fault.role";
037
038 public static final URI IN_ONLY = URI
039 .create("http://www.w3.org/2004/08/wsdl/in-only");
040
041 public static final URI IN_OUT = URI
042 .create("http://www.w3.org/2004/08/wsdl/in-out");
043
044 public static final URI IN_OPTIONAL_OUT = URI
045 .create("http://www.w3.org/2004/08/wsdl/in-opt-out");
046
047 public static final URI ROBUST_IN_ONLY = URI
048 .create("http://www.w3.org/2004/08/wsdl/robust-in-only");
049
050 public static final String PROTOCOL_HEADERS = "javax.jbi.messaging.protocol.headers";
051
052 public static final String USE_JBI_WRAPPER = "useJbiWrapper";
053
054 public static final String WSDL11_WRAPPER_NAMESPACE = "http://java.sun.com/xml/ns/jbi/wsdl-11-wrapper";
055
056 public static final String WSDL11_WRAPPER_PREFIX = "jbi";
057
058 public static final String WSDL11_WRAPPER_MESSAGE_LOCALNAME = "message";
059
060 public static final String JBI_SUFFIX = "JBIADDRESS";
061
062 public static final QName WSDL11_WRAPPER_MESSAGE = new QName(
063 WSDL11_WRAPPER_NAMESPACE, WSDL11_WRAPPER_MESSAGE_LOCALNAME,
064 WSDL11_WRAPPER_PREFIX);
065
066 public static final String WSDL11_WRAPPER_MESSAGE_PREFIX = "msg";
067
068 public static final String WSDL11_WRAPPER_TYPE = "type";
069
070 public static final String WSDL11_WRAPPER_NAME = "name";
071
072 public static final String WSDL11_WRAPPER_VERSION = "version";
073
074 public static final String WSDL11_WRAPPER_PART_LOCALNAME = "part";
075
076 public static final String WSDL11_WRAPPER_XSD_PREFIX = "xsd";
077
078 public static final String WSDL11_WRAPPER_XSI_PREFIX = "xsi";
079
080 public static final QName WSDL11_WRAPPER_PART = new QName(
081 WSDL11_WRAPPER_NAMESPACE, WSDL11_WRAPPER_PART_LOCALNAME,
082 WSDL11_WRAPPER_PREFIX);
083 public static final String CONTENT_TYPE = "content.type";
084
085 public static final String TRANSPORT_PROTOCOL_HEADERS = "transport.protocol.header";
086
087 private JbiConstants() {
088 //Added to keep checkstyle 4.3 happy.
089 }
090
091 }