You are viewing a plain text version of this content. The canonical link for it is here.
Posted to java-dev@axis.apache.org by ru...@apache.org on 2001/06/14 01:21:47 UTC
cvs commit: xml-axis/java/src/org/apache/axis/message RPCElement.java
rubys 01/06/13 16:21:46
Modified: java/src/org/apache/axis/message RPCElement.java
Log:
Now that per-message-context typemaps are no more, remove the code which
attempts to update it.
Revision Changes Path
1.11 +0 -9 xml-axis/java/src/org/apache/axis/message/RPCElement.java
Index: RPCElement.java
===================================================================
RCS file: /home/cvs/xml-axis/java/src/org/apache/axis/message/RPCElement.java,v
retrieving revision 1.10
retrieving revision 1.11
diff -u -r1.10 -r1.11
--- RPCElement.java 2001/05/11 20:27:41 1.10
+++ RPCElement.java 2001/06/13 23:21:46 1.11
@@ -147,7 +147,6 @@
if (service == null) return;
String clsName = (String) service.getOption( "className" );
- String typemap = (String) service.getOption( "typemap" );
try {
AxisClassLoader cl = msgContext.getClassLoader();
@@ -159,14 +158,6 @@
// decisions about what deserializers to use for parameters
Method method = jc.getMethod(methodName, -1);
if (method != null) defaultParamTypes = method.getParameterTypes();
-
- // if a method is registered for defining typemaps, invoke it
- if (typemap != null) {
- Method typemapMethod = jc.getMethod(typemap, 1);
- Object obj = cls.newInstance();
- typemapMethod.invoke(obj,
- new Object[] {msgContext.getTypeMappingRegistry()});
- }
// in the future, we should add support for runtime information
// from sources like WSDL, based on Handler.getDeploymentData();