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 gd...@apache.org on 2003/08/12 06:18:30 UTC

cvs commit: xml-axis/java/src/org/apache/axis/handlers JWSHandler.java

gdaniels    2003/08/11 21:18:30

  Modified:    java/src/org/apache/axis/handlers JWSHandler.java
  Log:
  Remove unneeded (and potentially dangerous) code.
  
  Revision  Changes    Path
  1.35      +1 -9      xml-axis/java/src/org/apache/axis/handlers/JWSHandler.java
  
  Index: JWSHandler.java
  ===================================================================
  RCS file: /home/cvs/xml-axis/java/src/org/apache/axis/handlers/JWSHandler.java,v
  retrieving revision 1.34
  retrieving revision 1.35
  diff -u -r1.34 -r1.35
  --- JWSHandler.java	10 Aug 2003 00:57:30 -0000	1.34
  +++ JWSHandler.java	12 Aug 2003 04:18:30 -0000	1.35
  @@ -314,17 +314,9 @@
                   if (scope == null) scope = Scope.DEFAULT.getName();
                   rpc.setOption(RPCProvider.OPTION_SCOPE, scope);
                   
  -                // Set up service description
  -                ServiceDesc sd = rpc.getServiceDescription();
  -                
  -                TypeMappingRegistry tmr = msgContext.getAxisEngine().getTypeMappingRegistry();
  -                sd.setTypeMappingRegistry(tmr);
  -                sd.setTypeMapping(msgContext.getTypeMapping());
  -                
                   rpc.getInitializedServiceDesc(msgContext);
                   
  -                soapServices.put(clsName, rpc);
  -                
  +                soapServices.put(clsName, rpc);                
               }
               
               // Set engine, which hooks up type mappings.