|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.ibm.di.fc.Function
com.ibm.di.fc.webservice.AxisJavaToSoap
public class AxisJavaToSoap
The Axis Java-to-Soap Function Component (FC) is part of the TDI Web Services suite. This component can be used both on the web service client and on the web service server side. This component receives an Entry or a Java object and produces the SOAP request (when on the client) or response (when on the server) message. It will provide the whole SOAP message, as well as separately the SOAP Header and the SOAP Body to facilitate processing and customization.The component supports both RPC and Document style.
Field Summary | |
---|---|
static java.lang.String |
MODE_REQUEST
The value of the request mode |
static java.lang.String |
MODE_RESPONSE
The value of the response attribute |
static java.lang.String |
PARAM_COMPLEX_TYPES
The list of fully qualified Java classes generated by WSDL2Java from the WSDL file |
static java.lang.String |
PARAM_MODE
specifies whether this Function Component handles a SOAP request or a SOAP response |
static java.lang.String |
PARAM_OPERATION_PARAM_LIST
The list of ordered SOAP operation parameter names |
static java.lang.String |
PARAM_RETURN_XML_TYPE
The XML return type - DOMElement or String |
static java.lang.String |
PARAM_SOAP_OPERATION
The name of the SOAP operation as described in the WSDL file |
static java.lang.String |
PARAM_USE_MULTI_REFS
If checked the generated SOAP message will use multi-refs. |
static java.lang.String |
PARAM_WSDL_URL
The WSDL URL parameter |
static java.lang.String |
RETURN_XML_DOM
The name of the returnXMLType attribute when DOMElement is chosen |
static java.lang.String |
RETURN_XML_STRING
The name of the returnXMLType attribute when String is chosen |
Fields inherited from class com.ibm.di.fc.Function |
---|
logger |
Constructor Summary | |
---|---|
AxisJavaToSoap()
|
Method Summary | |
---|---|
java.lang.String |
getVersion()
Version information. |
void |
initialize(java.lang.Object obj)
Initializes the function component by using the parameters in the Config Tab. |
java.lang.Object |
perform(java.lang.Object obj)
Generates a SOAP message from the given Java code. |
void |
registerTypeMapping(java.lang.Class javaType,
javax.xml.namespace.QName xmlType,
org.apache.axis.encoding.SerializerFactory serializerFactory,
org.apache.axis.encoding.DeserializerFactory deserializerFactory)
This method is analogous to the 'registerTypeMapping' method in org.apache.axis.client.Call. |
Methods inherited from class com.ibm.di.fc.Function |
---|
debug, getConfiguration, getContext, getDebug, getLog, getParam, getRSInterface, getUI, initialize, logmsg, querySchema, setConfiguration, setContext, setDebug, setLog, setParam, setRSInterface, terminate, updateSchema, verifyInitialized |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
public static final java.lang.String PARAM_WSDL_URL
public static final java.lang.String PARAM_SOAP_OPERATION
public static final java.lang.String PARAM_RETURN_XML_TYPE
public static final java.lang.String PARAM_COMPLEX_TYPES
public static final java.lang.String PARAM_MODE
public static final java.lang.String PARAM_OPERATION_PARAM_LIST
public static final java.lang.String PARAM_USE_MULTI_REFS
public static final java.lang.String MODE_REQUEST
public static final java.lang.String MODE_RESPONSE
public static final java.lang.String RETURN_XML_STRING
public static final java.lang.String RETURN_XML_DOM
Constructor Detail |
---|
public AxisJavaToSoap()
Method Detail |
---|
public void initialize(java.lang.Object obj) throws java.lang.Exception
initialize
in interface FunctionInterface
initialize
in class Function
obj
- not used in this method
java.lang.Exception
- An exception is thrown if the initialization fails.public java.lang.Object perform(java.lang.Object obj) throws java.lang.Exception
obj
-
java.lang.Exception
public void registerTypeMapping(java.lang.Class javaType, javax.xml.namespace.QName xmlType, org.apache.axis.encoding.SerializerFactory serializerFactory, org.apache.axis.encoding.DeserializerFactory deserializerFactory)
javaType
- java type to handlexmlType
- XML mappingserializerFactory
- a factory of the serializersdeserializerFactory
- a factory of deserializerspublic java.lang.String getVersion()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |