org.idoox.webservice.client
Interface WebService


Deprecated. See Current

public interface WebService

This interface repesents a generic Web Service interface. This interface is used by the WebServiceHelper to provide its helper methods.

Since:
1.0
Component:
Core

Field Summary
static java.lang.String CALL_CONTEXT_LOOKUP_PROPERTIES
          Deprecated. Key of the lookupProperties' values in the CallContext.
static java.lang.String CALL_CONTEXT_WEB_SERVICE
          Deprecated. Key into callContext where the stub's WebService implementation is stored.
static java.lang.String STUB_CONTEXT_CREDENTIALS
          Deprecated. Key into stubContext where the security credentials to be used when communicating using this stub.
static java.lang.String STUB_CONTEXT_SECURITY_PROVIDER
          Deprecated. Key into stubContext where the current security provider is stored as String.
static java.lang.String STUB_CONTEXT_SERVICE_NAME
          Deprecated. Key into stubContext where the service name is stored as String.
static java.lang.String STUB_CONTEXT_SERVICE_NS
          Deprecated. Key into stubContext where the service namespace URI is stored as String.
static java.lang.String STUB_CONTEXT_SERVICE_OBJECT
          Deprecated. Key into stubContext where the wsdl service.
static java.lang.String STUB_CONTEXT_WSDL_URL
          Deprecated. Key into stubContext where the WSDL location URL is stored as String.
 
Method Summary
 CallContext getCallContext()
          Deprecated. Returns the call context associated with the service.
 CallContext getNewCallContext()
          Deprecated.  
 java.lang.Object getStub()
          Deprecated. Method narrow casts/narrows current web service instance to requested interface if it is able to find appropriate mapping.
 java.util.Map getStubContext()
          Deprecated. Returns stub context associated with the service stub instance.
 

Field Detail

CALL_CONTEXT_WEB_SERVICE

public static final java.lang.String CALL_CONTEXT_WEB_SERVICE
Deprecated. 
Key into callContext where the stub's WebService implementation is stored.

See Also:
Constant Field Values

STUB_CONTEXT_SERVICE_NAME

public static final java.lang.String STUB_CONTEXT_SERVICE_NAME
Deprecated. 
Key into stubContext where the service name is stored as String.

See Also:
Constant Field Values

STUB_CONTEXT_SERVICE_NS

public static final java.lang.String STUB_CONTEXT_SERVICE_NS
Deprecated. 
Key into stubContext where the service namespace URI is stored as String.

See Also:
Constant Field Values

STUB_CONTEXT_SERVICE_OBJECT

public static final java.lang.String STUB_CONTEXT_SERVICE_OBJECT
Deprecated. 
Key into stubContext where the wsdl service.

See Also:
Constant Field Values

STUB_CONTEXT_WSDL_URL

public static final java.lang.String STUB_CONTEXT_WSDL_URL
Deprecated. 
Key into stubContext where the WSDL location URL is stored as String.

See Also:
Constant Field Values

STUB_CONTEXT_CREDENTIALS

public static final java.lang.String STUB_CONTEXT_CREDENTIALS
Deprecated. 
Key into stubContext where the security credentials to be used when communicating using this stub.

See Also:
Constant Field Values

STUB_CONTEXT_SECURITY_PROVIDER

public static final java.lang.String STUB_CONTEXT_SECURITY_PROVIDER
Deprecated. 
Key into stubContext where the current security provider is stored as String.

See Also:
Constant Field Values

CALL_CONTEXT_LOOKUP_PROPERTIES

public static final java.lang.String CALL_CONTEXT_LOOKUP_PROPERTIES
Deprecated. 
Key of the lookupProperties' values in the CallContext. The properties are used for example, http-proxy configuration.

See Also:
Constant Field Values
Method Detail

getCallContext

public CallContext getCallContext()
Deprecated. 
Returns the call context associated with the service.

This context is reiSernitialized after each call using this stub instance so the client has to specify parameters for each call; of course only when parameters are needed for such call (for example to pass some information to the associated header processor).

Returns:
the associated call context

getNewCallContext

public CallContext getNewCallContext()
Deprecated. 

getStubContext

public java.util.Map getStubContext()
Deprecated. 
Returns stub context associated with the service stub instance.

This context exists as long as the stub instance itself and is not cleared by the runtime. It can be used to associate some information with the stub instance giving it a lifetime equal to that of this instance.

Returns:
the associated stub context

getStub

public java.lang.Object getStub()
Deprecated. 
Method narrow casts/narrows current web service instance to requested interface if it is able to find appropriate mapping.

Returns:
an Object value