com.ibm.websphere.webservices

Class Constants

  1. java.lang.Object
  2. extended bycom.ibm.websphere.webservices.Constants

  1. public class Constants
  2. 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

Modifier and Type Field and Description
  1. static
  2. 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.
  1. static
  2. java.lang.String
EJB_PROTOCOL_NAMESPACE
Value of the protocol namespace for an EJB binding, configured on a Call or Stub
  1. static
  2. 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.
  1. static
  2. java.lang.String
HTTP_HEADER_COOKIE
Common HTTP transport headers which can be sent or received.
  1. static
  2. java.lang.String
HTTP_HEADER_COOKIE2
  1. static
  2. java.lang.String
HTTP_HEADER_SET_COOKIE
  1. static
  2. java.lang.String
HTTP_HEADER_SET_COOKIE2
  1. static
  2. 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.
  1. static
  2. java.lang.String
PROTOCOL_NAMESPACE
Name of the protocol namespace property configured on a Call or Stub
  1. static
  2. 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.
  1. static
  2. 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.
  1. static
  2. 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.
  1. static
  2. 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.
  1. static
  2. 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.
  1. static
  2. 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

Constructor and Description
Constants()

Method Summary

Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait

Field Detail

PROTOCOL_NAMESPACE

  1. public static final java.lang.String PROTOCOL_NAMESPACE
Name of the protocol namespace property configured on a Call or Stub
See Also:

EJB_PROTOCOL_NAMESPACE

  1. 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:

REQUEST_TRANSPORT_PROPERTIES

  1. 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:

RESPONSE_TRANSPORT_PROPERTIES

  1. 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:

  1. public static final java.lang.String HTTP_HEADER_COOKIE
Common HTTP transport headers which can be sent or received. For information on sending headers see REQUEST_TRANSPORT_PROPERTIES. For information on receiving headers see RESPONSE_TRANSPORT_PROPERTIES.
See Also:

HTTP_HEADER_COOKIE2

  1. public static final java.lang.String HTTP_HEADER_COOKIE2
See Also:

  1. public static final java.lang.String HTTP_HEADER_SET_COOKIE
See Also:

HTTP_HEADER_SET_COOKIE2

  1. public static final java.lang.String HTTP_HEADER_SET_COOKIE2
See Also:

REQUEST_SOAP_HEADERS

  1. 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:

RESPONSE_SOAP_HEADERS

  1. 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:

ENABLE_TRAN_ONEWAY

  1. 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:

JMS_JNDI_CACHE_EXPIRATION

  1. 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:

SERIALIZE_DATA_HANDLER_AXIS_STYLE

  1. 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:

DISABLE_SERIALIZE_ANON_TOKEN

  1. 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:

SOAPJMS_MESSAGETYPE

  1. 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:

Constructor Detail

Constants

  1. public Constants()