01: /*
02: * Licensed to the Apache Software Foundation (ASF) under one or more
03: * contributor license agreements. See the NOTICE file distributed with
04: * this work for additional information regarding copyright ownership.
05: * The ASF licenses this file to You under the Apache License, Version 2.0
06: * (the "License"); you may not use this file except in compliance with
07: * the License. You may obtain a copy of the License at
08: *
09: * http://www.apache.org/licenses/LICENSE-2.0
10: *
11: * Unless required by applicable law or agreed to in writing, software
12: * distributed under the License is distributed on an "AS IS" BASIS,
13: * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
14: * See the License for the specific language governing permissions and
15: * limitations under the License.
16: */
17: package org.apache.servicemix.cxfbc.interceptors;
18:
19: import java.net.URI;
20:
21: import javax.xml.namespace.QName;
22:
23: /**
24: * @author <a href="mailto:gnodet [at] gmail.com">Guillaume Nodet</a>
25: */
26: public final class JbiConstants {
27:
28: public static final String SOAP_FAULT_CODE = "org.apache.servicemix.soap.fault.code";
29:
30: public static final String SOAP_FAULT_SUBCODE = "org.apache.servicemix.soap.fault.subcode";
31:
32: public static final String SOAP_FAULT_REASON = "org.apache.servicemix.soap.fault.reason";
33:
34: public static final String SOAP_FAULT_NODE = "org.apache.servicemix.soap.fault.node";
35:
36: public static final String SOAP_FAULT_ROLE = "org.apache.servicemix.soap.fault.role";
37:
38: public static final URI IN_ONLY = URI
39: .create("http://www.w3.org/2004/08/wsdl/in-only");
40:
41: public static final URI IN_OUT = URI
42: .create("http://www.w3.org/2004/08/wsdl/in-out");
43:
44: public static final URI IN_OPTIONAL_OUT = URI
45: .create("http://www.w3.org/2004/08/wsdl/in-opt-out");
46:
47: public static final URI ROBUST_IN_ONLY = URI
48: .create("http://www.w3.org/2004/08/wsdl/robust-in-only");
49:
50: public static final String PROTOCOL_HEADERS = "javax.jbi.messaging.protocol.headers";
51:
52: public static final String USE_JBI_WRAPPER = "useJbiWrapper";
53:
54: public static final String WSDL11_WRAPPER_NAMESPACE = "http://java.sun.com/xml/ns/jbi/wsdl-11-wrapper";
55:
56: public static final String WSDL11_WRAPPER_PREFIX = "jbi";
57:
58: public static final String WSDL11_WRAPPER_MESSAGE_LOCALNAME = "message";
59:
60: public static final String JBI_SUFFIX = "JBIADDRESS";
61:
62: public static final QName WSDL11_WRAPPER_MESSAGE = new QName(
63: WSDL11_WRAPPER_NAMESPACE, WSDL11_WRAPPER_MESSAGE_LOCALNAME,
64: WSDL11_WRAPPER_PREFIX);
65:
66: public static final String WSDL11_WRAPPER_MESSAGE_PREFIX = "msg";
67:
68: public static final String WSDL11_WRAPPER_TYPE = "type";
69:
70: public static final String WSDL11_WRAPPER_NAME = "name";
71:
72: public static final String WSDL11_WRAPPER_VERSION = "version";
73:
74: public static final String WSDL11_WRAPPER_PART_LOCALNAME = "part";
75:
76: public static final QName WSDL11_WRAPPER_PART = new QName(
77: WSDL11_WRAPPER_NAMESPACE, WSDL11_WRAPPER_PART_LOCALNAME,
78: WSDL11_WRAPPER_PREFIX);
79:
80: }
|