IBM WebSphere Multichannel Bank Transformation Toolkit Javadoc

com.ibm.btt.base.ws
Interface WSConnector

All Known Implementing Classes:
BTTJaxRpcConnector, BTTJaxWsConnector, JaxRpcClientMediator, JaxRpcConnectorInfrastructure, JaxWsClientMediator, JaxWsConnectorInfrastructure

@ATTR(value={"wsdlUrl#String#REQUIRED","namespaceUri#String#REQUIRED","serviceEndpointInterface#String#REQUIRED","serviceName#String#REQUIRED","portName#String#REQUIRED","username#String#IMPLIED","password#String#IMPLIED","endpointAddress#String#IMPLIED","lookupServiceOnStartup#String#IMPLIED"})
public interface WSConnector

This interface defines the structure of the service used to connect to a WebService and execute a WebService operation.


Method Summary
 java.lang.Object execute(java.lang.String wsOperationName, java.lang.Class[] parameterClasses, java.lang.Object[] parameters)
          Performs the actual execution of the WebService operation.
 Context getContext()
          Returns the value of the context property.
 java.lang.Object getProxy()
          Returns the dynamic proxy for the remote object.
 void reset()
          Creates web service invocation object, after setting all the WebService properties.
 void setContext(Context aContext)
          Sets the value of the context property.
 

Method Detail

reset

void reset()
           throws BTTWsFaultException
Creates web service invocation object, after setting all the WebService properties.

Throws:
BTTWsFaultException - when initiate Web services error occurs

execute

java.lang.Object execute(java.lang.String wsOperationName,
                         java.lang.Class[] parameterClasses,
                         java.lang.Object[] parameters)
                         throws BTTWsBusinessException,
                                BTTWsFaultException
Performs the actual execution of the WebService operation.

Parameters:
wsOperationName - Web services operation name
parameterClasses - collection for the parameter types The order of the array represent the WebService operation parameter order.
parameters - collection for the parameter values
Throws:
BTTWsBusinessException - when business logic Exception thrown by the service, e.g. getAccount(String accountNo) throws NoSuchAccountException
BTTWsFaultException - when web services related technical Exception thrown by the runtime, it can be divided into JaxWsSoapFaultException or JaxRpcSoapFaultException, ConnectWebServiceFailureException, WebServiceAccesException and RemoteProxyFailureException
See Also:
JaxWsSoapFaultException, JaxRpcSoapFaultException, ConnectWebServiceFailureException, WebServiceAccesException, RemoteProxyFailureException

getProxy

java.lang.Object getProxy()
Returns the dynamic proxy for the remote object.

Returns:
java.lang.Object

setContext

void setContext(Context aContext)
Sets the value of the context property.

Parameters:
aContext - com.ibm.btt.base.Context

getContext

Context getContext()
Returns the value of the context property.

Returns:
java.lang.String

IBM WebSphere Multichannel Bank Transformation Toolkit Javadoc

(c) Copyright IBM Corporation 1998, 2011