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 sc...@apache.org on 2002/08/21 22:27:58 UTC

cvs commit: xml-axis/java/src/org/apache/axis/providers/java RPCProvider.java

scheu       2002/08/21 13:27:57

  Modified:    java/src/org/apache/axis/providers/java RPCProvider.java
  Log:
  Removed the check per the Axis chat discussion with Glen.
  
  Revision  Changes    Path
  1.89      +0 -18     xml-axis/java/src/org/apache/axis/providers/java/RPCProvider.java
  
  Index: RPCProvider.java
  ===================================================================
  RCS file: /home/cvs/xml-axis/java/src/org/apache/axis/providers/java/RPCProvider.java,v
  retrieving revision 1.88
  retrieving revision 1.89
  diff -u -r1.88 -r1.89
  --- RPCProvider.java	21 Aug 2002 03:36:33 -0000	1.88
  +++ RPCProvider.java	21 Aug 2002 20:27:57 -0000	1.89
  @@ -57,7 +57,6 @@
   
   import org.apache.axis.AxisFault;
   import org.apache.axis.Constants;
  -import org.apache.axis.InternalException;
   import org.apache.axis.MessageContext;
   import org.apache.axis.attachments.MimeMultipartDataSource;
   import org.apache.axis.attachments.PlainTextDataSource;
  @@ -124,23 +123,6 @@
           ServiceDesc serviceDesc = service.getServiceDescription();
           OperationDesc operation = msgContext.getOperation();
           
  -        // Assert that the operation is in the serviceDesc
  -        if (serviceDesc != null && operation != null) {
  -            ArrayList list = serviceDesc.getOperations();
  -            boolean found = false;
  -            int length = list.size();
  -            for (int i=0; i < length && !found; i++) {
  -                if (list.get(i) == operation) {
  -                    found = true;
  -                }
  -            }
  -            if (!found) {
  -                throw new InternalException(
  -                    JavaUtils.getMessage("rpcProviderOperAssert00", 
  -                                         operation.getName()));
  -            }
  -        }
  -
           Vector          bodies = reqEnv.getBodyElements();
           if (log.isDebugEnabled()) {
               log.debug(JavaUtils.getMessage("bodyElems00", "" + bodies.size()));