IBM WebSphere Multichannel Bank Transformation Toolkit Javadoc

com.ibm.btt.services.ws.jaxws
Class BTTJaxWsConnector

java.lang.Object
  extended by com.ibm.btt.base.DSENotifier
      extended by com.ibm.btt.base.Service
          extended by com.ibm.btt.services.ws.jaxws.JaxWsConnectorInfrastructure
              extended by com.ibm.btt.services.ws.jaxws.JaxWsClientMediator
                  extended by com.ibm.btt.services.ws.jaxws.BTTJaxWsConnector
All Implemented Interfaces:
Notifier, WSConnector, java.io.Externalizable, java.io.Serializable, java.lang.reflect.InvocationHandler

@ATTR(value={"useSoapAction#String#IMPLIED","soapActionUri#String#IMPLIED","MTOMEnabled#String#IMPLIED"})
public class BTTJaxWsConnector
extends JaxWsClientMediator

This class provides a service used to connect to a WebService and execute a WebService operation by way of JAX-WS. It will expose a proxy for the JAX-WS port, which is referenced to the remote bean.

See Also:
Serialized Form

Field Summary
 
Fields inherited from class com.ibm.btt.base.Service
externalizer, name
 
Fields inherited from class com.ibm.btt.base.DSENotifier
handlersList
 
Constructor Summary
BTTJaxWsConnector()
           
 
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.
protected  java.lang.String getMethodSignature(java.lang.String wsOperationName, java.lang.Class[] parameterClasses)
           
 java.lang.Object getProxy()
          Returns the dynamic proxy for the remote object.
 java.lang.Object initializeFrom(Tag aTag)
          Initializes an BTTJaxWSConnector object with the aTag attributes.
 void reset()
          Creates web service invocation object, after setting all the WebService properties.
 void setContext(Context aContext)
          Sets the value of the context property.
 
Methods inherited from class com.ibm.btt.services.ws.jaxws.JaxWsClientMediator
doInvoke, getJaxWsService, getPortQName, getPortStub, getServiceEndpointInterface, getSoapActionUri, invoke, isPrepared, isUseSoapAction, prepare, preparePortStub, setJaxWsService, setLookupServiceOnStartup, setServiceEndpointInterface, setSoapActionUri, setUseSoapAction
 
Methods inherited from class com.ibm.btt.services.ws.jaxws.JaxWsConnectorInfrastructure
createJaxWsService, getEndpointAddress, getHandlerResolver, getNamespaceUri, getPassword, getPortName, getQName, getServiceName, getUsername, getWsdlUrl, isMaintainSession, isMTOMEnabled, setEndpointAddress, setExecutor, setHandlerResolver, setMaintainSession, setMTOMEnabled, setNamespaceUri, setPassword, setPortName, setServiceName, setUsername, setWsdlUrl
 
Methods inherited from class com.ibm.btt.base.Service
externalizer, getExternalizer, getTagName, readExternal, readExternal, readObject, removeExternal, setExternalizer, terminate, toString, toStrings, toTags, writeExternal, writeExternal
 
Methods inherited from class com.ibm.btt.base.DSENotifier
addHandler, getHandlersList, getName, removeHandler, setName, signalEvent, signalEvent, signalEvent
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 
Methods inherited from interface com.ibm.btt.base.Externalizable
getName, setName
 

Constructor Detail

BTTJaxWsConnector

public BTTJaxWsConnector()
Method Detail

reset

public void reset()
           throws BTTWsFaultException
Description copied from class: JaxWsClientMediator
Creates web service invocation object, after setting all the WebService properties.

Specified by:
reset in interface WSConnector
Overrides:
reset in class JaxWsClientMediator
Throws:
BTTWsFaultException - when initiate Web services error occurs

getProxy

public java.lang.Object getProxy()
Description copied from interface: WSConnector
Returns the dynamic proxy for the remote object.

Returns:
java.lang.Object

initializeFrom

public java.lang.Object initializeFrom(Tag aTag)
                                throws java.io.IOException,
                                       DSEException
Initializes an BTTJaxWSConnector object with the aTag attributes.

Overrides:
initializeFrom in class Service
Parameters:
aTag - A Tag that contains the name and attributes of the object to be created
Returns:
Object - An instance of BTTJaxRpcConnector
Throws:
java.io.IOException
DSEException

execute

public java.lang.Object execute(java.lang.String wsOperationName,
                                java.lang.Class[] parameterClasses,
                                java.lang.Object[] parameters)
                         throws BTTWsBusinessException,
                                BTTWsFaultException
Description copied from interface: WSConnector
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

getMethodSignature

protected java.lang.String getMethodSignature(java.lang.String wsOperationName,
                                              java.lang.Class[] parameterClasses)

setContext

public void setContext(Context aContext)
Description copied from interface: WSConnector
Sets the value of the context property.

Specified by:
setContext in interface WSConnector
Specified by:
setContext in class JaxWsConnectorInfrastructure
Parameters:
aContext - com.ibm.btt.base.Context

getContext

public Context getContext()
Description copied from interface: WSConnector
Returns the value of the context property.

Specified by:
getContext in interface WSConnector
Specified by:
getContext in class JaxWsConnectorInfrastructure
Returns:
java.lang.String

IBM WebSphere Multichannel Bank Transformation Toolkit Javadoc

(c) Copyright IBM Corporation 1998, 2011