com.ibm.websphere.webservices
Class Constants
- java.lang.Object
-
- com.ibm.websphere.webservices.Constants
-
public class Constants extends java.lang.Object
This class contains constants that are exposed to the client developer via the API. Client developers can import this class to use the constants.
-
-
Field Summary
Fields Modifier and Type Field and Description static java.lang.String
DISABLE_SERIALIZE_ANON_TOKEN
This property is only applicable to the server side; it affects whether the anonymous complexType token > is serialized in the localPart of the QName used for the faultCode in a SOAP Fault--hence why it is not applicable to a client.static java.lang.String
EJB_PROTOCOL_NAMESPACE
Value of the protocol namespace for an EJB binding, configured on a Call or Stubstatic java.lang.String
ENABLE_TRAN_ONEWAY
This property can be set on a Stub or Call object (and can also be set as a custom property in the ibm-webservicesclient-bnd.xmi file) to indicate that the request and response messages associated with a one-way JMS-based web service request should be sent and received transactionally, using the client application's currently-active transaction.static java.lang.String
HTTP_HEADER_COOKIE
Common HTTP transport headers which can be sent or received.static java.lang.String
HTTP_HEADER_COOKIE2
static java.lang.String
HTTP_HEADER_SET_COOKIE
static java.lang.String
HTTP_HEADER_SET_COOKIE2
static java.lang.String
JMS_JNDI_CACHE_EXPIRATION
This is a system property that can be used to specify the expiration time (in seconds) of the JNDI cache maintained by the SOAP/JMS runtime component.static java.lang.String
PROTOCOL_NAMESPACE
Name of the protocol namespace property configured on a Call or Stubstatic java.lang.String
REQUEST_SOAP_HEADERS
This property can be set on a Stub or Call object to provide a HashMap of request SOAP headers to be included in the outbound request message.static java.lang.String
REQUEST_TRANSPORT_PROPERTIES
Property containing a HashMap of values to be sent in transport headers when a request is sent by a client.static java.lang.String
RESPONSE_SOAP_HEADERS
This property can be set on a Stub or Call object to provide a HashMap that contains the names (QName) of SOAP headers that should be retrieved from subsequent SOAP response messages and inserted into the HashMap.static java.lang.String
RESPONSE_TRANSPORT_PROPERTIES
Property containing a HashMap of values to be received in transport headers when a response is received by a client.static java.lang.String
SERIALIZE_DATA_HANDLER_AXIS_STYLE
CLIENT/SERVER: This property indicates that the request and response messages containing the {http://xml.apache.org/xml-soap}DataHandler xml type should serialize the DataHandler in the old v5.x Axis-style.static java.lang.String
SOAPJMS_MESSAGETYPE
This property is used to specify the JMS Message Type when using JMS as the transport for web service invocations.
-
Constructor Summary
Constructors Constructor and Description Constants()
-
-
-
Field Detail
-
PROTOCOL_NAMESPACE
public static final java.lang.String PROTOCOL_NAMESPACE
Name of the protocol namespace property configured on a Call or Stub- See Also:
- Constant Field Values
-
EJB_PROTOCOL_NAMESPACE
public static final java.lang.String EJB_PROTOCOL_NAMESPACE
Value of the protocol namespace for an EJB binding, configured on a Call or Stub- See Also:
- Constant Field Values
-
REQUEST_TRANSPORT_PROPERTIES
public static final java.lang.String REQUEST_TRANSPORT_PROPERTIES
Property containing a HashMap of values to be sent in transport headers when a request is sent by a client. This property can be set on the Stub.- See Also:
- Constant Field Values
-
RESPONSE_TRANSPORT_PROPERTIES
public static final java.lang.String RESPONSE_TRANSPORT_PROPERTIES
Property containing a HashMap of values to be received in transport headers when a response is received by a client. This property can be set on the Stub.- See Also:
- Constant Field Values
-
HTTP_HEADER_COOKIE
public static final java.lang.String HTTP_HEADER_COOKIE
Common HTTP transport headers which can be sent or received. For information on sending headers seeREQUEST_TRANSPORT_PROPERTIES
. For information on receiving headers seeRESPONSE_TRANSPORT_PROPERTIES
.- See Also:
- Constant Field Values
-
HTTP_HEADER_COOKIE2
public static final java.lang.String HTTP_HEADER_COOKIE2
- See Also:
- Constant Field Values
-
HTTP_HEADER_SET_COOKIE
public static final java.lang.String HTTP_HEADER_SET_COOKIE
- See Also:
- Constant Field Values
-
HTTP_HEADER_SET_COOKIE2
public static final java.lang.String HTTP_HEADER_SET_COOKIE2
- See Also:
- Constant Field Values
-
REQUEST_SOAP_HEADERS
public static final java.lang.String REQUEST_SOAP_HEADERS
This property can be set on a Stub or Call object to provide a HashMap of request SOAP headers to be included in the outbound request message.- See Also:
- Constant Field Values
-
RESPONSE_SOAP_HEADERS
public static final java.lang.String RESPONSE_SOAP_HEADERS
This property can be set on a Stub or Call object to provide a HashMap that contains the names (QName) of SOAP headers that should be retrieved from subsequent SOAP response messages and inserted into the HashMap.- See Also:
- Constant Field Values
-
ENABLE_TRAN_ONEWAY
public static final java.lang.String ENABLE_TRAN_ONEWAY
This property can be set on a Stub or Call object (and can also be set as a custom property in the ibm-webservicesclient-bnd.xmi file) to indicate that the request and response messages associated with a one-way JMS-based web service request should be sent and received transactionally, using the client application's currently-active transaction.- See Also:
- Constant Field Values
-
JMS_JNDI_CACHE_EXPIRATION
public static final java.lang.String JMS_JNDI_CACHE_EXPIRATION
This is a system property that can be used to specify the expiration time (in seconds) of the JNDI cache maintained by the SOAP/JMS runtime component. Objects that remain in the cache after this expiration time are invalidated and are obtained from the JNDI namespace again. This is done so that long-running clients that use the SOAP/JMS protocol will become aware of changes to the JNDI namespace. The default value for this property is 600 seconds (10 minutes).- See Also:
- Constant Field Values
-
SERIALIZE_DATA_HANDLER_AXIS_STYLE
public static final java.lang.String SERIALIZE_DATA_HANDLER_AXIS_STYLE
CLIENT/SERVER: This property indicates that the request and response messages containing the {http://xml.apache.org/xml-soap}DataHandler xml type should serialize the DataHandler in the old v5.x Axis-style. Valid values are true and false. The default is false.- See Also:
- Constant Field Values
-
DISABLE_SERIALIZE_ANON_TOKEN
public static final java.lang.String DISABLE_SERIALIZE_ANON_TOKEN
This property is only applicable to the server side; it affects whether the anonymous complexType token > is serialized in the localPart of the QName used for the faultCode in a SOAP Fault--hence why it is not applicable to a client. Valid values are true and false. The default is false.- See Also:
- Constant Field Values
-
SOAPJMS_MESSAGETYPE
public static final java.lang.String SOAPJMS_MESSAGETYPE
This property is used to specify the JMS Message Type when using JMS as the transport for web service invocations. The valid values are "TEXT" and "BYTES". The default value is "BYTES". This property can be set in the following ways:- It can be set programmatically on a Stub or Call object (JAX-RPC) or on a RequestContext object (JAX-WS).
- It can be set within the client binding file (JAX-RPC) or within a JMS policy object (JAX-WS).
- It can also be set as a global system property within a JVM process.
- See Also:
- Constant Field Values
-
-