IBM Branch Transformation Toolkit Javadoc

com.ibm.btt.formatter.client
Class CHAFormatterServiceWSIFEjbProxy

java.lang.Object
  extended bycom.ibm.btt.formatter.client.CHAFormatterServiceWSIFEjbProxy
All Implemented Interfaces:
CHAFormatterServiceProxy

public class CHAFormatterServiceWSIFEjbProxy
extends java.lang.Object
implements CHAFormatterServiceProxy

This class is generated by WSAD according to CHAFormatterServiceEJBService.wsdl and

uses WSIF EJB binding to get remote CHAformatterService instance.


Constructor Summary
CHAFormatterServiceWSIFEjbProxy()
          The constructor gets WSDL path and generates a WSIFService instance.
 
Method Summary
 org.apache.wsif.WSIFMessage execute(java.lang.String operationName, java.lang.String inputName, java.lang.String outputName, org.apache.wsif.WSIFMessage aMessage, int operationType)
          execute (base message-level execution)
 java.lang.String format(Context argAContext, java.lang.String argAFormatName)
          Formats a context by a given format.
 java.lang.String format(DataElement argDataElement, java.lang.String argAFormatName)
          Formats a data element by a given format.
 java.util.Map formatHashtable(Context argAContext, java.lang.String argAFormatName)
          Formats a context by a given hashtable format.
 java.util.Map formatHashtable(KeyedCollection argAKeyedCollection, java.lang.String argAFormatName)
          Formats a KeyedCollection by a given hashtable format
 org.apache.wsif.WSIFPort getPort()
          Get sWSIF port
 org.apache.wsif.WSIFService getService()
          Returns a WSIF service instance.
 java.util.List mapContents(Context argInputContext, Context argOutputContext, java.lang.String argAFormatName)
          Maps the contents of a context into another context.
 void setPort(org.apache.wsif.WSIFPort newPort)
          Sets port number.
 void setService(org.apache.wsif.WSIFService newService)
          Sets a WSIF service.
 java.util.List unformat(java.lang.String argAString, Context argAContext, java.lang.String argAFormatName)
          Unformats a context by a given format.
 java.util.List unformat(java.lang.String argAString, DataElement argADataElement, java.lang.String argAFormatName)
          Unformats a data element by a given format.
 java.util.List unformatHashtable(java.util.Map argAHashtable, Context argAContext, java.lang.String argAFormatName)
          Unformats a context by a given hashtable format.
 java.util.List unformatHashtable(java.util.Map argAHashtable, KeyedCollection argAKeyedCollection, java.lang.String argAFormatName)
          Unformats a KeyedCollection by a given hashtable format.
 java.util.List unformatIndexedCollection(java.util.List argAVector, Context argContext, java.lang.String argAFormatName)
          Unformats a context by a given hashtable IndexedCollection format.
 java.util.List unformatIndexedCollection(java.util.List argAVector, IndexedCollection argAnIndexedCollection, java.lang.String argAFormatName)
          Unformats an IndexedCollection by a given hashtable IndexedCollection format.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

CHAFormatterServiceWSIFEjbProxy

public CHAFormatterServiceWSIFEjbProxy()
                                throws org.apache.wsif.WSIFException
The constructor gets WSDL path and generates a WSIFService instance.

Method Detail

getPort

public org.apache.wsif.WSIFPort getPort()
Get sWSIF port

Returns:
WSIFPort

setPort

public void setPort(org.apache.wsif.WSIFPort newPort)
Sets port number.

Parameters:
newPort - org.apache.wsif.WSIFPort

getService

public org.apache.wsif.WSIFService getService()
Returns a WSIF service instance.

Returns:
org.apache.wsif.WSIFService

setService

public void setService(org.apache.wsif.WSIFService newService)
Sets a WSIF service.

Parameters:
newService - org.apache.wsif.WSIFService

format

public java.lang.String format(DataElement argDataElement,
                               java.lang.String argAFormatName)
                        throws DSEException,
                               org.apache.wsif.WSIFException
Formats a data element by a given format.

Specified by:
format in interface CHAFormatterServiceProxy
Parameters:
argDataElement - com.ibm.btt.base.DataElement
argAFormatName - java.lang.String
Returns:
java.lang.String
Throws:
DSEException
org.apache.wsif.WSIFException

format

public java.lang.String format(Context argAContext,
                               java.lang.String argAFormatName)
                        throws DSEException,
                               org.apache.wsif.WSIFException
Formats a context by a given format.

Specified by:
format in interface CHAFormatterServiceProxy
Parameters:
argAContext - com.ibm.btt.base.Context
argAFormatName - java.lang.String
Returns:
java.lang.String
Throws:
DSEException
org.apache.wsif.WSIFException

formatHashtable

public java.util.Map formatHashtable(Context argAContext,
                                     java.lang.String argAFormatName)
                              throws DSEException,
                                     org.apache.wsif.WSIFException
Formats a context by a given hashtable format.

Specified by:
formatHashtable in interface CHAFormatterServiceProxy
Parameters:
argAContext - com.ibm.btt.base.aContext
argAFormatName - java.lang.String
Returns:
java.util.Map
Throws:
DSEException
org.apache.wsif.WSIFException

formatHashtable

public java.util.Map formatHashtable(KeyedCollection argAKeyedCollection,
                                     java.lang.String argAFormatName)
                              throws DSEException,
                                     org.apache.wsif.WSIFException
Formats a KeyedCollection by a given hashtable format

Specified by:
formatHashtable in interface CHAFormatterServiceProxy
Parameters:
argAKeyedCollection - com.ibm.btt.base.KeyedCollection
argAFormatName - java.lang.String
Returns:
java.util.Map
Throws:
DSEException
org.apache.wsif.WSIFException

mapContents

public java.util.List mapContents(Context argInputContext,
                                  Context argOutputContext,
                                  java.lang.String argAFormatName)
                           throws DSEException,
                                  org.apache.wsif.WSIFException
Maps the contents of a context into another context.

Specified by:
mapContents in interface CHAFormatterServiceProxy
Parameters:
argInputContext - com.ibm.btt.base.Context
argOutputContext - java.lang.String
argAFormatName - java.lang.String
Returns:
java.util.List
Throws:
DSEException
org.apache.wsif.WSIFException

unformat

public java.util.List unformat(java.lang.String argAString,
                               DataElement argADataElement,
                               java.lang.String argAFormatName)
                        throws DSEException,
                               org.apache.wsif.WSIFException
Unformats a data element by a given format.

Specified by:
unformat in interface CHAFormatterServiceProxy
Parameters:
argADataElement - com.ibm.btt.base.DataElement
argAString - java.lang.String
argAFormatName - java.lang.String
Returns:
java.util.List
Throws:
DSEException
org.apache.wsif.WSIFException

unformat

public java.util.List unformat(java.lang.String argAString,
                               Context argAContext,
                               java.lang.String argAFormatName)
                        throws DSEException,
                               org.apache.wsif.WSIFException
Unformats a context by a given format.

Specified by:
unformat in interface CHAFormatterServiceProxy
Parameters:
argAContext - com.ibm.btt.base.Context
argAString - java.lang.String
argAFormatName - java.lang.String
Returns:
java.util.List
Throws:
DSEException
org.apache.wsif.WSIFException

unformatHashtable

public java.util.List unformatHashtable(java.util.Map argAHashtable,
                                        Context argAContext,
                                        java.lang.String argAFormatName)
                                 throws DSEException,
                                        org.apache.wsif.WSIFException
Unformats a context by a given hashtable format.

Specified by:
unformatHashtable in interface CHAFormatterServiceProxy
Parameters:
argAContext - com.ibm.btt.base.Context
argAHashtable - java.util.Map
argAFormatName - java.lang.String
Returns:
java.util.List
Throws:
DSEException
org.apache.wsif.WSIFException

unformatHashtable

public java.util.List unformatHashtable(java.util.Map argAHashtable,
                                        KeyedCollection argAKeyedCollection,
                                        java.lang.String argAFormatName)
                                 throws DSEException,
                                        org.apache.wsif.WSIFException
Unformats a KeyedCollection by a given hashtable format.

Specified by:
unformatHashtable in interface CHAFormatterServiceProxy
Parameters:
argAKeyedCollection - com.ibm.btt.base.KeyedCollection
argAHashtable - com.ibm.btt.base.Hashtable
argAFormatName - java.lang.String
Returns:
java.util.List
Throws:
DSEException
org.apache.wsif.WSIFException

unformatIndexedCollection

public java.util.List unformatIndexedCollection(java.util.List argAVector,
                                                Context argContext,
                                                java.lang.String argAFormatName)
                                         throws DSEException,
                                                java.io.IOException,
                                                org.apache.wsif.WSIFException
Unformats a context by a given hashtable IndexedCollection format.

Specified by:
unformatIndexedCollection in interface CHAFormatterServiceProxy
Parameters:
argContext - com.ibm.btt.base.Context
argAVector - java.util.List
argAFormatName - java.lang.String
Returns:
java.util.List
Throws:
DSEException
org.apache.wsif.WSIFException
java.io.IOException

unformatIndexedCollection

public java.util.List unformatIndexedCollection(java.util.List argAVector,
                                                IndexedCollection argAnIndexedCollection,
                                                java.lang.String argAFormatName)
                                         throws DSEException,
                                                java.io.IOException,
                                                org.apache.wsif.WSIFException
Unformats an IndexedCollection by a given hashtable IndexedCollection format.

Specified by:
unformatIndexedCollection in interface CHAFormatterServiceProxy
Parameters:
argAnIndexedCollection - com.ibm.btt.base.IndexedCollection
argAVector - java.util.List
argAFormatName - java.lang.String
Returns:
java.util.List
Throws:
DSEException
org.apache.wsif.WSIFException
java.io.IOException

execute

public 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
execute (base message-level execution)

Parameters:
operationName - java.lang.String
inputName - java.lang.String
outputName - java.lang.String
aMessage - org.apahce.wsif.WSIFMessage
Throws:
java.util.Exception
org.apache.wsif.WSIFException
java.lang.Exception

IBM Branch Transformation Toolkit Javadoc

(c) Copyright IBM Corporation 1998, 2005