01: package de.schlund.pfixcore.webservice;
02:
03: public class Constants {
04:
05: public final static String SESSION_PREFIX = ";jsessionid=";
06:
07: public final static String PROP_COMMON_FILE = "servlet.commonpropfile";
08: public final static String PROP_SERVLET_FILE = "servlet.propfile";
09: public final static String PROP_CONTEXT_NAME = "servlet.contextname";
10:
11: final public static String OLD_CLASSLOADER_PROPERTY = "org.jboss.net.axis.OLD_CLASSLOADER_PROPERTY";
12: final public static String CONFIGURATION_CONTEXT = "org.jboss.net.axis.CONFIGURATION_CONTEXT";
13: final static String FLASH_ENABLED_CLIENT = "org.jboss.net.axis.FLASH_ENABLED_CLIENT";
14:
15: public final static String SESSION_TYPE_NONE = "none";
16: public final static String SESSION_TYPE_SERVLET = "servlet";
17: public final static String SESSION_TYPE_SOAPHEADER = "soapheader";
18: public final static String[] SESSION_TYPES = { SESSION_TYPE_NONE,
19: SESSION_TYPE_SERVLET, SESSION_TYPE_SOAPHEADER };
20:
21: public static final String SERVICE_SCOPE_APPLICATION = "application";
22: public static final String SERVICE_SCOPE_SESSION = "session";
23: public static final String SERVICE_SCOPE_REQUEST = "request";
24: public static final String[] SERVICE_SCOPES = {
25: SERVICE_SCOPE_APPLICATION, SERVICE_SCOPE_SESSION,
26: SERVICE_SCOPE_REQUEST };
27:
28: public final static String MONITOR_SCOPE_SESSION = "session";
29: public final static String MONITOR_SCOPE_IP = "ip";
30: public final static String[] MONITOR_SCOPES = {
31: MONITOR_SCOPE_SESSION, MONITOR_SCOPE_IP };
32:
33: public final static String PROTOCOL_TYPE_SOAP = "SOAP";
34: public final static String PROTOCOL_TYPE_JSONWS = "JSONWS";
35: public final static String PROTOCOL_TYPE_JSONQX = "JSONQX";
36: public final static String PROTOCOL_TYPE_ANY = "ANY";
37: public final static String[] PROTOCOL_TYPES = { PROTOCOL_TYPE_SOAP,
38: PROTOCOL_TYPE_JSONWS, PROTOCOL_TYPE_JSONQX,
39: PROTOCOL_TYPE_ANY };
40:
41: public final static String ENCODING_STYLE_RPC = "rpc";
42: public final static String ENCODING_STYLE_DOCUMENT = "document";
43: public final static String ENCODING_STYLE_WRAPPED = "wrapped";
44: public final static String[] ENCODING_STYLES = {
45: ENCODING_STYLE_RPC, ENCODING_STYLE_DOCUMENT,
46: ENCODING_STYLE_WRAPPED };
47: public final static String ENCODING_USE_ENCODED = "encoded";
48: public final static String ENCODING_USE_LITERAL = "literal";
49: public final static String[] ENCODING_USES = {
50: ENCODING_USE_ENCODED, ENCODING_USE_LITERAL };
51:
52: public final static String STUBGEN_JSNAMESPACE_COMPAT = "COMPAT";
53: public final static String STUBGEN_JSNAMESPACE_COMPATUNIQUE = "COMPAT_UNIQUE";
54: public final static String STUBGEN_JSNAMESPACE_JAVANAME = "JAVA_NAME";
55: public final static String[] STUBGEN_JSNAMESPACES = {
56: STUBGEN_JSNAMESPACE_COMPAT,
57: STUBGEN_JSNAMESPACE_COMPATUNIQUE,
58: STUBGEN_JSNAMESPACE_JAVANAME };
59:
60: public final static String STUBGEN_DEFAULT_JSNAMESPACE = "WS_";
61: public final static String STUBGEN_JSONWS_JSNAMESPACE = "JWS_";
62:
63: public static final String HEADER_SOAP_ACTION = "SOAPAction";
64: public static final String HEADER_REQUEST_ID = "Request-Id";
65: public static final String PARAM_SOAP_MESSAGE = "soapmessage";
66: public static final String PARAM_REQUEST_ID = "PFX_Request_ID";
67:
68: public static final String CONTENT_TYPE_URLENCODED = "application/x-www-form-urlencoded";
69:
70: public static final String XMLNS_XSD = "http://www.w3.org/2001/XMLSchema";
71: public static final String XMLNS_WSDL = "http://schemas.xmlsoap.org/wsdl/";
72: public static final String XMLNS_APACHESOAP = "http://xml.apache.org/xml-soap";
73:
74: public static final String SOAPBINDING_TRANSPORT_HTTP = "http://schemas.xmlsoap.org/soap/http";
75:
76: public final static String WS_CONF_NS = "http://pustefix.sourceforge.net/wsconfig200401";
77: public final static String CUS_NS = "http://www.schlund.de/pustefix/customize";
78:
79: public final static String HEADER_WSTYPE = "wstype";
80: public final static String PARAM_WSTYPE = "wstype";
81:
82: }
|