axis-java-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From ru...@apache.org
Subject cvs commit: xml-axis/java/test/RPCDispatch TestRPC.java
Date Tue, 22 May 2001 11:22:53 GMT
rubys       01/05/22 04:22:52

  Modified:    java/test/RPCDispatch TestRPC.java
  Log:
  Typemapping registry not required for an RPCDispatch unit test
  
  Revision  Changes    Path
  1.3       +0 -10     xml-axis/java/test/RPCDispatch/TestRPC.java
  
  Index: TestRPC.java
  ===================================================================
  RCS file: /home/cvs/xml-axis/java/test/RPCDispatch/TestRPC.java,v
  retrieving revision 1.2
  retrieving revision 1.3
  diff -u -r1.2 -r1.3
  --- TestRPC.java	2001/05/22 00:07:49	1.2
  +++ TestRPC.java	2001/05/22 11:22:46	1.3
  @@ -4,11 +4,9 @@
   
   import org.apache.axis.*;
   import org.apache.axis.handlers.soap.*;
  -import org.apache.axis.encoding.*;
   import org.apache.axis.message.*;
   import org.apache.axis.server.*;
   import org.apache.axis.registries.*;
  -import org.apache.axis.utils.*;
   
   import java.util.Vector;
   
  @@ -35,7 +33,6 @@
       private AxisServer engine = new AxisServer();
       private HandlerRegistry hr;
       private Handler RPCDispatcher;
  -    private TypeMappingRegistry tmr;
   
       private String SOAPAction = "urn:reverse";
       private String methodNS   = null;
  @@ -44,7 +41,6 @@
           super(name);
           engine.init();
           hr = (HandlerRegistry) engine.getOption(Constants.HANDLER_REGISTRY);
  -        tmr = (TypeMappingRegistry)engine.getOption(Constants.TYPEMAP_REGISTRY);
           RPCDispatcher = hr.find("RPCDispatcher");
           // Debug.setDebugLevel(5);
       }
  @@ -120,12 +116,6 @@
           reverse.addOption("className", "test.RPCDispatch.Service");
           reverse.addOption("methodName", "reverseData");
           hr.add(SOAPAction, reverse);
  -
  -        // register the Data class
  -        QName qn = new QName("http://xml.apache.org/Axis", "TestRPC");
  -        Class cls = Data.class;
  -        tmr.addSerializer(cls, qn, new BeanSerializer(cls));
  -        tmr.addDeserializerFactory(qn, cls, BeanSerializer.getFactory(cls));
   
           // invoke the service and verify the result
           Data input    = new Data(5, "abc", 3);
  
  
  

Mime
View raw message