|
|||||||||||
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.AxisSoapToJava
public class AxisSoapToJava
The Axis Soap-to-Java 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 FC uses Axis' mechanism for parsing SOAP response (when on the client) or SOAP request (when on the server) to Java objects - as a complementary component to the AxisJavaToSoap FC. It is given a SOAP response/request message and returns the parsed Java objects either as standalone Java object(s) or capsulated in an Entry object.This component supports both RPC and Document style.
Field Summary | |
---|---|
static String |
INPUT_XML_DOM
The name of the returnXMLType attribute when DOMElement is chosen |
static String |
INPUT_XML_STRING
The name of the returnXMLType attribute when String is chosen |
static String |
MODE_REQUEST
The value of the request mode |
static String |
MODE_RESPONSE
The value of the response attribute |
static String |
PARAM_COMPLEX_TYPES
The list of fully qualified Java classes generated by WSDL2Java from the WSDL file |
static String |
PARAM_INPUT_TYPE
specifies the input type |
static String |
PARAM_MODE
specifies whether this Function Component handles a SOAP request or a SOAP response |
static String |
PARAM_SOAP_OPERATION
The name of the SOAP operation as described in the WSDL file |
static String |
PARAM_WSDL_URL
The WSDL URL parameter |
Fields inherited from class com.ibm.di.fc.Function |
---|
logger |
Constructor Summary | |
---|---|
AxisSoapToJava()
|
Method Summary | |
---|---|
String |
getVersion()
Version information. |
void |
initialize(Object obj)
Initializes the function component by using the parameters in the Config Tab. |
Object |
perform(Object obj)
Parses a SOAP message and turns it into a Java Object If this FC is passed a SOAP Fault message to parse, this FC returns a Java object of type org.apache.axis.AxisFault. |
void |
registerTypeMapping(Class javaType,
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 String PARAM_WSDL_URL
public static final String PARAM_SOAP_OPERATION
public static final String PARAM_INPUT_TYPE
public static final String PARAM_COMPLEX_TYPES
public static final String PARAM_MODE
public static final String MODE_REQUEST
public static final String MODE_RESPONSE
public static final String INPUT_XML_STRING
public static final String INPUT_XML_DOM
Constructor Detail |
---|
public AxisSoapToJava()
Method Detail |
---|
public void initialize(Object obj) throws Exception
initialize
in interface FunctionInterface
initialize
in class Function
obj
- not used in this method
Exception
public Object perform(Object obj) throws Exception
obj
-
Exception
public void registerTypeMapping(Class javaType, 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 String getVersion()
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |