|
IBM Branch Transformation Toolkit Javadoc | ||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.ibm.btt.base.Service
com.ibm.btt.services.BTTServiceRequester
com.ibm.btt.services.ServiceInvocation
com.ibm.btt.services.WSIFInvocation
WSIFInvocation is a kind of the service invocation via WSIF interface. The type of binding is depended on the wsdl definition.
Field Summary | |
---|---|
protected static int |
INPUT_ONLY
Internal variables |
(package private) static java.lang.String |
PORTTYPE_NAME_KEY
|
(package private) static java.lang.String |
PORTTYPE_NAMESPACE_KEY
|
protected static int |
REQUEST_RESPONSE
|
(package private) static java.lang.String |
SERIVCE_NAME_KEY
|
(package private) static java.lang.String |
SERVICE_NAMESPACE_KEY
|
(package private) static java.lang.String |
WSDL_FILE_LOC_KEY
Keys that used in resource bundle |
Fields inherited from class com.ibm.btt.services.BTTServiceRequester |
---|
COMPID |
Fields inherited from class com.ibm.btt.base.Service |
---|
externalizer, name |
Constructor Summary | |
---|---|
WSIFInvocation()
|
Method Summary | |
---|---|
protected org.apache.wsif.WSIFMessage |
execute(java.lang.String operationName,
java.lang.String inputName,
java.lang.String outputName,
org.apache.wsif.WSIFMessage aMessage,
int operationType)
Exceute a WSIF operation |
java.lang.String |
getInvokeType()
Method getInvokeType to get the invocation type. |
java.lang.String |
getLocOfTheWSDLFile()
Get the location of WSDL file |
java.lang.String |
getPortTypeName()
Get the Port Type Name |
java.lang.String |
getPortTypeNameSpace()
Get the port type of the name space |
org.apache.wsif.WSIFService |
getService()
Returns the WSIFService |
java.lang.String |
getServiceName()
Get the service's name |
java.lang.String |
getServiceNameSpace()
Get the service's name space |
void |
initialize(java.lang.String dseInit)
Method initialize is to send the request with the file path of dse.ini to the service holder. |
void |
initializeFrom(java.util.ResourceBundle config)
Work as initializeFrom(Tag). |
java.lang.Object |
initializeFrom(Tag aTag)
Initializes the Service reading its attributes values from aTag. |
java.util.List |
processRequest(java.lang.String argServiceID,
java.lang.String argOpName,
java.util.Hashtable argParts)
Method processRequest call to the WSIF interface to perform the process request. |
void |
setLocOfTheWSDLFile(java.lang.String location_WSDL)
Set the location of WSDL file |
void |
setPortTypeName(java.lang.String aPortTypeName)
Set the Port Type Name |
void |
setPortTypeNameSpace(java.lang.String aPortTypeNameSpace)
Set the port type of the name space |
void |
setService(org.apache.wsif.WSIFService newService)
Set the WSIFService |
void |
setServiceName(java.lang.String aServiceName)
Set the service's name |
void |
setServiceNameSpace(java.lang.String svcNameSpace)
Set the service's name space |
Methods inherited from class com.ibm.btt.services.BTTServiceRequester |
---|
getCachingEnabled, getInactiveTimeout, getLastAccess, getServiceID, getServiceInvocation, getServiceType, grantServiceID, HashMapToHashtable, newInstance, processRequest, releaseServiceRequester, setCachingEnabled, setInactiveTimeout, setLastAccess, setServiceID, setServiceInvocation, setServiceType |
Methods inherited from class com.ibm.btt.base.Service |
---|
externalizer, getExternalizer, getName, getTagName, readExternal, readExternal, readObject, removeExternal, setExternalizer, setName, terminate, toString, toStrings, toTags, writeExternal, writeExternal |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Field Detail |
static final java.lang.String WSDL_FILE_LOC_KEY
static final java.lang.String SERVICE_NAMESPACE_KEY
static final java.lang.String SERIVCE_NAME_KEY
static final java.lang.String PORTTYPE_NAMESPACE_KEY
static final java.lang.String PORTTYPE_NAME_KEY
protected static final int INPUT_ONLY
protected static final int REQUEST_RESPONSE
Constructor Detail |
public WSIFInvocation()
Method Detail |
public java.lang.Object initializeFrom(Tag aTag) throws java.io.IOException, DSEException
Service
initializeFrom
in interface Externalizable
initializeFrom
in class ServiceInvocation
java.io.IOException
DSEException
It is inherited from the supper class and get the related information for
the WSIF invocation.
public void initializeFrom(java.util.ResourceBundle config) throws java.lang.Exception
initializeFrom
in class ServiceInvocation
java.lang.Exception
public void initialize(java.lang.String dseInit) throws org.apache.wsif.WSIFException, java.lang.Exception
dseInit
- File path of dse.ini
BTTInitializeServiceHolderException
BTTCreateServiceException
RemoteException
org.apache.wsif.WSIFException
java.lang.Exception
public java.util.List processRequest(java.lang.String argServiceID, java.lang.String argOpName, java.util.Hashtable argParts) throws java.lang.Exception
argServiceID
- Service ID which is matched to the service object's definitionargOpName
- Operation nameargParts
- Operation parameters
java.lang.Exception
RemoteException
protected org.apache.wsif.WSIFMessage execute(java.lang.String operationName, java.lang.String inputName, java.lang.String outputName, org.apache.wsif.WSIFMessage aMessage, int operationType) throws org.apache.wsif.WSIFException, java.lang.Exception
org.apache.wsif.WSIFException
java.lang.Exception
public org.apache.wsif.WSIFService getService()
public void setService(org.apache.wsif.WSIFService newService)
newService
- public java.lang.String getPortTypeName()
public void setPortTypeName(java.lang.String aPortTypeName)
aPortTypeName
- public java.lang.String getPortTypeNameSpace()
public void setPortTypeNameSpace(java.lang.String aPortTypeNameSpace)
aPortTypeNameSpace
- public java.lang.String getServiceName()
public void setServiceName(java.lang.String aServiceName)
aServiceName
- public java.lang.String getServiceNameSpace()
public void setServiceNameSpace(java.lang.String svcNameSpace)
svcNameSpace
- public java.lang.String getLocOfTheWSDLFile()
public void setLocOfTheWSDLFile(java.lang.String location_WSDL)
location_WSDL
- public java.lang.String getInvokeType()
ServiceInvocation
getInvokeType
in class ServiceInvocation
ServiceInvocation.getInvokeType()
|
IBM Branch Transformation Toolkit Javadoc | ||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |