org.systinet.wasp.webservice
Interface ServiceEndpointContext

All Known Implementing Classes:
WSContext

public interface ServiceEndpointContext

ServiceEndpoinContext represents unique context for one service endpoint. It is automatically created during ServiceEndpoint creation and exists during whole service endpoint life. An additional data associated with this context is accessible using the method getContextData(). There are accessible also all values of the ServiceInstanceContext data map.

Since:
4.5
Component:
Core

Field Summary
static java.lang.String WSDL_BINDING_STYLE
          Deprecated. See CallContext.WSDL_BINDING_STYLE
static java.lang.String WSDL_ENCODING_URI
          Deprecated. See CallContext.WSDL_ENCODING_URI
 
Method Summary
 java.util.Map getContextData()
          Returns map of additional data associated with this context.
 ServiceEndpoint getServiceEndpoint()
          Shortcut function for getting the configuration of the current service endpoint.
 

Field Detail

WSDL_ENCODING_URI

public static final java.lang.String WSDL_ENCODING_URI
Deprecated. See CallContext.WSDL_ENCODING_URI

This is key to ServiceEndpointContext. If set to null literal use is assumed. If set to Constants.SOAP_ENC_NS SOAP 1.1 encoding is assumed and if set to Constants.SOAP12_ENC_NS SOAP 1.2 encoding is used.

See Also:
Constant Field Values

WSDL_BINDING_STYLE

public static final java.lang.String WSDL_BINDING_STYLE
Deprecated. See CallContext.WSDL_BINDING_STYLE

This is key to ServiceEndpointContext. If set to null document style is assumed. If set to Constants.WSDL_BINDING_STYLE_DOCUMENT WSDL document style is assumed and if set to Constants.WSDL_BINDING_STYLE_RPC, RPC style is used.

See Also:
Constant Field Values
Method Detail

getServiceEndpoint

public ServiceEndpoint getServiceEndpoint()
Shortcut function for getting the configuration of the current service endpoint.

Returns:
ServiceEndpoint

getContextData

public java.util.Map getContextData()
Returns map of additional data associated with this context. From the returned map are also accessible all values of the ServiceInstanceContext data map.

Returns:
Map of additional data